Only In this Spell window, i would like by pressing keys to click specific position on screen. Problem is I want to do it also with Q key.
I try it like that:
- script is from start suspend
key Q un-suspend it (but also open spell window)
script is suspend again with space & esc
if i use q:: then I can not open Spell window
tldr:
i want pressing Q to work once like Q, and then as D (until other key reset it):
f.ex. [Q pressed 4x times]: qddd
Code: Select all
Suspend, on
space::Suspend on
esc::Suspend on
q::
Suspend off
WinGetActiveStats, Title, W, H, a, b
mousegetpos, x, y
mousemove, 84, 380
click
mousemove, x, y
return
2.
other problem:
I have also other keys scripted, I would like some of them (mouse f.ex) to not be affected by this Q toggling
======================
3.
right now i see on this forum function "pixel get color":
how to toggle key set automatically, if certain pixel on screen have specific color?
is it reliable method? (in game screen brightness not affect it ?)