Jump to content

Recommended Posts

Posted

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

Posted

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

Send("{LWIN} R")
...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
Posted

Send("{LWIN} R")
Thanks for your reply. But this only goes to the local desklop, not the remote desktop I just opened. Thanks.
Posted (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 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!!!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...