AutoHotkey Community

It is currently May 26th, 2012, 9:48 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Wildcart hotsting fire
PostPosted: October 2nd, 2008, 8:17 pm 
Offline

Joined: October 2nd, 2008, 8:16 pm
Posts: 21
I want to have a string perform a command when any key is pressed. Does anyone know how?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 2nd, 2008, 8:25 pm 
Offline

Joined: July 21st, 2008, 4:16 pm
Posts: 726
Location: Calgary, AB, Canada
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?? :?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 2nd, 2008, 8:39 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Look in the manual for hotstrings.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 2nd, 2008, 9:19 pm 
Offline

Joined: October 2nd, 2008, 8:16 pm
Posts: 21
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 2nd, 2008, 9:24 pm 
Offline

Joined: July 21st, 2008, 4:16 pm
Posts: 726
Location: Calgary, AB, Canada
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 2nd, 2008, 9:54 pm 
Offline

Joined: October 2nd, 2008, 8:16 pm
Posts: 21
I can't seem to get it to work, could you give me an example?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 3rd, 2008, 2:27 pm 
Offline

Joined: July 21st, 2008, 4:16 pm
Posts: 726
Location: Calgary, AB, Canada
What do you have so far? Show the code and we can fix it.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: iBob35555VR, just me, krajan and 62 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group