obsidian-macros
obsidian-macros copied to clipboard
FR: Add small utilities like Keypresses
Thanks for this useful plugin!
I think it would be a great addition to the plugin if you could add small "utilities" to it, e.g. key strokes or copypasting the clipboard, etc.
Don't you think something like that is already covered by Plugins like Templater?
well, not everyone has the coding skills to implement that easily in Templater
Hm you are probably right. I will think about it
I have a use case for this. I'm using the Breadcrumbs plugin, which has a command to copy an index to the clipboard. I want to create a macro that copies that index, then pastes it at the cursor. That way I can assign a hotkey to it and do the whole thing in one keypress.
I can think of two different ways to implement this. I'm not sure which would be the most sensible.
Option 1
Add simple commands (such as copy/paste) to this plugin.
Option 2
Use a separate plugin that adds such commands to the command palette (and so exposing them to Macros). Hotkeys++ is that sort of plugin, but it doesn't have many commands in it. The advantage of this option is that it keeps the Macros plugin simple. But the disadvantage is it adds unnecessary commands to the command palette.
Thanks in advance!