As you can see below, we’re able to highlight a McMaster part number with and then hit F6 which opens up the appropriate webpage.
- Google Chrome installed
- AutoHotkey installed
- AHK Script is running
Save the follow script as a .ahk file and execute it. If you want your .ahk scripts to run immediately on system startup, create shortcuts to the .ahk files in your systems startup directory. For me on Windows 7, this is in C:\Users\Craig\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.
F6:: ; Open McMaster based on selected part number Clipboard = Send ^c ClipWait ;wait for clipboard to have content Run, chrome.exe https://www.mcmaster.com/#%clipboard%/