move caret to original position
-
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?
-
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.
-
You could probably repurpose this workflow from MacStories. Basically, save the caret position into a variable then moving it back.
-
Yes, that is a solution! Thank you, john
-
I so needed something like this. I am going to modify it to add footnotes much quicker! Thanks for the link.