AutoHotkey Community

It is currently May 27th, 2012, 11:27 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: March 6th, 2011, 7:56 pm 
Offline

Joined: March 6th, 2011, 7:43 pm
Posts: 4
hello everyone I'm new in writing scripts so i dont know lot.I want to make a script for a mouse with that script i will make mouse click when I press a left button and when i release left button.
i try to make this script,but failed.
if anyone knows how to do that,please, I'd appreciate it
thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2012, 2:18 am 
Copy the code and past it in a notepad and save .ahk


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2012, 4:06 am 
hey what i have to replace


setkeydelay, 0
~Mbutton::
While GetKeyState("MButton")
{
mousegetpos, mx, my
pixelgetcolor, ggaf, %mx%, %my%
IF (ggaf=0xFFFFFF)
send {Lbutton}

just the ggaf ?

IF (ggaf=0x000000)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2012, 5:10 am 
plz help what i have to change in this code and what is the keys to active it


Code:

setkeydelay, 0
~Mbutton::
While GetKeyState("MButton")
{
mousegetpos, mx, my
pixelgetcolor, ggaf, %mx%, %my%
IF (ggaf=0xFFFFFF)
send {Lbutton}
}
:lol:


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, MSN [Bot], nomissenrojb, nothing and 67 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