Decide I wanted to see how I can use my micro.blog today. Still seem to be having trouble publishing from Drummer! Maybe I am not waiting long enough for the updates to appear. 😀 Trying a different Drummer verb for publishing!
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! :)
This is a test to see if it disappears
Working on my scripts to integrate monthly entries with Obsidian. I also still need to work on integrating the inlineImage and image attributes with my Obsidian data.
Monday, November 22, 2021
Test of a sub
Wednesday, November 17, 2021 →
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.
A new test for Obsidian again.
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.
Testing the link to Scripting News
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! 😃
Testing the link mechanism in Drummer
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.
Now onto nested subs and image attributes!
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! 😱
This is a final line test.
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.
I also need to figure out how to handle Drummer images in Obsidian.
I have gotten the basic daily outline working in Obsidian! 😃 Now I have to work on how to build a subroutine in Shortcuts to loop through looking for subs.
Wednesday, November 3, 2021
I also need to figure out how to handle Drummer images in Obsidian. And this is a nested test for my checkSubs function.
I’m starting to believe that I’m wasting my time getting outline mode working in Obsidian.
This line is a sub of the previous text but is showing up flat in Obsidian. Time to start digging!