Tarique Naseem Posted March 15, 2013 Share Posted March 15, 2013 Ok. I've migrated to Version 2 and upgraded the PowerPack. I've reworked all my Scripts/AppleScripts to work with the new workflow system. Most are working fine. However, I'm having issues with one particular workflow, using a 'Keyword->Run NSAppleScript'. Entering the keyword runs the workflow, but the VNC session does not start. I'm running a keyword with no argument, and the AppleScript is as follows: on alfred_script(q) open location "vnc://magneto.local:5900" end alfred_script I've also replaced with the local IP address of the server, and still no go. By the way, this works fine in Alfred 1.x. Appreciate some help with this Cheers, Tarique. Link to comment
Tarique Naseem Posted March 15, 2013 Author Share Posted March 15, 2013 Just found a workaround. Updating here in case anyone else comes across the above issue... Rather than running an AppleScript, I've now replaced the action with 'Open URL', and entered the vnc address (vnc://magneto.local:5900) into the address field, leaving the other settings as they are. This will actually launch the screen sharing app. Job's a good 'un. Link to comment
pstadler Posted March 15, 2013 Share Posted March 15, 2013 Check out this: http://www.alfredforum.com/topic/942-screen-sharing-with-automatic-network-discovery/ It automatically discovers the hosts on your network and lists them for you. Link to comment
Tarique Naseem Posted March 16, 2013 Author Share Posted March 16, 2013 Many thanks Will give it a go. I did go back to the AppleScript though, and put a 'tell application' block around the 'open location' which did the trick. Just me being lazy with my scripts by not putting it in, in the first place. 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