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 

help: mouse reliability

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
rudolph



Joined: 25 Aug 2008
Posts: 3

PostPosted: Mon Aug 25, 2008 8:30 am    Post subject: help: mouse reliability Reply with quote

got a script working perfect (and fast) on my laptop. when i use the script on my pc it doesnt work properly, because some menu windows need some time to appear and mouseclick already made a move Sad .

SetMouseDelay, 200

fixes the problem, but makes my script slow. is there any other way to fix this problem, to make the windows appear faster?
Back to top
View user's profile Send private message
Gast w/o Nick
Guest





PostPosted: Mon Aug 25, 2008 9:52 am    Post subject: Reply with quote

Quote:
is there any other way to fix this problem, to make the windows appear faster?


This depends on your PC (and the kind of menu,
sometimes you can turn off animations).

I'd probably try if I could get to the menu by using a couple of keys instead of a mouse movement.

If you want some useful help, please make sure to provide your script and as much information about the menu as possible. (A screenshot, for example)
Back to top
rudolph



Joined: 25 Aug 2008
Posts: 3

PostPosted: Mon Aug 25, 2008 10:07 am    Post subject: Reply with quote

alright, screenshot:


code:
Code:
~s::
BlockInput On
   MouseGetPos, xpos, ypos
   MouseClick, left, 110, 35
   MouseMove, 110, 355
   MouseMove, 380, 355
   MouseClick, left, 380, 395
   MouseClick, left, xpos, ypos
   MouseClick, right, xpos, ypos
   MouseClick, left, 30, 10, , , , R
   MouseMove, xpos, ypos
BlockInput Off
Return
Back to top
View user's profile Send private message
Hasso



Joined: 23 Mar 2005
Posts: 158
Location: Germany

PostPosted: Mon Aug 25, 2008 12:46 pm    Post subject: Reply with quote

Try
Code:
Send, {F10}{RIGHT}{DOWN}{UP 3}{RIGHT}{DOWN 2}{ENTER}
Explanation:
F10 activates the menu bar
RIGHT activates the first menu
DOWN opens this menu
UP 3 chooses the 3rd item from below
RIGHT goes to the submenu
DOWN 2 selects the 3rd item of the submenu
ENTER opens this item
_________________
Hasso

Programmers don't die, they GOSUB without RETURN
Back to top
View user's profile Send private message
rudolph



Joined: 25 Aug 2008
Posts: 3

PostPosted: Mon Aug 25, 2008 1:13 pm    Post subject: Reply with quote

Confused F10 +.... works good!
seems to load the windows faster than with MouseClick

thnx Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
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