Search found 6 matches
- 21 Jan 2018, 23:57
- Forum: Ask for Help (v1)
- Topic: pause controlsend loop when using keyboard
- Replies: 6
- Views: 1610
Re: pause controlsend loop when using keyboard
... this interferes with my keystrokes in the active window. ... It should be not possible, that your code above interferes with another windows. Maybe you're running more ahk-code as you have showed. Are you using Ctrl or Shift as modifier for any hotkey or label together with keywait ? Code using...
- 18 Jan 2018, 19:35
- Forum: Ask for Help (v1)
- Topic: pause controlsend loop when using keyboard
- Replies: 6
- Views: 1610
Re: pause controlsend loop when using keyboard
for anybody interested in the answer:
Code: Select all
Loop,
{
if A_TimeIdlePhysical < 1000
{
Sleep, 7000
}
if A_TimeIdlePhysical > 1000
{
ControlSend, , {f9}, myWindowName
Sleep, 1000
}
}
- 12 Jan 2018, 12:00
- Forum: Ask for Help (v1)
- Topic: ControlClick NA mode makes it unresponsive
- Replies: 0
- Views: 409
ControlClick NA mode makes it unresponsive
I am trying to ControlClick the a button of a flash video in a Google Chrome window WITHOUT activating the window. These 2 codes perform the click, but they activate the window: CoordMode, Mouse, Screen ControlClick, x24 y523, Video - Trade Architect CoordMode, Mouse, Screen ControlClick, x24 y523, ...
- 22 May 2017, 14:17
- Forum: Ask for Help (v1)
- Topic: coordinate ControlClick to window issues
- Replies: 0
- Views: 306
coordinate ControlClick to window issues
I've tried many variations of ControlClick (including adding Pos, trying ClassNN, trying hwndrapper) but cannot controlclick to this window.
the window looks like it activates when the script is run, but an actual click doesn't occur
Code: Select all
ControlClick, x50 y50, RTRS
the window looks like it activates when the script is run, but an actual click doesn't occur
- 17 Feb 2017, 14:43
- Forum: Ask for Help (v1)
- Topic: pause controlsend loop when using keyboard
- Replies: 6
- Views: 1610
- 17 Feb 2017, 13:39
- Forum: Ask for Help (v1)
- Topic: pause controlsend loop when using keyboard
- Replies: 6
- Views: 1610
pause controlsend loop when using keyboard
I have the following loop that sends F9 to an inactive window: loop { Sleep 1000 ControlSend,,{F9},inactivewindow } the problem is, this interferes with my keystrokes in the active window. for example, if the above script is running and I open up a notepad and press SHIFT+A . a lot of time I get a l...