@Alexisppp12345
I think I can answer your question if I understood it right.
If you are trying to make it so your program sends clicks to the screen rather than the active window you would have to throw in this:
If you wanted to do the same with pixelsearch or imagesearch you would also need to add this line:
[Only registered and activated users can see links. Click Here To Register...] is the AHK website's explanation on it.
Enjoy, hope that helps.
I think I can answer your question if I understood it right.
If you are trying to make it so your program sends clicks to the screen rather than the active window you would have to throw in this:
Code:
CoordMode, Mouse, Screen
Code:
CoordMode, Pixel, Screen
Enjoy, hope that helps.