ctwise Posted February 18, 2014 Share Posted February 18, 2014 Yet another RDP workflow. This one works exclusively with Microsoft Remote Desktop and lists all of the defined desktops. It works reliably, regardless of the state of the Microsoft Remote Desktop application, this has been a problem with other workflows. You can select from the desktop list or continue typing to filter down to just the desktop you want. It's on Packal already. https://github.com/packal/repository/raw/master/com.tedwise.rdp/microsoft_remote_desktop.alfredworkflow Calfy and thec13 2 Link to comment
gr4z Posted February 20, 2014 Share Posted February 20, 2014 This is perfect for me - thanks! Link to comment
gr4z Posted February 21, 2014 Share Posted February 21, 2014 Any chance you could make it so the main RDP app is minimised or better still closed once the RDP session is initiated? Thanks Link to comment
gr4z Posted March 17, 2014 Share Posted March 17, 2014 (edited) Use this workflow everyday and after an update to the RDP app yesterday from the App Store (v8.0.5) it no longer starts the session automatically. Any ideas? Edited March 17, 2014 by gr4z Link to comment
ctwise Posted March 17, 2014 Author Share Posted March 17, 2014 Use this workflow everyday and after an update to the RDP app yesterday from the App Store (v8.0.5) it no longer starts the session automatically. Any ideas? It's the upgrade notice dialog box that comes up. Start the RDP app directly and dismiss the dialog box. Everything will go back to normal. You can thank: 1. Microsoft for displaying the stupid box. 2. Microsoft for not supporting Applescript in the app. 3. The brittleness of UI scripting since there's no Applescript support. Link to comment
ctwise Posted April 2, 2014 Author Share Posted April 2, 2014 Hi Guys, Thanks for the workflow, another time saver there. One thing I've noticed, if I have a session open and go to open it again it passes the session name to that session. E.g. rdp, select server 11 = server 11 rdp brought to front GREAT, but the text server 11 is passed to a search box within that server? Anyone encountered the same? Thanks for the great workflow. // Gary Yep, it's one of the downsides of UI scripting instead of true AppleScript support from the app. I put in a feature request on the Microsoft support site but I'm not holding my breath. Link to comment
Coopeh Posted May 13, 2014 Share Posted May 13, 2014 Looks like the latest update 8.0.6 has broken it again, there's now no search box so it selects all of the items on the list and connects to the first server. Link to comment
ctwise Posted May 13, 2014 Author Share Posted May 13, 2014 Looks like the latest update 8.0.6 has broken it again, there's now no search box so it selects all of the items on the list and connects to the first server. Yep, it's well and truly broken. There's no longer a search so there's no way to narrow down the items and select one programatically. Crap. On the other hand, it looks like 8.0.6 has full URI support now. It's possible I can generate the RDP URIs and use those to connect. It won't be for a while though. Link to comment
turnstyle Posted October 14, 2015 Share Posted October 14, 2015 I have a single RDP connection in Microsoft Remote Desktop (to manage a home server). It irks me that I can't directly open my one RDP connection, and rather I have to first open Microsoft Remote Desktop and then double-click the connection. I tried this workflow, a few comments just in case it might ever get updated... 1) it DOES open my connection 2) for some reason, I often wind up with "another device has connected to this session" -- but only when using the workflow -- if I open Microsoft Remote Desktop and double-click the connection, I don't ever seem to get that dialog. 3) I think the workflow needs to be updated for the case in which an RDP connection is already open -- one time I called the rdp workflow after the connection was already open (thinking it would simply bring the window to the front) but it seemed to throw commands INTO the RDP session Anyhow, I find this handy, and hope it might get updated someday. Link to comment
ctwise Posted October 14, 2015 Author Share Posted October 14, 2015 I have a single RDP connection in Microsoft Remote Desktop (to manage a home server). It irks me that I can't directly open my one RDP connection, and rather I have to first open Microsoft Remote Desktop and then double-click the connection. I tried this workflow, a few comments just in case it might ever get updated... 1) it DOES open my connection 2) for some reason, I often wind up with "another device has connected to this session" -- but only when using the workflow -- if I open Microsoft Remote Desktop and double-click the connection, I don't ever seem to get that dialog. 3) I think the workflow needs to be updated for the case in which an RDP connection is already open -- one time I called the rdp workflow after the connection was already open (thinking it would simply bring the window to the front) but it seemed to throw commands INTO the RDP session Anyhow, I find this handy, and hope it might get updated someday. Vote for this - https://remotedesktop.uservoice.com/forums/287834-remote-desktop-for-mac/suggestions/9280833-allow-the-application-to-be-controlled-with-apples The workflow breaks constantly due to having to script the GUI - Microsoft keeps making GUI changes and throwing up dialog boxes. Until Microsoft makes the app scriptable the workflow will remain buggy. Link to comment
turnstyle Posted October 14, 2015 Share Posted October 14, 2015 Thanks, sorry that it's been a hassle -- any idea why I only seem to get "another device has connected to this session" when opening though the workflow? I kind of though the workflow was simply instructing Remote Desktop to open the connection -- and I don't get that dialog when opening from within Remote Desktop. In any case, thanks for making and sharing it, wish it wasn't such a PITA. Link to comment
turnstyle Posted October 22, 2015 Share Posted October 22, 2015 fwiw, the most recent release of Microsoft Remote Desktop seems to have fixed the "another device has connected to this session" problem. I'm thinking it relates to this from their release notes: Fixed the following issues:- When you reopen an active connection through the connection center, the active connection window is brought to the foreground instead of disconnecting that session and opening a new one. So, for me, this workflow actually works fine now -- my only remaining issue is that if I call the workflow when the terminal connection has already been opened, it throws the commands into the Windows session, and unwanted stuff happens -- if the workflow could just check that it only sends commands to the RDP session selection window, I think that would be helpful. Link to comment
ewarren7 Posted January 7, 2016 Share Posted January 7, 2016 Awesome! Thanks, working for me on 8.0.25 Link to comment
mackash Posted January 8, 2016 Share Posted January 8, 2016 I'm a huge MS RDP user, and this work flow is so good, thanks so much! Created an account just to say thank you! Link to comment
DanielVivas90 Posted December 2, 2016 Share Posted December 2, 2016 Hello Had the same issue Try to connect through a 3rd party tool for remote desktop AEROADMIN or tv. The first one is lightweight and faster, you should try it firstly Link to comment
flex Posted February 24, 2017 Share Posted February 24, 2017 (edited) With the lates RDP client version 8.0.37 (Build 27246) still says that "Another device..." message! :-( Edited February 24, 2017 by flex duplicate words Link to comment
Don Dahl Posted April 29, 2020 Share Posted April 29, 2020 Hello. Is this supposed to work with newest Microsoft RDP and newest alfred? Whatever i do the workflow tells me that there is "no matching desktop found" Link to comment
vlar Posted May 7, 2020 Share Posted May 7, 2020 @Don DahlI don't think it does atm which is a shame; That would be so freaking handy. I have both version installed (the old and new) and it loads the RDP list from the old version without actually opening them. Link to comment
Kacper Posted May 8, 2020 Share Posted May 8, 2020 Looks like list_desktops.rb should be rewritten. The path (..)/com.microsoft.rdc.mac/(..) is now (..)/com.microsoft.rdc.macos/(..) but changing it doesn't do nothing. On in Microsoft Remote Desktop10 bookmark can be listed by: '/Applications/Microsoft Remote Desktop.app/Contents/MacOS/Microsoft Remote Desktop' --script bookmark list Link to comment
alsbjer Posted December 1, 2021 Share Posted December 1, 2021 Does anyone have a working workflow for the current version and are willing to share? Link to comment
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