omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. RainmanNoodles

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 21
    • Best 0
    • Controversial 0
    • Groups 0

    RainmanNoodles

    @RainmanNoodles

    0
    Reputation
    878
    Profile views
    21
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    RainmanNoodles Unfollow Follow

    Latest posts made by RainmanNoodles

    • RE: Local scripts cannot be accessed via Files app/document picker

      Looks like this still hasn't been addressed. The "On My iPad/Pythonista 3" folder appears to be completely disconnected from the app. This needs to be fixed for Git via Working Copy to be viable.

      Any updates from the developer on this bug?

      posted in Pythonista
      RainmanNoodles
      RainmanNoodles
    • RE: Today Widget

      I see, so there's no way to have the Today widget trigger a background task without the memory limit?

      I guess the limit makes sense, if you had lots of Today widgets that used a bunch of memory you could have all sorts of problems.

      posted in Pythonista
      RainmanNoodles
      RainmanNoodles
    • RE: Today Widget

      Any confirmation of whether or not this feature is planned?

      posted in Pythonista
      RainmanNoodles
      RainmanNoodles
    • RE: TestFlight expanded

      I would be interested in getting in on the beta as well. I do use Pythonista pretty extensively. ;)

      posted in Pythonista
      RainmanNoodles
      RainmanNoodles
    • Today Widget

      Wondering if there's any plan to include a Today widget. I've seen it mentioned before but most people overlook one of the main advantages.

      With a Today widget, it would (theoretically) be possible to run a script without needing to open the app at all, and even without unlocking the device. Currently, there are several ways to run scripts via URLs, Workflow, etc. but they all require you to switch to the app and unlock the device if it's locked. With a Today widget, I could pull down, trigger a background script, get a notification (or a status indicator in the Today widget) when it had finished, and be on my way much faster. I have several plans for scripts that I really want to be able to trigger from the lock screen, and this would allow me to do that.

      posted in Pythonista
      RainmanNoodles
      RainmanNoodles
    • RE: Action "Request Text Input" to open keyboard

      I think this is similar to a problem I have with Pythonista. It's probably common code between both apps.

      posted in Editorial
      RainmanNoodles
      RainmanNoodles
    • Choose From List Function

      I'm not sure if I'm just missing something, but I can't find a built-in choose from list function. There's an Editorial workflow action for this, but I'd like to be able to use it in a Pythonista script. I would assume it would be in the console library.

      I could always build a completely custom UI, but this is something that would be great to have built-in.

      posted in Pythonista
      RainmanNoodles
      RainmanNoodles
    • RE: Choose From List Function

      From another answer to another question, it looks like it has just that. Dang it, now I really want the beta. :)

      posted in Pythonista
      RainmanNoodles
      RainmanNoodles
    • RE: Pythonista for Python 3.x.

      I mostly agree with @roosterboy - the preferred version for Pythonista should be what's included in the latest version of OS X. On the other hand, Python 3 is going to become more popular as time goes on, and eventually when we switch, a lot of things are going to break.

      @omz, you mentioned you can't include two versions - is this an Apple limitation?

      Here's what I'd like to see in the ideal case. First of all, Python 3 support should be a major paid release. That's a lot of work and you deserve the support. ;) I'd also be perfectly happy waiting for P3 support until Apple makes it the default. When you do, assuming it's possible to have both versions, include P3 and make it the default interpreter, but allow files to have a special comment that, included as the first line of the script, will make it use Python 2.x. You could even add that line to each file as part of the upgrade process, then warn users that new Python 3.x scripts won't be compatible with the old ones.

      Most importantly, don't worry about moving along too quickly. I'd rather have an older, stable Pythonista than an unstable version with the newest language features. ;)

      posted in Pythonista
      RainmanNoodles
      RainmanNoodles
    • RE: A "Post to Forums" workflow for Editorial/Pythonista?

      Okay, I've figured it out, for now at least. And it doesn't need the clipboard! First, download this Editorial workflow. The workflow sends the content to the forum page; make sure you're logged into the forums in Safari. Now, you need the JavaScript bookmarklet. Create any bookmark and then edit it. Copy and paste the following code into the bookmark's URL field:

      javascript:var urls = window.location.href.split('?'); if (urls.length > 1) { var params = urls[1].split('&'); for (x=0; x<params.length; x++) {var p = params[x].split('='); if (p.length == 2) {if (p[0] == 'omztitle') {var title=decodeURIComponent(p[1]); var titlebox=document.getElementsByName('title')[0]; titlebox.value=title;} else if (p[0] == 'omzcontent') {var content=decodeURIComponent(p[1]); var contentbox = document.getElementById('wmd-input'); contentbox.value=content}}}}
      

      (Make sure to get the entire line - it's a long one.) You can also drag <a href="javascript:var urls = window.location.href.split('?'); if (urls.length > 1) { var params = urls[1].split('&'); for (x=0; x<params.length; x++) {var p = params[x].split('='); if (p.length == 2) {if (p[0] == 'omztitle') {var title=decodeURIComponent(p[1]); var titlebox=document.getElementsByName('title')[0]; titlebox.value=title;} else if (p[0] == 'omzcontent') {var content=decodeURIComponent(p[1]); var contentbox = document.getElementById('wmd-input'); contentbox.value=content}}}}">THIS LINK</a> to your Bookmarks from the desktop version of Safari and sync it over - it's easier.

      Then, to post, just name your file with the desired title and type out your post. Trigger the workflow and wait for the page to load. Then, run the bookmark and you should see your content filled out.

      If we can get that JavaScript added to the forum website, the workflow will work without the bookmarklet. ;)

      posted in Editorial
      RainmanNoodles
      RainmanNoodles