5/6/2023 0 Comments Textbar swift![]() ![]() The 'Evaluate Page for Math' script is for processing the entire note with a nice running result along the right. The 'Basic Math' script is for processing arbitrary pieces of math in a selection. The notepads now have scripts for processing math: the 'Basic Math' and 'Evaluate Page for Math' scripts. In the script editor, it will be expanded as a file with the extension of 'js'. In a notepad, it will be expaned as a file with an extension of 'md'. ![]() This will eventually have the option for other todo lists, but I haven't integrated it yet.Īlso, you can use TeaCode to expand snippets if you have it installed on your system. It currently opens the todos for NotePlan if you have that on your system. There is a new, larger circle on the far right. This gives the option to: show the about dialog, open the preferences (still being worked on), option to open a help document in your browser, open the regular expression editor, open the script editor, and install the scripts for Alfred, LaunchBar, Keyboard Maestro, and Dropzone. There is a hamburger menu at the lower left corner that will open the main menu when clicked. The script is expecting node to be at /usr/local/bin/node. The easiest way for that is by installing it with Homebrew. You have to have node.js installed on your system to run this script. The regular expressions saved will be stored in the ~/.notepad/.regexpjson file. Pressing -r will take you back out of the regular expressions editor. The editor will allow you to save the regular expressions with the Save button and perform all the substitutions with the Change All button. You can list the defined regular expressions with -m. You invoke the regular expression editor with -r. You can save your regular expressions and recall them by name given. It now has a Regular Expression editor that will show you the results of your regular expressions, color code the sub-matches (embedded sub-matches are not supported). See the section below for details on making scripts. Pressing Delete or -x will delete the script and give you a blank script. You can re-edit an existing user script by pressing -m (yes, I'm reusing the exact same code for the script menu in the notes page). ![]() You save the script by pressing the Save button or by pressing -s. Press it again, and you will be back to the notes. Press -e and you will be given the Script Editor. It also has a built-in Script Editor that you can use to create your own scripts. Let me know if there is a script you really need! If the insert flag is set, it will insert the text to the cursor location. If you don't select some text first, the script is applied to all the text in the current note. You can then use up and down arrows to select one.), and that script will be executed. It also has a search box to narrow down the selections. You can select some text, press -m, select the script from the menu that pops up (the menu is scrollable to see all the scripts. It has built-in scripts and user defined scripts that are kept in the file ~/.notepad/.scriptsjson. It will save the notes to a file in your home directory called ~/.notepad/.notesjson. This notepad application gives you 9 pages to switch back and forth for various notes. This is another example of using a node based web server to give information to the url view in TextBar. This one requires you have have node.js installed on your system. You can browse your directories and files in the webview. This is an example of using a simple node based web server to give information to the webview in TextBar. I use the Alfred Workflow My Editor Workflow to edit and add things to these files. Text name with a pipe symbal and then the path to the editor). These are in the files: ~/.m圜urrentFiles (one file per line of files you want to appear in the list), ~/.myeditorchoice (The current editor you have selected to use), and ~/.myeditors (List of editors you use. This script displays a list of often edited files and editors that you use. This is a port of the same script for BitBar. This script complements the Alfred ToDo Workflow in my GitHub Alfred repository You have to set the file location of the TaskPaper file you want to use. You can edit the colors by editing the script. The items are color coded based on the tags for the todos. This script displays the current days todo item in the TaskPaper program for the macOS. It works with my Alfred NotePlan Workflow. It will display the current days todo items from NotePlan. This is a port of my BitBar script by the same name. Others use the unique features of TextBar. Some of these are scripts that I first made for BitBar. TextBar is a great application for putting small scripts with useful information at your finger tips in the menu bar. This is my personal collection of scripts for use with TextBar. ![]()
0 Comments
Leave a Reply. |