"Stay hungry. Stay foolish." - Steve Jobs
One of the things I do more than anything on my MacBook Air is remote into my iMac. I’m used to launching a Finder window, clicking on the computer, then hitting the “Share Screen” button.
After installing Alfred and its Power Pack a few weeks ago, I realized that you can execute AppleScripts at the push of a few buttons. Made a quick script, and it worked perfectly for my needs… until today.
With the release of Mountain Lion, something got tweaked in AppleScript, causing my script to not work. It only needed the addition of one line, but it was an annoyance I hope you don’t have to go through. So, I thought I would share this script with you.
The necessary line is the second “Tell Screen Sharing to Activate” line. Otherwise, your most recent app will grab attention back and cause this script not to work. Assuming it’s a bug with AppleScript in ML.
All you’ve gotta do now is enter the script into Alfred so it looks like this, put in your IP or computer name, name the shortcut, and you’re good to go.
Posted: Wednesday, Jul 25, 2012