<https://www.autoitscript.com/forum/topic/146053-mouseclick/>
<http://schema.org/text>
"this is some of my simple program that i made... \nbut it clicks on my desktop coordinates it doesnt click on the calculator... \nI really got a lot of question in my mind...  \n Global $Paused]\nHotKeySet(\"{PAUSE}\", \"TogglePause\")\nHotKeySet(\"{ESC}\", \"Terminate\")\nHotKeySet(\"+!d\", \"ShowMessage\") ;Shift-Alt-d\n\nWhile 1\nWinWaitActive(\"calc\")\nSleep(1000)\nMouseClick(\"Left\", 456, 467, 1)\nSleep(2000)\nMouseClick(\"Left\", 494, 468, 1)\nSleep(2000)\nMouseClick(\"Left\", 536, 500, 1)\nSleep(800000)\nWEnd\n;;;;;;;;\n\nFunc TogglePause()\n$Paused = Not $Paused\nWhile $Paused\nSleep(100)\nToolTip('Script is \"Paused\"', 0, 0)\nWEnd\nToolTip(\"\")\nEndFunc ;==&gt;TogglePause\n\nFunc Terminate()\nExit 0\nEndFunc ;==&gt;Terminate\n\nFunc ShowMessage()\nMsgBox(4096, \"\", \"This is a message.\")\nEndFunc ;==&gt;ShowMessage"
<https://www.autoitscript.com/forum/topic/146053-mouseclick/?tab=comments#comment-1033004>