Auto-Linking Tool

If you’re an AutoHotKey user, this tool integrates nicely with that. I set up AHK scripts for linking and unlinking.

Linking (Shift+Ctrl+L links selected text):

+^l::
Clipboard=
Send ^c
RunWait, cmd.exe /c python obs-linkr.py c:\path\to\your\vault, c:\scripts\obs_tools\forward_linker, Hide
Send ^v

Unlinking (Shift+Ctrl+U unlinks selected text):

+^u::
Clipboard=
Send ^c
RunWait, cmd.exe /c python obs-unlinkr.py c:\path\to\your\vault, c:\scripts\obs_tools\forward_linker, Hide
Send ^v

Here are the scripts in action (Ctrl+A -> Shift+Ctrl+L, Ctrl+A -> Shift+Ctrl+U):

You’ll have to modify the paths to match your own, and may need to add Python to your Windows %PATH%.

2 Likes