Wen Posted May 28, 2007 Posted May 28, 2007 Hi, I am trying to start the run line (start > run) after logging into a remote desktop, but I could not get it to work. The following codes did not help. Any help? Thanks $handle = WinGetHandle($client & " - Remote Desktop") WinSetState($handle, "", @SW_MAXIMIZE) Sleep(4000) WinActivate($handle, "") ControlSend($handle, "", "OPWindowClass1", "#r") Wen
jefhal Posted May 29, 2007 Posted May 29, 2007 I am trying to start the run line (start > run) after logging into a remote desktop, but I could not get it to work. The following codes did not help. Any help? ThanksSend("{LWIN} R") ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
Wen Posted May 29, 2007 Author Posted May 29, 2007 Send("{LWIN} R") Thanks for your reply. But this only goes to the local desklop, not the remote desktop I just opened. Thanks.
Davo Posted May 29, 2007 Posted May 29, 2007 (edited) The windows key can't be sent to another computer remotely. Dave PS. you might want to try Send("^{esc}") I don't know if this works either but worth a shot Edited May 29, 2007 by Davo ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------"I don't need to know everything, I just need to know where to find it when I need it"....EinsteinAnd in our case... That's the AutoIT helpfile ;) Please read before posting!!!
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