User guide
Table Of Contents
- Contents
- Preface 5 About This Book
- Chapter 1 9 Using Apple Remote Desktop
- Chapter 2 25 Setting Up
- 25 System Requirements for Apple Remote Desktop
- 26 Setting Up an Apple Remote Desktop Administrator Computer
- 28 Setting Up Client Computers With MacOSX 10.2 Installed
- 32 Setting Up Client Computers With MacOSX 10.3 Installed
- 36 Creating a Custom Client Installer
- 38 Understanding Access Types
- 44 Considerations for Managed Clients
- 44 Configuring the Administrator Software
- 48 Setting Up the Network
- 49 Getting the Best Performance
- 50 Maintaining Security
- Chapter 3 53 Administering Computers
- Chapter 4 93 Interacting With Users
- Appendix A 105 Reference
- About This Book
- Using Apple Remote Desktop
- Setting Up
- System Requirements for Apple Remote Desktop
- Setting Up an Apple Remote Desktop Administrator Computer
- Setting Up Client Computers With MacOSX 10.2 Installed
- Setting Up Client Computers With MacOSX 10.3 Installed
- Creating a Custom Client Installer
- Understanding Access Types
- Considerations for Managed Clients
- Configuring the Administrator Software
- Setting Up the Network
- Getting the Best Performance
- Maintaining Security
- Administering Computers
- Interacting With Users
- Reference

Chapter 3 Administering Computers 91
To execute an AppleScript using the Send UNIX Command:
This method uses the osascript command. For detailed information on osascript,
see the
osascript man page.
1 Select a computer list.
2 Select one or more computers in the Remote Desktop window.
3 Use the Copy Items command to copy your script to the client computers.
4 After copying the script, choose Manage > Send UNIX Command.
5 Type or paste the AppleScript in the UNIX Command window, like this:
osascript -e '[First line of script]' -e '[Next line of script]'
For example, a simple script to create a folder and set its label would be entered (all in
one line) as:
osascript -e 'tell the application "Finder"' \
-e 'make new folder' \
-e 'set the name of the result to "New Folder"' \
-e 'set the label index of folder "New Folder" to 2' \
-e 'end tell'
6 Click Send.
The client computer executes the script.










