January 2006
Beginner
592 pages
16h 55m
English
choose remote application
remote application selection dialog
Puts up a dialog with title "Choose Remote Application" and two panes, one for selecting a local machine or entering an IP number, the other with default prompt "Select an application." The target machine must have Remote Apple Events turned on in the Sharing system preferences. I have not been able to get the local-machine choice to work (where the Bonjour names of local machines are listed automatically) but using the IP number works, and a Bonjour name can be entered manually. You can supply the title and prompt. Returns an eppc URL string suitable for targeting the application remotely; see Chapter 23. (New in Tiger.)
choose remote application -- application "Finder" of machine "eppc://192.168.0.4/?uid=501&pid=178" using terms from application "Finder" set ap to choose remote application -- I choose Finder on remote machine -- username/password dialog appears, I fill it out tell ap get name of window 1 -- Desktop end tell end using terms from
Read now
Unlock full access