Help with Inconsistent Clicking

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Pevster
Posts: 3
Joined: 08 Jun 2023, 10:56

Help with Inconsistent Clicking

Post by Pevster » 08 Jun 2023, 15:58

I am copying a number from a spreadsheet, switching windows with alt-tab, and then clicking on an icon. The issue is with the clicking. It works most of the time, but sometimes the mouse just does not move. It switches windows fine, and then it runs the rest of the program without the original mouse click. The mouse moves some of the way sometimes and does not move at all at other times. Any ideas?

User avatar
mikeyww
Posts: 26596
Joined: 09 Sep 2014, 18:38

Re: Help with Inconsistent Clicking

Post by mikeyww » 08 Jun 2023, 16:36

You might need some Sleep or WinWaitActive commands for the steps to work properly. Would also check your point of reference for the coordinates.

Pevster
Posts: 3
Joined: 08 Jun 2023, 10:56

Re: Help with Inconsistent Clicking

Post by Pevster » 09 Jun 2023, 08:41

If anyone else is having the same issue, I fixed it by using SendClick instead of Click. There’s also a Sleep in there.

Post Reply

Return to “Ask for Help (v1)”