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 

not registering mouse clicks
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sun Jun 01, 2008 5:08 am    Post subject: Reply with quote

possible, but you forget i'm new:P could you give me a hand with it? and i didn't mean to be snappy earlir, but i'm already frustrated with this..lol
Back to top
Z Gecko
Guest





PostPosted: Sun Jun 01, 2008 5:16 am    Post subject: Reply with quote

regard the comments in the script (green text)

Code:

SendMode Play ; exchange "play" with "Input" or "Event" to try different modes
SetKeyDelay, 0, 50 ; exchange "50" with differnt numbers to test different timings
^!t::
CoordMode, Mouse, Screen
MouseClick, left, 1655, 966
MouseClick, left, 1655, 966
Sleep, 100
MouseClick, left, 1623, 962
MouseClick, left, 1623, 962
Sleep, 100
MouseClick, left, 1584, 959
MouseClick, left, 1584, 959
Sleep, 100
MouseClick, left, 1593, 959
MouseClick, left, 1593, 959
Sleep, 100
MouseClick, left, 54, 422
return
Back to top
Guest






PostPosted: Sun Jun 01, 2008 5:31 am    Post subject: Reply with quote

still the same problem Sad
Back to top
Guest






PostPosted: Sun Jun 01, 2008 5:41 am    Post subject: Reply with quote

how would i put that controlsend command? maybe that will work
Back to top
Guest2
Guest





PostPosted: Sun Jun 01, 2008 5:42 am    Post subject: Reply with quote

Actually its not Game Related.
The Autoscriptwriter works under Xp and W2k without any Problems.
His OS is Vista.
At last, the clicks are recorded with CoordMode, Mouse, Screen
but at replay, when the Game is open, and infront, it does not count the doubleclicks.
The Doubleclick would make a Item move.
But under Vista, it does not even move the Mousepointer, when the Game is on Top.
Back to top
Guest






PostPosted: Sun Jun 01, 2008 5:43 am    Post subject: Reply with quote

exactly.. i should have had you come here earlier Razz
Back to top
Guest






PostPosted: Sun Jun 01, 2008 5:59 am    Post subject: Reply with quote

how would i use the contolclick command?
Back to top
Z Gecko
Guest





PostPosted: Sun Jun 01, 2008 6:51 am    Post subject: Reply with quote

i am confused:
who is guest2?
and why does he know what game guest is playing?

and why should it be related to the script-writer? Guest has already shown a pice code, that perform the mouseclicks, so some scriptwriter must have worked.

if the game receives clicks but no double-clicks, it is very well game related!
if double-click is the issue, the ClickCount-parameter of MouseClick could help [e.g. MouseClick, left, 100, 100, 2]
or you could use individual DOWN and UP commands. (check the help for more info: MouseClick )

and finaly, the ControlClick and ControlSend commands are quite similar to the MouseClick-Command so you could easily replace them, if you find out the window-title (e.g. with the AutoIt Windows Spy)
Back to top
Guest






PostPosted: Sun Jun 01, 2008 7:22 am    Post subject: Reply with quote

guest 2 is my guild leader on the game. to make the script i had to alt+tab out of the game and record the clicks on firefox. it still does nothing in the game
Back to top
Zed Gecko



Joined: 23 Sep 2006
Posts: 101

PostPosted: Sun Jun 01, 2008 7:48 am    Post subject: Reply with quote

Please be more specific!
What doesn´t work?
Does it not click? Not double-click? Not click in the right spot?
What have you tried? (specific please: Modes, Timings)

And what game are you testing it in?
_________________
1) All my code can be reused in ANY way. 2) Please check the help and the forum-search, before posting questions; the answer is out there...
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Jun 01, 2008 1:03 pm    Post subject: Reply with quote

the game is dark and light, when the game is the active window the script does nothing at all, and when i'm at the desktop, the script works fine. cycled through all the settings you gave me, input play etc, and tried several different numbers in the timing
Back to top
Guest






PostPosted: Sun Jun 01, 2008 3:10 pm    Post subject: Reply with quote

got it^^ for anyone else reading this and having the same problem in vista, go into your control panel, then user accounts, and disable user account control(requires a restart)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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