Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: A number of ways to access Screen Sharing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: A number of ways to access Screen Sharing
Authored by: jsruok on Dec 04, '07 05:26:47AM

I needed a way to open Screen Sharing (to a specific host) in shell, after creating an ssh tunnel. This seems to be possible with an AppleScript application:

tell application "Finder"
  open location "vnc://localhost:5920"
end tell

.. or whatever location you want to connect to. I guess you could tell "Screen Sharing" also, I haven't tested.

Anyways, this was one of the steps in one-click-ssh-secured screen sharing if you're interested.



[ Reply to This | # ]
10.5: A number of ways to access Screen Sharing
Authored by: Bart-Jan on Mar 12, '08 08:27:55AM
Yes, you can "talk" to Screen Sharing directly also, try some like:

tell application "Screen Sharing"
	
	open location "vnc://192.168.42.43"
	
end tell
with the IP-address of your choice :-) Worked in 10.5.2 for me.

[ Reply to This | # ]