Splitz Posted October 14, 2007 Share 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 ? Link to comment Share on other sites More sharing options...
Nahuel Posted October 14, 2007 Share Posted October 14, 2007 Look for ControlClik() in the help file. Link to comment Share on other sites More sharing options...
Splitz Posted October 14, 2007 Author Share 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 Link to comment Share on other sites More sharing options...
Nahuel Posted October 14, 2007 Share 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) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now