on run {input, parameters} (* Your script goes here *) tell application "Obsidian" reopen activate end tell end run