AutoHotkey Community

It is currently May 24th, 2012, 6:43 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: February 23rd, 2007, 1:48 am 
I've tried to get this working, but I still don't see how it's done. Instead of frustrating myself I've decided to ask around here. So, How would that be done?

Just a simple macro used to hold down or press Z repeatedly.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2007, 2:21 am 
Offline

Joined: November 12th, 2005, 10:25 pm
Posts: 73
Stole it from a topic just down this one...
Code:
^z::   
Loop
{
   Send {z}
   GetKeyState, LoopBreakCheck, LCtrl, P
   if LoopBreakCheck = D
      Break
}
return


CTRL+Z to repeat indefinitely Z, until you press LeftCtrl.

If you want to keep it down:
Code:
^z::send {z down}
LCtrl::send {z up}

CTRL+Z to put it down, Ctrl to let go...


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: 0x150||ISO, Alpha Bravo, janopn, Kgalv, Kirtman, kwfine, LazyMan, lblb and 73 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