So I wanted to make a script that works in the background. Pritty simple, I want to script to click at XYPos in a chrome window that I have on a second monitor or in the background, while I do other things on another monitor, or foreground.
I was looking around and found that people suggest using ControlClick.
After reading https://autohotkey.com/docs/commands/ControlClick.htm I am still unsure on what the function do. Anyone care to enlighten me on the subject and maybe give an example?
I am pritty new to AHK scriptning, but if I understand how to use the function I can figure out the rest myself

Thanks!