![]() | |||
| HOME | ABOUT | STORE | WEBLOG |
|
Shion: AppleScript This document contains information about using AppleScript with Shion. AppleScript In order to let Shion co-exist harmoniously within the local Mac environment, it implements a small AppleScript interface that allows it to be controlled from other applications. Shion supports two main AppleScript classes: devices, and snapshots. Devices may be activated, deactivated, brightened and dimmed. Snapshots may be activated. (See the Shion AppleScript dictionary for specifics.) Example Scripts Activate one device and dim another: tell application "Shion" activate device named "Lava Lamp" dim device named "Bedroom Lamp" end tell Activate a snapshot: tell application "Shion" to activate snapshot named "My Snapshot" Set the level of a device: tell application "Shion" to set the level of the device named "Bedroom Lamp" to 6 Next steps Once you are comfortable with Shion and AppleScript, see the next section on scheduling. | |||
info@audacious-software.com
1.312.380.6424
| |||