AutoHotkey Community

It is currently May 27th, 2012, 8:17 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: January 22nd, 2012, 9:35 pm 
Offline

Joined: January 22nd, 2012, 9:32 pm
Posts: 1
Anyone around with Glovepie expertise that help me with the script below.

Currently it press's 1, then 2 on each key press, I want it to press 1,2,3,4 on each key press.

Code:
If pressed(xinput1.x)and var.x = true then press keyboard.one
If pressed(xinput1.x)and var.x = false then press keyboard.two
if released(xinput1.x)then{
if var.x=false then keyboard.one=false
if var.x=true then keyboard.two=false
var.x++
if var.x>1 then var.x=0
}


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 26th, 2012, 2:21 pm 
Offline
User avatar

Joined: November 19th, 2010, 3:12 pm
Posts: 787
Location: At my computer
@Admin
Shouldn't this have been moved to the help section?

_________________
"My dear Mr Gyrth, I am never more serious than when I am joking."
~Albert Campion

My personal site


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 27th, 2012, 11:34 am 
Why? It has nothing to do with AutoHotkey. It could even be deleted ;-)


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 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