issue with mouse movement and clicking

Found a bug in EventGhost? Report it here.
Post Reply
Posts: 29
Joined: Wed Jun 24, 2009 12:10 am

issue with mouse movement and clicking

Post by dmehling » Tue May 07, 2013 10:22 pm

I have a weird issue with EG regarding moving the mouse cursor and clicking. If my macro moves the mouse to specified coordinates and then clicks, it works as expected. However, if the macro tells the cursor to click and then move to a location, the click command does not occur. It's as if the first command is not there but the second one is. However the click action is in the event log as if it really happened, but nothing did actually. Is there a fix for this problem?
Posts: 6
Joined: Fri Aug 19, 2016 5:50 am

Re: issue with mouse movement and clicking

Post by » Fri Sep 09, 2016 2:17 pm

i have the same issue.. has no one replied

User avatar
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: issue with mouse movement and clicking

Post by kgschlosser » Sat Sep 10, 2016 12:29 am

you have to add a wait in between the different mouse commands. a wait of like 0.01. what is happening is EG is telling to mouse to do something. then before it gets a chance to do it EG tells it to do something else. which negates the last command. so by adding the wait it gives windows a chance to act out the mouse command.

All EventGhost does is pass the command to the windows Mouse API and windows takes over from there. So however long windows takes to enact the command is nothing we can "fix" but the wait is a very nice band-aid.

you may have to tinker with the time on the wait to get it to work perfect. every computer is a little bit different
If you like the work I have been doing then feel free to Image

Post Reply