| View previous topic :: View next topic |
| Author |
Message |
rgs_rx
Joined: 16 Jun 2005 Posts: 2
|
Posted: Thu Jun 16, 2005 2:27 am Post subject: Multiple Keyboard Shortcuts in one *ahk file |
|
|
Greetings,
My 10 year old Gateway AnyKey keyboard just went crazy which sent me scrambling for a new keyboard & this macro program(thanks, btw).
I want to make keyboard shortcuts(winkey + e=e-mail address, etc.) but want to avoid one *.ahk file for each shortcut. I tried putting all the commands in one *.ahk file but it ran the entire sequence when I pressed the first shortcut & the rest did not work. I'm looking for a way to load all the keyboard shortcuts in one *.ahk file. Can this be done. I apologize if this has been covered before.
Thanks,
Rich |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2436
|
Posted: Thu Jun 16, 2005 5:03 am Post subject: |
|
|
Hi Rich,
If the commands require more than one line then a line containing the word "Return" is required.
This does not require a Return line:
but this does:
| Code: | ^j::
Send, Hello
Return |
More Info...
 |
|
| Back to top |
|
 |
rgs_rx
Joined: 16 Jun 2005 Posts: 2
|
Posted: Sat Jun 18, 2005 4:53 pm Post subject: |
|
|
Dear Corrupt,
Thank you, that did the trick.
Rich |
|
| Back to top |
|
 |
|