Hello,
How can I make a choice in Microsoft Remote Desktop?
Thanks!
Hello,
How can I make a choice in Microsoft Remote Desktop?
Thanks!
If Microsoft Remote Desktop does NOT have a scripting dictionary, then you might be able to use UI scripting.
To do this you need to identify the UI elements of the window.
The easiest way to do this is using UI Browser, but you can also use this great tool by @ccstone:
** Front Window Analysis Tool for System Events**
Please let us know if you need further assistance.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@tatarin, welcome to Keyboard Maestro (KM) and its Forum.
KM is one of the best Mac automation tools available, the its Forum is one of the best and friendliest forums on the Internet. Whenever you reach a tough stumbling block trying to use KM, please feel free to post your question/problem here for help.
You will also find this helpful:
Tip: How Do I Get The Best Answer in the Shortest Time?
Getting Started with Keyboard Maestro
For more help, see Getting Started with Keyboard Maestro and the Forum .
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unfortunately, I do not understand this at all!
@tatarin, OK, no problem. I'll walk you through it.
You have two options to get the UI elements and AppleScript to click on them:
Make your choice and download/install the indicated files/tools.
Using UI Browser is probably the simplest.
You can download and install it, and run the trial version (free) for 15 uses I think.
To learn how to use it, see
(these are approximate steps, more like guidance)
If you still need help, post the script in a reply, using a Code Block.
We will be using my version of Chris @ccstone's macro.
Please download and import into your KM.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@Win List UI Elements of Front Window @FAV.kmmacros (15 KB)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'll get notice of your reply and will download and analyze the zipped file.
It should provide us with a hierarchical listing of the UI elements of the MS Remote Desktop window. From that, I should be able to write an AppleScript that will click on the desired Desktops shown in the window.
And If need more assistance please check how to fix Remote Desktop Can’t Find The Computer
Thanks for your help in converting the code. Is there a guide on what you're doing? It'd be cool to learn.