![]() ![]() ![]() Pushing a Stream Deck button should be a lot easier.Īnd it is, sure. As I wrote originally, I find that writing on pen in a paper notebook to be too much overhead-which drove me to write this script. This script needs to be executed with a minimum of mental overhead, because I’m trying to host a podcast at the same time. Shortly afterward, I hosted a few more podcasts and my approach to using the script-namely, placing two different buttons on my Stream Deck-did not survive contact with the enemy 1. When I wrote my story about the original note script, I had only used it a couple of times. I have it in my head that if I want to mess around with files on my Mac, I need to script Finder with AppleScript. The Shortcuts version of my script is simpler and more accessible. My lesson learned in all this? I need to stop reflexively reaching for AppleScript to solve something when it might be handled entirely in Shortcuts. LaunchBar passes this text on to the shortcut as input, completely bypassing the step in which it asks for text. In LaunchBar, I type the name of the shortcut, press the space bar, and then type the text I want inserted in my notes file. I use LaunchBar, but this will work in Alfred as well. But it also accepts input, and this is a great workaround-especially if you use a launching app. Dan’s Shortcut is set up to ask for text-which frustratingly means you have click the Done button on the dialog box, because Shortcuts on macOS Monterey won’t let you use a keystroke. Then there’s the matter of entering in text to describe what’s gone wrong at the particular moment of the podcast being noted. Antonio’s is one step shorter, and it’s the one I’m using in the current version of the Shortcut. Antonio Bueno suggested adding the seconds to the beginning of Unix time and then custom formatting the resulting time as HH:MM:SS. Andrew Kerr suggested a single equation that converts the time into a number where 2:03:31 is represented as 2.0331 and then converted into proper formatting via a regular expression. Several readers wrote in to point out that Dan’s approach could be simplified. Shortcuts for the shortcutīut it keeps going. After I wrote about my solution to taking notes during a podcast recording, Dan followed up with his version of the solution, built using Shortcuts. If I’ve learned anything about automation, it’s that projects are never really finished. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |