

Once you’ve pasted in the script, save the document and double-click the script within Windows Explorer to run it. By sending Ctrl+V, it pastes the new URL. A limit – we’ve set this as 1, so it’ll only replace the first matchĪfter the contents of the clipboard have been modified, it uses SendInput to act as if it is pressing actual keys on your keyboard.String with which to replace a match – “notion”.Next, the script takes the current contents of your system’s clipboard and modifies them using the StrReplace() function. Naturally, you can use the modifier symbol reference and change up the hotkey however you like. So this script defines Ctrl+Alt+V as a hotkey. ahk file extension for this to work.Ĭlipboard := StrReplace(Clipboard, "https", "notion", 1)ĪutoHotKey represents different keys on your keyboard with what it calls modifier symbols. The name of the file doesn’t matter, but it does need to have the. Open Notepad (or any text editor), create a new file, and name it something like notion.ahk.
NOTION MAC BOOK INSTALL
Download and install AutoHotKey on your Windows machine.
NOTION MAC BOOK WINDOWS 10
Windows 10 Methodįor Windows 10, we’ll use AutoHotKey – a very powerful and free tool that allows you to create hotkeys, text-expansion snippets, and entire scripts that can go through multiple steps with just a single keypress.ĪutoHotKey is wonderful for creating keyboard macros, and it’s more than capable of modifying a Notion link on the fly. Here are two methods – one for each operating system – that make this a snap.

To accomplish this, you need a tool that can do a Find-and-Replace operation on the contents of your clipboard.
