Steps to reproduce
Use obsidian URLs to launch vault from command line:
$ open obsidian://path/to/Vault
When this vault is open, run again to open another window with a vault:
$ open obsidian://path/to/another/Vault
Expected result
Second vault is openeed in a new window.
Actual result
The first vault gets focus.
Environment
Operating system:
MacOSX 10.15.7
Obsidian version:
v0.11.13
This is the first time that I hear this. I was aware of teh opposite problem!?!
Steps to reproduce
Have multiple Vaults. (“test1”, “test2”, “test3”)
Open “test1”.
Quit Obsidian.
Execute obsidian://vault/test2 or any obsidian://open… (make a test.html file somewhere with a link, open it in web browser and click link).
Expected result
Executing any obsidian://open command (including shorthands) when Obsidian is not already open launches Obsidian and opens the requested Vault and/or File in that Vault.
Actual result
Executing any obsidian://open command (including shorthand…
@ksandvik I think that syntax is wrong, try
open "obsidian://open?vault=Obsidian%20Help"
When I tested, I was able to open multiple vaults this way…
Hmm, documentation says in the Shorthand formats:
obsidian://vault/my vault/my note
is equivalent to obsidian://open?vault=my%20vault&file=my%20note
But I will switch to the vault parameter in case that fixes opening from cli.
you were not using obsidian://vault/my vault/myfile
you were using obsidian:///absolute/path/to/my note
and it requires a triple slash.
Ah, triple slash, first time for me! Well tried it and it didn’t open the vault I expected from the path, rather the previous open vault. So the full path name with /// should respect the file path and open the vault referred to from the absolute path.