for example, currently I use
DllCall("SetCursorPos", "int", 2044, "int", 262)
MouseClick, left
to click a specific space on my screen
I'd like to say
Click1
and it equate to that in the AHK file, so at the top I would define and use it by
Code: Select all
Functions{
Click1 = DllCall("SetCursorPos", "int", 2044, "int", 262)
MouseClick, left
}
Call Click1
Thanks for your time^^