AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wildcart hotsting fire

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
elektron



Joined: 02 Oct 2008
Posts: 21

PostPosted: Thu Oct 02, 2008 7:17 pm    Post subject: Wildcart hotsting fire Reply with quote

I want to have a string perform a command when any key is pressed. Does anyone know how?
Back to top
View user's profile Send private message
Sivvy



Joined: 21 Jul 2008
Posts: 726
Location: Calgary, AB, Canada

PostPosted: Thu Oct 02, 2008 7:25 pm    Post subject: Reply with quote

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?? Confused
Back to top
View user's profile Send private message
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Thu Oct 02, 2008 7:39 pm    Post subject: Reply with quote

Look in the manual for hotstrings.
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
elektron



Joined: 02 Oct 2008
Posts: 21

PostPosted: Thu Oct 02, 2008 8:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sivvy



Joined: 21 Jul 2008
Posts: 726
Location: Calgary, AB, Canada

PostPosted: Thu Oct 02, 2008 8:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
elektron



Joined: 02 Oct 2008
Posts: 21

PostPosted: Thu Oct 02, 2008 8:54 pm    Post subject: Reply with quote

I can't seem to get it to work, could you give me an example?
Back to top
View user's profile Send private message
Sivvy



Joined: 21 Jul 2008
Posts: 726
Location: Calgary, AB, Canada

PostPosted: Fri Oct 03, 2008 1:27 pm    Post subject: Reply with quote

What do you have so far? Show the code and we can fix it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group