Closed macrospecter closed 1 month ago
Added in version 4.9.0.
Will be available in 1-3 days via update from the Alfred Gallery, or you can already download it directly here: https://github.com/chrisgrieser/shimmering-obsidian/releases/download/4.9.0/shimmering-obsidian.alfredworkflow
Fabulous, thank you. Would it be possible to make the option apply also to the "Create New Note" feature, as well as the "Open Note" feature?
Wouldn't creating a simple workflow that creates a new note in a new window work?
The workflow already has so many settings as it is and I am trying to be cautious to add more settings, since it's gonna get harder to find things then. (And I wouldn't want to have the one setting apply to both, since many people would not want that)
No worries, I can see why you wouldn't want to bulk up the settings too much. I just thought it might be an easy thing to add for consistency's sake. The ability to at least open notes in a new window is invaluable, and I can just supplement with the separate workflow.
One question about the separate workflow. I can't seem to add the title of the new note using the argument function, as the original workflow does. Might you point me in the right direction on how to do that? It's not really a command in Obsidian, so I take it that one has to pass the {query} value through in some way...
As opposed to using a new command, you would use the obsidian advanced uri plugin's uri for writing a new note: https://vinzent03.github.io/obsidian-advanced-uri/actions/writing
And where the new note is opened is determined by the opening mode parameter: https://vinzent03.github.io/obsidian-advanced-uri/concepts/navigation_parameters
Amazing, thank you.
Checklist
Feature Requested
This workflow is amazing; works reliably like a charm, and has so much functionality. But there's one modification that would make it close to perfect for me: if the open-in-new-tab option when creating a new note could be altered to instead open the new note in a new window (or if that function could be added as an additional option). I use new windows more often than new tabs, because the former clutter my current workspace less. I assume I'm not totally alone in this preference.
Indeed, I saw that someone else previously requested this feature. I could see in GitHub that one of the new commits referenced that request, but I couldn't tell how and, as far as I can understand, the feature wasn't implemented.
Alternatives considered
I tried to do this by altering the new-note.js script to use a different URI command than "obsidian://advanced-uri?vault=${vaultNameEnc}&commandid=workspace%253Anew-tab," but every one I tried to use didn't quite work (including when I tried to use the URI command for certain Commander plugin macros). This may just be a feature of Obsidian's new/limited introduction of window manipulation, but I hope that there's a way to do this.
I also saw that, with the helpful guide/workflow you created for triggering one's own Obsidian command, it is possible to create a new note in a new window. However, it would be helpful if one could create a new note as part of this same workflow, and choose to either create it in the same or a new tab (or, as requested here, in a new tab), as in the original design. It would also be great to have this function integrated into the "open [existing] note" function in the workflow.
Relevant Screenshot
No response