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.

Continuing work on my Drummer/Obsidian/Shortcuts integration focusing on the Mac today. I have come to realize that my shortcut I am using from the Services menu doesn’t honor multiple levels of my outline so when I send the data over to Obsidian it is flat which for archiving purposes is fine but it would be cool if I could recreate the outline in Obsidian.