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.


    move caret to original position

    Editorial
    3
    5
    2914
    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.
    • jaganat
      jaganat last edited by

      In a workflow to move an action to another project in a .taskpaper file, how do I do to make the caret return to the original position (the line where the action was) once the task is moved?

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

        I am working on a solution to that right now. As a tip, I am using my workflow called "Length of" to move the caret backwards by the length of a word. I am also using a "Find" action and a regular expression to find where to place the caret.

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

          You could probably repurpose this workflow from MacStories. Basically, save the caret position into a variable then moving it back.

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

            Yes, that is a solution! Thank you, john

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

              I so needed something like this. I am going to modify it to add footnotes much quicker! Thanks for the link.

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