macstories / obsidian-shortcut-launcher

Trigger shortcuts in Apple's Shortcuts app from Obsidian with custom commands.
MIT License
187 stars 10 forks source link

Shortcut Launcher commands no longer appear in Command Palette pinned commands on iOS/iPadOS/macOS #14

Open patrickmburrell opened 4 months ago

patrickmburrell commented 4 months ago
finnvoor commented 4 months ago

Hmm, I just tried and it seems to work for me. It does only show commands that can be run, so "Selected Text" launchers won't show unless there's some text selected in the current document. Not sure if that's the issue

CleanShot 2024-04-04 at 21 30 45@2x

patrickmburrell commented 4 months ago

Interesting. It stopped working for me right after I updated the plugin. I know because my two shortcuts use Working Copy to pull the latest from my Vault repo and also push changes back to it. Right after the plugin update, I couldn't see the 2 shortcut commands in my command palette anymore. I had to push changes in WC like an animal :)

Your comment about "Selected Text" launchers caught my attention, so I checked that. Sure enough, they both were "Selected Text" launchers, so I changed them to "Document Name", and now they appear. But I didn't change their type and they worked in v1.0. It makes sense that no text selection would affect them. Would it fit your vision for this plugin to provide a "No Input" option for Input Type? It might be an odd use case, but I honestly just want to trigger these shortcuts with no input.