tell application "Screen Sharing"
GetURL "vnc://osx-mini.local" -- "osx.mini.local" would need to be replaced by "YourComputerName or IP Address"
end tell
delay 1
tell application "System Events"
set value of attribute "AXFullScreen" of window 1 of process "Screen Sharing" to true
end tell