Ishank
Ishank

Reputation: 2926

Is it possible to use Autoit to operate on a Remote Desktop?

I need to automate actions I do on a Remote Desktop. The au3recoder (which comes with Autoit) doesn't seem to record anything on the RDP.

Upvotes: 1

Views: 1783

Answers (2)

John P.
John P.

Reputation: 1249

Of course it is possible. And you could use most of the "AutoIt" functions because they are C++ functions which windows have them all. The most accurate way to do it is to use CMD through AutoIt to get most of the informations. However the most elegant way would be using PowerShell.

Upvotes: 1

IkeRoyle
IkeRoyle

Reputation: 477

Yes, Autoit works on RDP machines if you execute the file on that machine. If you want to use it from your own PC over the RDP connection that could get difficult.

  1. You can't detect windows over RDP what makes most of the AutoIt functions useless.
  2. You could click on positions with MouseClick(). It's not the most elegant version but it works for little things.
  3. The Au3 Recorder never worked for my anyways, so you could also hardcode it yourself.

I recomend that you copy a file to your RDP machine to use all AutoIt functions.

Upvotes: 1

Related Questions