Old 21st June 2007, 15:52   #1
windu
Junior Member
 
Join Date: Jun 2007
Posts: 2
Question global shortcut keys

hiya folks,

is there a way to set global shortcut keys for installed exe files. for example, lets say we install files: blah.exe, blah.chm & example.blh in $PROGRAMFILES\blah. now, is there a way to make a global shortcut key for file blah.exe so to run it when u press Ctrl+Alt+B for example.

thanks in advance guys, any idea/hint appreciated.
windu is offline   Reply With Quote
Old 21st June 2007, 16:30   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
createshortcut supports hotkey

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 22nd June 2007, 03:21   #3
windu
Junior Member
 
Join Date: Jun 2007
Posts: 2
thanks man, works great
just for the reference, in our example it would be:
code:
CreateShortCut "$SMPROGRAMS\blah\blah.lnk" "$INSTDIR\blah.exe" "" "" 0 SW_SHOWMINIMIZED alt|control|a

thanks again for ur quick response & help Anders!
windu is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump