omz:forum

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

    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 6
    • Posts 17
    • Best 0
    • Controversial 0
    • Groups 0

    jimwims

    @jimwims

    0
    Reputation
    799
    Profile views
    17
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jimwims Unfollow Follow

    Latest posts made by jimwims

    • RE: Question on auto-rotation in ui.view

      Thank you! This solved the problem. The orientations parameter does appear to be necessary.

      posted in Pythonista
      jimwims
      jimwims
    • Question on auto-rotation in ui.view

      I am writing a script for my iPhone using the ui module. I want the view to display in only the portrait orientation and not auto-rotate. I have been using the script in the "Getting Started" documentation to figure out how to do that. From the description of the present() method, I thought changing the last line in that script from "view.present('screen')" to either "view.present('portrait')" or "view.present('full_screen', 'portrait')" would work. Neither did the trick. Any suggestions on how to do this would be appreciated.

      Jim

      posted in Pythonista
      jimwims
      jimwims
    • RE: Trouble Setting Default Version in Pythonista 3

      @cvp Great!! Thanks for your help.

      Jim

      posted in Pythonista
      jimwims
      jimwims
    • Trouble Setting Default Version in Pythonista 3

      I have written a few simple scripts in Pythonista (original) which I use frequently on my IPhone 5s running iOS 9.3.2.. I have just upgraded to Pythonista 3 and want to set the default version to 2.7. The documentation says this can be done in the settings. I assume this refers to the Apple settings app, but Python 3 does not show up there. (Pythonista did.) I have also tried using the shebang method described in the documentation by adding "#1 python2" (but no quotes) as the first line to the scripts. When I try to running the scrips, I get formatting error messages. Do anyone have any suggestions of where I may have gone astray? (All is not lost -- the scripts do run using the tap and hold the run button and select 2.7 method.)

      Jim

      posted in Pythonista
      jimwims
      jimwims
    • RE: Year One

      My thoughts exactly. Can't wait to see the application progress. Thanks very much.

      posted in Pythonista
      jimwims
      jimwims
    • Orientation Problem in 1.2

      I wrote a script in version 1.1 which used "orientation = PORTRAIT" to run a scene locked in portrait mode. This no longer works when I run the script in 1.2. What am I doing wrong?

      posted in Pythonista
      jimwims
      jimwims
    • RE: Question about photos.get_image

      Success! Thanks for your patience.

      posted in Pythonista
      jimwims
      jimwims
    • Question about photos.get_image

      I have a script which uses photos.get_image multiple times with the index numbers hard coded into the script. A problem is that when lower numbered photos are subsequently deleted from the camera roll, the index numbers for the photos I want are changed so I have to change the script. Is there a way around this?

      Tnx, Jim

      posted in Pythonista
      jimwims
      jimwims
    • RE: Question about photos.get_image

      Yes. I did that. But I can't display them using image(). I tried using load_pll_image to load the saved photo followed by image(...) to display it, but get an error message that only RGBA is supported by load_pll_ image. Tnx.

      posted in Pythonista
      jimwims
      jimwims
    • RE: Question about photos.get_image

      Thanks for this, but I'm not sure I understand. My goal is to avoid using photos.get_Image() and its use of the camera roll index number.

      posted in Pythonista
      jimwims
      jimwims