Screen Sharing

I know how to get to one machine to another on my LAN using the Finder > Network > Share Screen… button. What I can’t figure out is how to start the screen sharing engine from an AppleScript. Something like this (with an alias to the core services app) will produce the required dialog boxes for specifying the local computer then entering a username and password to get in, whereas the “button” does all that.

tell application "Finder" to open "Macintosh HD:Users:bell:Desktop:Screen Sharing.app alias"

Anyone have a better way?

Hi Adam,

Screen Sharing can be started by opening an URL

open location "vnc://myComputer.local"

myComputer.local is a bonjour name or could be an IP address

Thanks, Stefan