This is a Keyboard Maestro macro group for calling up actions on selected tbx notes.
Set it up
- Unzip the file.
- Place the
List of Commands.txtfile at a location where it will spend the remaining of its days.
- Open the macro and head to the
01) Read this firstmacro.
- Type the location of the text file where the commands will be stored. (There is an example provided).
- Change the shortcut of
02) Tbx Commander.
- You’re set.
How to use
The macro works very much like a stamp.
- Select the notes it should act on.
- Type the shortcut.
- Choose an action
The following options are already built-in:
- Add new command.
- Edit command list.
The add new command option with call up a dialog for you to type the command. If you wish to save it for later use, give it a name/description in the next dialog box. It will then run the command.
The actions are stored in a plain text file, one command per line followed by
__ (two underlines) and a brief explanation without any linebreaks. Here is an example:
£££__Edit file with commands ¢¢¢__Edit file with notes $DisplayExpression='$Name+" ("+$ChildCount+")"';__Display Expression:title & child count $Name = $Name.replace("\n","");__Fix text:\n in name var theText; theText = $Text; $Text = theText.replace("\n\n\n","\n\n");__Fix text:3 linebreaks → 2 linebreaks $Name = $Name.lowercase__Fix text:Make title lowercase
File: Tinderbox Commander.zip (34.2 KB)
Keep in mind that this is a macro for running actions that may damage your notes and files.
Test it out in dummy files first and remember that you cannot ⌘z your way out of changes made by scripts!
Hope this is useful!