Script Freeze when MouseClick on Title bars or SysTray Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
JoakimU
Posts: 12
Joined: 07 Apr 2021, 09:45

Script Freeze when MouseClick on Title bars or SysTray

Post by JoakimU » 29 Apr 2021, 10:27

Hi! Anyone knows a workaround for this?
This simple code example works for dragging icons, moving selected text, selecting several icons with a "lasso" .

Code: Select all

^<::
{ ; -- Ctrl + less than --
MouseClick , left, , , , , D, 
sleep 3000
MouseClick , left, , , , , U,
Return
}
- but not on Windows Title bars or system tray menus. The script will stop running until you click and releas a real mouse button - why?

User avatar
RaptorX
Posts: 390
Joined: 06 Dec 2014, 14:27
Contact:

Re: Script Freeze when MouseClick on Title bars or SysTray  Topic is solved

Post by RaptorX » 29 Apr 2021, 23:07

In my computer I was able to drag windows by using the script on the title bar, and even drag system tray icons, so probably you have something interfering with it.

what programs did you try it on?
Projects:
AHK-ToolKit

User avatar
JoakimU
Posts: 12
Joined: 07 Apr 2021, 09:45

Re: Script Freeze when MouseClick on Title bars or SysTray

Post by JoakimU » 30 Apr 2021, 08:15

Thanks. Hmm it works when pausing my multi featuere startup script :)


Post Reply

Return to “Ask for Help (v1)”