• fcrespo82222

    I've added editor.reload_files() to the script because when it creates files in pythonista my list qas not being updated unless I've ordered again or closed and opened the app.

    https://gist.github.com/fernando82/5225002

    posted in Pythonista read more
  • fcrespo82222

    Awesome, my sms script will be easier to implement!!

    posted in Pythonista read more
  • fcrespo82222

    Source: https://gist.github.com/4162427
    Simple script to open the SMS compose screen (it plays well with Launch Center Pro)

    Use it as a custom URL action:

    pythonista://simplesms?action=run&args='tel={tel}&body={msg}'
    Where {tel}: Phone to send SMS
    {body}: Message to send

    Warning: As the iOS doesn't allow to send SMS directly, the script will open the compose screen

    Warning 2: iOS doesn't support the message to be passed by url scheme only programmaticaly, so when the SMS screen is opeoned you will have to paste the clipboard contents to the SMS itself.

    Hey developers, it is possible for a future version include some python binding for the objective-c code below to make it possible prepopulate the text os the SMS

    MFMessageComposeViewController *picker = [[MFMessageComposeViewController alloc] init];
    picker.messageComposeDelegate = self;

    picker.recipients = [NSArray arrayWithObject:@"48151623"];
    picker.body = @"Body text.";

    [self presentModalViewController:picker animated:YES];
    [picker release];

    posted in Pythonista read more
  • fcrespo82222

    I've made a lot of changes.

    Now you must run the program with args:

    usage: simplesms.py generate_url [-h] telephone message

    positional arguments:
    telephone phone number to send sms
    message message to send

    usage: simplesms.py run [-h] pythonista_args

    positional arguments:
    pythonista_args pythonista args part, spaces replaced with + then quoted

    posted in Pythonista read more
  • fcrespo82222

    I'm happy with your answer. Seeing that the app is in constant development is awesome. Could you give a time frame for the next version? Just "a few days" or "couple of months" will suffice.

    posted in Pythonista read more
  • fcrespo82222

    Hi guys, this is my first attempt to make a useful script in python.

    I've made a script to use your dropbox account using the "app_folder" permission to upload and download scripts from dropbox.
    https://gist.github.com/4137305

    Any help on how to improve it will be very welcome!

    Hope you enjoy it.

    posted in Pythonista read more
  • fcrespo82222

    Yep, you're right.

    Nonetheless, I'll continue to improve my, for the sake of learning.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!