The workflow I am trying to achieve using JXA–
- Use TaskPaper to manage a task list (Tasks.txt) using tags like @now, @today, @1, @2, etc.).
- A Keyboard Maestro hotkey to toggle the visibility of a couple of new, separate Taskpaper windows that shows only the items that I want to see in each window (using TaskPaper’s built-in search terms). When I click the hotkey the next time, it closes the new windows and shows me only the original window.
Some of the issues I’m currently struggling with:
- in JXA, how to select, a specific Taskpaper Window (since I can have several open at the same time, all with the same name, ‘Tasks.txt’). How to close a specific window. How to hide a specific window.
- how to use JXA to manipulate the TaskPaper GUI so that I can hide the Sidebar
Would be happy to have any help with this. Thanks!