Back to working on integrating Drummer with Obsidian. Last night I discovered the reason my Shortcuts app on my Mac was so unresponsive was due to a corrupt SQLite database under the hood. Deleted it along with the other pref files in Library > Shortcuts and let them get rebuilt. Now the Shortcuts app is working the way I had expected! :)

I realized that what I truly enjoy most is scripting in all forms. On the Mac I use Drummer to create scripts that initially were for blogging but now the scripts are becoming more utilities to connect different programs and web site/APIs. I also use Shortcuts in Monterey as “glue” between Drummer and other “end points”. More to follow.

I like where this is heading integrating Drummer with Obsidian. I’ve got a shortcut that I call from the Services menu that takes the data for a particular day and creates a file in Obsidian with the same date in the microblog folder.

Today I have been noodling more that coding! I am truly amazed that the Mac Shortcuts app is running so smoothly since I cleaned up it’s corrupted prefs and database! 😃

On a side note I am also noodling about recreating what I’m doing in shortcuts as root scripts like I used to do with Frontier and its object databases.

Turns out it was a nested if/end in my main shortcut causing the issue because of how I was putting my debug alerts in nested if/end blocks as well! 😱

After further testing it appears that my “function” shortcut isn’t getting called at all when the alerts are turned off. Almost like a timing issue!

Ran into some issues with creating a “function” shortcut to handle looping through the subs in the Drummer JSON. If I put in some debug alerts it runs fine but if I disable them it doesn’t do the final sub in my test.

And another sub with additinal text to make it wrap around. And another sub with additinal text to make it wrap around. And another sub with additinal text to make it wrap around.