Splitz Posted October 14, 2007 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 ?
Splitz Posted October 14, 2007 Author 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
Nahuel Posted October 14, 2007 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)
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