Perhaps "GUIGetCursorInfo ( [winhandle] )" I would test for the mouseclick, and then when a positive result was returned, read the coordinates and the control handle using this func. As far as the game clicking goes I've become a bit of an expert! I've written autoplayers for a couple of online games and encountered a couple of problems that I never expected to see! Method one is to simply use the absolute screen coordinates and click "there". This is a very reliable method so long as the windows open in the exact same place every time. Open the program you want to click in, and let stay where it is! Use the "MouseClick()" func for this. Method Two is to use "ControlClick()" I have found that this method sometimes dose not work because the controls, though visible to the eye, are hidden or inactive when not expected, or behind other active or inactive controls. When scanning a window in AU3Info, Take very special care to "look between the cracks" of the controls you identify. I found in one case a collection of 6 small buttons lined up like a wall of bricks, and behind them were the controls I needed! Three larger buttons lined up along the center of the "Wall". In AU3Info, I noticed, by chance, that the info changed "between the cracks". these were the Background buttons. I hope this helps you out. deefburger