Jump to content

VNC via AppleScript no longer working


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...