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!
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.
Testing the link mechanism in Drummer
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! 😃
Finally feel like I have a great path forward!! And no more use of url schemes from within Safari! 😀
I’ve taken a new path for integrating Drummer content with Obsidian. Thanks to Federico Viticci of macstories.net and his Obsidian Clip for Mac shortcut I have a starting point for how I can accomplish my goal. I’ve modified his shortcut so it will work both on the Mac as a Service and on the iPad as a Share Sheet extension. Very exciting night! I will now be able to make different shortcuts that will integrate different outlines in Drummer with specific areas of my Obsidian vault!
I wish Safari handled url scheme permissions the way the Shortcuts app does. Ask you once and then remembers your choice from that point on.
The one challenge with using url schemes to pass data from Drummer to any app (Shortcuts or Obsidian at the moment) always prompts a permission dialog box in Safari and Chrome on my Mac and iPad. I will have to live with it as that is the security model in both macOS and iPadOS. Sadly I can’t use the Scheduled scripts to pass data automatically due to this limitation. I’m going to look again at how shortcuts could possibly take care of this by pulling the opml from Drummer.
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 used to do a lot of Frontier scripting and automation back in the day and Drummer is starting to get me going in a similar direction.
My goal is to use Drummer for most of my data collecting and note taking and then pushing them into Obsidian as my main location for all of my data storage.
I’m looking into bypassing the shortcuts app and using Obsidan’s url scheme directly. Initial tests look promising. Using this approach would eliminate a lot of heartache on the Mac side with shortcuts being an unfinished product. Plus I can do a lot of text manipulation via the scripting interface of Drummer!
I’ve got a pretty good start on a script that will allow me to pass over the data from my outline entries via a Siri shortcut. The next step will be to pass this text over to Obsidian…
Now I am concentrating on learning what the limits are of Drummer’s scripting environment. I’ve already discovered that I can call a Siri shortcut using the verb webBrowser.openUrl(). I can see Drummer becoming my main way of launching all type of inter connected scripting environments starting with shortcuts! Very exciting!!
So now I’m using Drummer on my 11” iPad Pro and it’s working quite well! I take my this iPad Pro pretty much everywhere I go since I have an LTE SIM card I switch back and forth between my 12.9” and 11” iPad Pros.
I have discovered that deleting my outline doesn’t delete my micro.blog which is cool but now they are out of sync but that’s ok as I’m just experimenting at the moment.
Well gotta start over as I accidentally deleted my Drummer outline that I was using to create my micro.blog.
Working on a shortcut that will parse the OPML of this blog into JSON and finally into markdown to be stored in Obsidian.
Gotta look into changing the CSS used in my micro.blog site so lines like this won’t have an additional date.