| View previous topic :: View next topic |
| Author |
Message |
elektron
Joined: 02 Oct 2008 Posts: 21
|
Posted: Thu Oct 02, 2008 7:17 pm Post subject: Wildcart hotsting fire |
|
|
| I want to have a string perform a command when any key is pressed. Does anyone know how? |
|
| Back to top |
|
 |
Sivvy
Joined: 21 Jul 2008 Posts: 726 Location: Calgary, AB, Canada
|
Posted: Thu Oct 02, 2008 7:25 pm Post subject: |
|
|
| elektron wrote: | | I want to have a string perform a command when any key is pressed. Does anyone know how? |
A string....... To perform a command....... Activated by any key....... What??  |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Thu Oct 02, 2008 7:39 pm Post subject: |
|
|
Look in the manual for hotstrings. _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
elektron
Joined: 02 Oct 2008 Posts: 21
|
Posted: Thu Oct 02, 2008 8:19 pm Post subject: |
|
|
Sorry for the previous post being so unclear.
Allow me to explain: I'm trying to make a sound fire whenever a key is pressed, however I don't want to have to write a hotstring for every key, that would be inefficient and quite laborious.
I've already looked in the manual, I can't seem to find the right thing. Maybe I'm just looking in the wrong place?
Thanks,
-- Elektron |
|
| Back to top |
|
 |
Sivvy
Joined: 21 Jul 2008 Posts: 726 Location: Calgary, AB, Canada
|
Posted: Thu Oct 02, 2008 8:24 pm Post subject: |
|
|
| For future reference... I think your mistaking "HotStrings" for "HotKeys". If you want a sound to fire everytime a key is pressed, look in the help file for "Input". Set the Length to 1 (one of the options, specify "L1"), and make it beep when it receives a single key's input. |
|
| Back to top |
|
 |
elektron
Joined: 02 Oct 2008 Posts: 21
|
Posted: Thu Oct 02, 2008 8:54 pm Post subject: |
|
|
| I can't seem to get it to work, could you give me an example? |
|
| Back to top |
|
 |
Sivvy
Joined: 21 Jul 2008 Posts: 726 Location: Calgary, AB, Canada
|
Posted: Fri Oct 03, 2008 1:27 pm Post subject: |
|
|
| What do you have so far? Show the code and we can fix it. |
|
| Back to top |
|
 |
|