Quote:
Originally Posted by JLC42
How exactly do you set the location of the vault? All I can see is the option to set my vault name.
|
H2O doesn't currently have an option to set the full path of the vault. It uses the Obsidian URI
new action with the parameters
vault,
file, and
content.
If you want to modify H2O to let you specify the full path, you could probably just change
line 626 of highlight_sender.py from
Code:
"file": note_file if len(note_file) < 180 else note_file[:172] + "... " + note_file[-4:],
to
Code:
"path": note_file if len(note_file) < 220 else note_file[:212] + "... " + note_file[-4:],
and then, in the config, write the full path where you would normally put the file name. The vault name option will be overridden.
Note: Replacing the "file" parameter instead of the "vault" parameter on line 624 lets you use formatting options in the path.