omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Outliner with drag/drop reordering - part 2

    Pythonista
    9
    589
    180502
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cvp
      cvp @ihf last edited by

      @ihf Could you try to copy a text of some short lines, I think the problem comes from very long lines

      1 Reply Last reply Reply Quote 0
      • ihf
        ihf last edited by

        @cvp It worked and displayed the Paste option with a few words and ...although it added 4 extra blank outline elements after the text.

        cvp 1 Reply Last reply Reply Quote 0
        • cvp
          cvp @ihf last edited by cvp

          @ihf said

          although it added 4 extra blank outline elements after the text.

          Don't understand. Do you mean that you did not copy some lines that are pasted?

          I'll shorten to max 20 characters the first copied line in the menu but I'll paste all full copied lines

          1 Reply Last reply Reply Quote 0
          • ihf
            ihf last edited by

            @cvp It worked fine when I copied several shorter lines (the extra lines were actually in the copied text so that is not a bug). I guess the problem is that when the lines are long it ruins the menu display.

            cvp 1 Reply Last reply Reply Quote 0
            • cvp
              cvp @ihf last edited by

              @ihf see remark in edited previous post

              1 Reply Last reply Reply Quote 0
              • ihf
                ihf last edited by

                @cvp that would be great. I'll test it after you make the change.

                cvp 1 Reply Last reply Reply Quote 0
                • cvp
                  cvp @ihf last edited by

                  @ihf new V01.34 and outline.versions with

                  Version V01.34
                    - shorten to maximum 20 characters of the first copied line but paste
                      all full copied lines
                  
                  1 Reply Last reply Reply Quote 0
                  • ihf
                    ihf last edited by

                    @cvp C'est parfait! Merci!!

                    cvp 1 Reply Last reply Reply Quote 0
                    • ihf
                      ihf last edited by

                      @cvp I just noticed that if I go to Settings or Show only if Level, and touch Done, I get an AttributeError (no attribute close).
                      Unrelated, I may have forgotten, but is there a way to delete an outline from within the script or Do I use Files app to delete it?

                      cvp 2 Replies Last reply Reply Quote 0
                      • ihf
                        ihf last edited by

                        @cvp also got an IndexError when I went to menu and did Delete with Children.

                        cvp 3 Replies Last reply Reply Quote 0
                        • cvp
                          cvp @ihf last edited by cvp

                          @ihf said

                          just noticed that if I go to Settings or Show only if Level, and touch Done, I get an AttributeError (no attribute close).

                          😭never ending story

                          Édit: not for me, depends perhaps on what we did before, line number?

                          1 Reply Last reply Reply Quote 0
                          • cvp
                            cvp @ihf last edited by cvp

                            @ihf said

                            got an IndexError when I went to menu and did Delete with Children.

                            😭 never ending story bis

                            Édit: not for me, depends perhaps on what we did before, line number?

                            1 Reply Last reply Reply Quote 0
                            • cvp
                              cvp @ihf last edited by

                              @ihf said

                              is there a way to delete an outline from within the script or Do I use Files app to delete it?

                              Not foreseen in program, sorry

                              1 Reply Last reply Reply Quote 0
                              • cvp
                                cvp @ihf last edited by cvp

                                @ihf said

                                C'est parfait

                                Parfait is an adjective that I never could use for this full bugs script 😂

                                1 Reply Last reply Reply Quote 0
                                • cvp
                                  cvp @ihf last edited by

                                  @ihf I suppose that you don't use anymore on Apple Watch the shortcut to display outlines from the calendar events of 2022/01/01 because it does not work anymore. On Apple Watch the shortcut action to get a calendar event of the past does not work... Running the same shortcut on iPad/iPhone works. I could change the Pythonista script to store the outlines in calendar events in 2100 (far in the future) but you should need to manually move the existing events of 2022/01/01 to this future date.

                                  1 Reply Last reply Reply Quote 0
                                  • cvp
                                    cvp @ihf last edited by

                                    @ihf when I say "not for me" in my answers to your new bugs, I mean that I don't meet these problems and the difference could come from some process done just before.

                                    1 Reply Last reply Reply Quote 0
                                    • ihf
                                      ihf last edited by

                                      @cvp "not for me" equals the dreaded "works for me" (LOL).
                                      I would like to use the Watch to view my Outlines. When it stopped working on the watch, I resorted to the phone.

                                      cvp 1 Reply Last reply Reply Quote 0
                                      • cvp
                                        cvp @ihf last edited by

                                        @ihf said

                                        When it stopped working on the watch

                                        Did I forget or did you never tell me it stopped to work?

                                        1 Reply Last reply Reply Quote 0
                                        • ihf
                                          ihf last edited by

                                          @cvp I searched but couldn't find where (or if) I told you about it so it was probably my memory, not yours.

                                          cvp 2 Replies Last reply Reply Quote 0
                                          • cvp
                                            cvp @ihf last edited by cvp

                                            @ihf Anyway, do you agree if:

                                            1. I create a new version of script which will store future outlines on 01 January 2100 01:01:00
                                              but please no immédiate run before the run of the shortcut of point 2
                                            2. I create a shortcut to run only once before anything else
                                              The shortcut will move all existing outlines from 01 January 2022 to 01 January 2100
                                            3. I modify existing outlines shortcut, which runs on your Apple Watch, to display outlines of 01 January 2100

                                            If you agree, could you tell me how much outlines events you have at 01 January 2022

                                            If you agree, I'll do that tomorrow

                                            I have to test if Apple Watch shortcut agrees to get a so far event

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors