The Mac has supported user scripting with AppleScript since well before Mac OS X 10.0 came out, but since the introduction of sandboxing at the system level the technology has become much more limited.
Vitamin-R is not fully script-able but offers some simple experimental AppleScripting support that allows you to write scripts that respond to notification events, such as time slices or timed breaks starting, pausing, elapsing, being stopped, etc.
In order to comply with Apple's sandboxing rules these scripts need to be placed in a special folder where user scripts can be installed; applications are not allowed to automatically install scripts in this location and you will those need to do so manually.
Proceed as described below to get started:
- open the Preferences pane of Vitamin-R ( Vitamin-R 2 -> Preferences... )
- select the Integrations tab
- Click on "Open Script Folder..."
- then click on "Show Sample Script"
- copy the "NotificatonHandler.scpt" file from the "Sample Script" folder to the folder opened in the first step
- double click the new copy of "NotificationHandler.scpt"
You will need to be familiar with AppleScript to take advantage of this feature.
Please note that we can only provide minimal support for this feature as custom programming falls outside the limits of normal customer support.
|