Splitz 0 Posted October 14, 2007 i need to know the command that will make autoit preform clicks in a window that i have minimized while im doing something else, is this possible ? Share this post Link to post Share on other sites
Nahuel 1 Posted October 14, 2007 Look for ControlClik() in the help file. Share this post Link to post Share on other sites
Splitz 0 Posted October 14, 2007 im putting this code in but it keeps giving me an error i rarely use autoit $wait = 100 Global $Paused HotKeySet("{Home}", "TogglePause") HotKeySet("{Del}", "Terminate") ;;;; Body of program would go here;;;; While 1 Sleep(100) WEnd ;;;;;;;; Func TogglePause() $Paused = NOT $Paused While $Paused ToolTip('Script is "Running"',0,0) sleep($wait) ControlClick ( "smash-", "", [, Right [, 1 [, 200 [, 200 ]]]] ) WEnd ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc Share this post Link to post Share on other sites
Nahuel 1 Posted October 14, 2007 ControlClick ( "smash-", "",( [, Right [, 1 [, 200 [, 200 ]]]] ) This is wrong. Use the AutoIt window info tool to get the controlID or Classname so you can use it like this: ControlClick ( "smash-", "", controlID) Share this post Link to post Share on other sites