Jump to content

start run line in remote desktop


Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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!!!

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...