 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
rudolph
Joined: 25 Aug 2008 Posts: 3
|
Posted: Mon Aug 25, 2008 8:30 am Post subject: help: mouse reliability |
|
|
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 .
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 |
|
 |
Gast w/o Nick Guest
|
Posted: Mon Aug 25, 2008 9:52 am Post subject: |
|
|
| 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
|
Posted: Mon Aug 25, 2008 10:07 am Post subject: |
|
|
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 |
|
 |
Hasso
Joined: 23 Mar 2005 Posts: 158 Location: Germany
|
Posted: Mon Aug 25, 2008 12:46 pm Post subject: |
|
|
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 |
|
 |
rudolph
Joined: 25 Aug 2008 Posts: 3
|
Posted: Mon Aug 25, 2008 1:13 pm Post subject: |
|
|
F10 +.... works good!
seems to load the windows faster than with MouseClick
thnx  |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|