no mouse click Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
key

no mouse click

17 Oct 2014, 15:13

Hi there,

I'using this script:

Code: Select all

#Persistent
SetTitleMatchMode 2
DetectHiddenWindows, On
Loop
{
	WinWait, TitleOfWindow
	SetMouseDelay 100
	Click 2011, 704
}
Return

#p::Pause
"TitleOfWindow" is actually a the name of a script window that is triggered in Photoshop. The ahk script is supposed to click at a certain button. It was working just fine under Windows 7. Now I'm running intro problems in Window 8.1 as the curser is not even moving towards the button.

Any idea what I can do?

Many thanks in advance!
User avatar
trismarck
Posts: 506
Joined: 30 Sep 2013, 01:48
Location: Poland

Re: no mouse click  Topic is solved

18 Oct 2014, 06:06

If cursor never moves, perhaps it is WinWait that fails (~waits indefinitely) (i.e. because title of window has changed).

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Lamron750, septrinus, songdg and 269 guests