Is there any way to remotely script System Events on another mac? My goal is to control Keynote using another computer.
Here’s what’s working:
- I’ve got System Events working on the local machine (can control keynote)
- I can control the remote machine (e.g. can run iTunes)
When I try to use this code below, I get an error “expected end of line” between “tell process” and “Keynote”. Any suggestions?
Thanks in advance!
TC~
set RemoteMac to "eppc://192.168.1.2"
try
tell application "System Events" of machine RemoteMac
tell process "Keynote"
tell menu bar 1
click menu item "Play Slideshow" of menu "View"
end tell
end tell
end tell
end try
Both Computers:
OS X 10.2.8
UI Scripting Beta (System Events 1.2)[/b]