The Power of Value Substitution
The most obvious use of value substitution in iNotify is for things like screen messages that display track information for an iTunes trigger or an email trigger displaying information about incoming message in a screen message. This is all good, but value substitution works in custom AppleScripts as well.
Yeah, so? Well that means you can have dynamic AppleScripts which change based on the values provided by the trigger. Consider this AppleScript attached to a PowerMate trigger:
This little script will multiple the current AbsoluteValue of the PowerMate (which is a value between 0 and 1) by 100 and use the result to set the volume in iTunes. Easy.
Here’s another example using value substitution from a Mail trigger to present a dialog allowing you to have the computer read an email to you if you like:
These are two quick and dirty examples. I’m sure there are better, but hopefully this will provide a little food for thought.