I'm in need of dire help right now. I'm trying to find out where the function CreateShortcut inputs the registry for the keyboard_shortcut. I accidentally forgot to put a quotation at the beginning of the code and it assigned keyboard input 0 to open a program from the start menu.
Is there a way to delete or revert this registry key?
Edit:
It created a Shortcut Key for a non-existent Shortcut. Here is the code I had that was messed up:
CreateShortcut $SMPROGRAMS\TIM\OBH VPN Access.lnk" "$INSTDIR\OBH VPN Access.pbk" "" "" 0
As you can see I was missing a quotation at the beginning so it created a File with no extension in the start menu folder.
HELP! Keyboard shortcut from CreateShortcut
3 posts
Figured it out!
I had to go to that file in the Start Menu folder and manually assign it with extension .lnk
Then right click -> properties and remove the Keyboard Shortcut.
Thanks anyways! 🙄
I had to go to that file in the Start Menu folder and manually assign it with extension .lnk
Then right click -> properties and remove the Keyboard Shortcut.
Thanks anyways! 🙄
Just to clarify something. NSIS/CreateShortcut does not write to the registry. Windows might be doing that but that is an implementation detail and probably not even true, I think Explorer just scans the Start Menu and Desktop for new/changed shortcuts and looks at their hotkey.