surrealroad Posted March 27, 2013 Posted March 27, 2013 (edited) Here's a workflow to control a computer via Apple Remote Desktop. Usage: "rd remote_computer_name_or_ip" As with all of my workflows, it's initially very simple, but I'll add functionality based on whimsy and/or requests. Change log: Monday, 8 April 2013 – Minor bugfixes Sunday, 31 March 2013 – Open in foreground Wednesday, 27 March 2013 – First release Download http://bit.ly/2eBnJ7f Source: https://github.com/surrealroad/alfred-remote-desktop Edited September 5, 2017 by surrealroad updated download link dkoder 1
ridogi Posted April 1, 2013 Posted April 1, 2013 This is great, thank you. My issue is that it opens in the background, but modifying your script to this switches the active application to remote destkop: on alfred_script(q) tell application id "com.apple.RemoteDesktop" control computer id q tell application "Remote Desktop" activate end tell end tell end alfred_script
surrealroad Posted April 2, 2013 Author Posted April 2, 2013 This is great, thank you. My issue is that it opens in the background, but modifying your script to this switches the active application to remote destkop: on alfred_script(q) tell application id "com.apple.RemoteDesktop" control computer id q tell application "Remote Desktop" activate end tell end tell end alfred_script This should be fixed in the latest version.
unpixel Posted April 4, 2013 Posted April 4, 2013 Thanks, worth the powerpack alone. Small bug (with no likely fix) is that if ARD has a password set (prompts user on launch of ARD), authentication will fail with whatever RD client you're trying to connect to(seems to attempt connection before you even get a chance to type in said password, and when you type pass in, still can't connect to client). Only work around is you disabled the ARD pass or saved in keychain, or already have ARD open in the background. Not a big deal.
surrealroad Posted April 4, 2013 Author Posted April 4, 2013 Thanks, worth the powerpack alone. Small bug (with no likely fix) is that if ARD has a password set (prompts user on launch of ARD), authentication will fail with whatever RD client you're trying to connect to(seems to attempt connection before you even get a chance to type in said password, and when you type pass in, still can't connect to client). Only work around is you disabled the ARD pass or saved in keychain, or already have ARD open in the background. Not a big deal. I've looked into this, and although it should be possible to implement a way around this, most of the methods I could come up with involve storing the password in plain text somewhere, which presumably is not an option for you as this would be less secure than storing it in the keychain. The other possibility is having you type something along the lines of "rd 192.1 password mypassword" when you want to connect, I don't know if it'll be worth doing? Let me know.
jonnablaze Posted April 8, 2013 Posted April 8, 2013 I'm having some trouble getting this to work. It seems stuck on 'Assimilating computers'. What am I doing wrong..?
surrealroad Posted April 8, 2013 Author Posted April 8, 2013 I believe that you have to have computers saved within "All Computers" in remote desktop. The current version of this workflow is quite rudimentary, it literally just (via applescript) asks remote desktop for a list of computers and then displays them. That said I've just updated the workflow which addresses some minor issues, maybe the new version will work better for you.
sashk Posted May 16, 2013 Posted May 16, 2013 Hi, For some reason this does not work for me. When script ran from Terminal, I get following: osa: script error: Can’t get application id "com.apple.RemoteDesktop". (-1728) Any suggestion to fix?
surrealroad Posted May 17, 2013 Author Posted May 17, 2013 Hi, For some reason this does not work for me. When script ran from Terminal, I get following: osa: script error: Can’t get application id "com.apple.RemoteDesktop". (-1728) Any suggestion to fix? Looks like you might need to reinstall Remote Desktop. Which version do you have?
blacksails Posted August 17, 2016 Posted August 17, 2016 Hi i submitted a PR, to update the icon to the newest version. surrealroad 1
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