venkatb Posted August 26, 2008 Posted August 26, 2008 Can i give control commands to a window that is set to SW_HIDE ....i.e i want to give control commands by putting the GUI window in Hided or Minimized position. Is this possible...
rasim Posted August 26, 2008 Posted August 26, 2008 (edited) venkatbExample:Run("notepad.exe", @WindowsDir, @SW_HIDE) WinWait("[Class:Notepad]") $hWnd = WinGetHandle("[Class:Notepad]") ControlSend($hWnd, "", "Edit1", "Hello world!") WinSetState($hWnd, "", @SW_SHOW) WinActivate($hWnd) Edited August 26, 2008 by rasim
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