CODE
<dict>
<key>Functions</key>
<array>
<dict>
<key>Button</key>
<integer>1</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Play / Pause</string>
<key>OnRelease</key>
<true/>
<key>Repeats</key>
<false/>
<key>Scriptname</key>
<string>eyetv_playpause.applescript</string>
<key>Time</key>
<integer>0</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>2</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Volume Up</string>
<key>OnRelease</key>
<false/>
<key>Repeats</key>
<false/>
<key>Scriptname</key>
<string>eyetv_volup.applescript</string>
<key>Time</key>
<integer>0</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>4</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Volume Down</string>
<key>OnRelease</key>
<false/>
<key>Repeats</key>
<false/>
<key>Scriptname</key>
<string>eyetv_voldown.applescript</string>
<key>Time</key>
<integer>0</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>8</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Next Station</string>
<key>OnRelease</key>
<true/>
<key>Repeats</key>
<false/>
<key>Activate</key>
<true/>
<key>Scriptname</key>
<string>eyetv_channelup.applescript</string>
<key>TestLogic</key>
<dict>
<key>Value</key>
<integer>0</integer>
<key>VarName</key>
<string>DidFF</string>
</dict>
<key>Time</key>
<integer>0</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>8</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Fast Forward</string>
<key>OnRelease</key>
<false/>
<key>Repeats</key>
<false/>
<key>Activate</key>
<true/>
<key>Scriptname</key>
<string>eyetv_fforward.applescript</string>
<key>SetLogic</key>
<dict>
<key>Value</key>
<integer>1</integer>
<key>VarName</key>
<string>DidFF</string>
</dict>
<key>Time</key>
<integer>1</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>8</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Fast Forward End</string>
<key>OnRelease</key>
<true/>
<key>Repeats</key>
<false/>
<key>Scriptname</key>
<string>eyetv_play.applescript</string>
<key>SetLogic</key>
<dict>
<key>Value</key>
<integer>0</integer>
<key>VarName</key>
<string>DidFF</string>
</dict>
<key>TestLogic</key>
<dict>
<key>Value</key>
<integer>1</integer>
<key>VarName</key>
<string>DidFF</string>
</dict>
<key>Time</key>
<integer>0</integer>
</dict>
<dict>
<key>Button</key>
<integer>16</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Previous Station</string>
<key>OnRelease</key>
<true/>
<key>Repeats</key>
<false/>
<key>Activate</key>
<true/>
<key>Scriptname</key>
<string>eyetv_channeldown.applescript</string>
<key>TestLogic</key>
<dict>
<key>Value</key>
<integer>0</integer>
<key>VarName</key>
<string>DidRW</string>
</dict>
<key>Time</key>
<integer>0</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>16</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Rewind</string>
<key>OnRelease</key>
<false/>
<key>Repeats</key>
<false/>
<key>Activate</key>
<true/>
<key>Scriptname</key>
<string>eyetv_rewind.applescript</string>
<key>SetLogic</key>
<dict>
<key>Value</key>
<integer>1</integer>
<key>VarName</key>
<string>DidRW</string>
</dict>
<key>Time</key>
<integer>1</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>16</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Rewind End</string>
<key>OnRelease</key>
<true/>
<key>Repeats</key>
<false/>
<key>Scriptname</key>
<string>eyetv_play.applescript</string>
<key>SetLogic</key>
<dict>
<key>Value</key>
<integer>0</integer>
<key>VarName</key>
<string>DidRW</string>
</dict>
<key>TestLogic</key>
<dict>
<key>Value</key>
<integer>1</integer>
<key>VarName</key>
<string>DidRW</string>
</dict>
<key>Time</key>
<integer>0</integer>
</dict>
</array>
<key>Name</key>
<string>EyeTV</string>
<key>AppBundle</key>
<string>com.elgato.eyetv</string>
</dict>
<key>Functions</key>
<array>
<dict>
<key>Button</key>
<integer>1</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Play / Pause</string>
<key>OnRelease</key>
<true/>
<key>Repeats</key>
<false/>
<key>Scriptname</key>
<string>eyetv_playpause.applescript</string>
<key>Time</key>
<integer>0</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>2</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Volume Up</string>
<key>OnRelease</key>
<false/>
<key>Repeats</key>
<false/>
<key>Scriptname</key>
<string>eyetv_volup.applescript</string>
<key>Time</key>
<integer>0</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>4</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Volume Down</string>
<key>OnRelease</key>
<false/>
<key>Repeats</key>
<false/>
<key>Scriptname</key>
<string>eyetv_voldown.applescript</string>
<key>Time</key>
<integer>0</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>8</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Next Station</string>
<key>OnRelease</key>
<true/>
<key>Repeats</key>
<false/>
<key>Activate</key>
<true/>
<key>Scriptname</key>
<string>eyetv_channelup.applescript</string>
<key>TestLogic</key>
<dict>
<key>Value</key>
<integer>0</integer>
<key>VarName</key>
<string>DidFF</string>
</dict>
<key>Time</key>
<integer>0</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>8</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Fast Forward</string>
<key>OnRelease</key>
<false/>
<key>Repeats</key>
<false/>
<key>Activate</key>
<true/>
<key>Scriptname</key>
<string>eyetv_fforward.applescript</string>
<key>SetLogic</key>
<dict>
<key>Value</key>
<integer>1</integer>
<key>VarName</key>
<string>DidFF</string>
</dict>
<key>Time</key>
<integer>1</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>8</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Fast Forward End</string>
<key>OnRelease</key>
<true/>
<key>Repeats</key>
<false/>
<key>Scriptname</key>
<string>eyetv_play.applescript</string>
<key>SetLogic</key>
<dict>
<key>Value</key>
<integer>0</integer>
<key>VarName</key>
<string>DidFF</string>
</dict>
<key>TestLogic</key>
<dict>
<key>Value</key>
<integer>1</integer>
<key>VarName</key>
<string>DidFF</string>
</dict>
<key>Time</key>
<integer>0</integer>
</dict>
<dict>
<key>Button</key>
<integer>16</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Previous Station</string>
<key>OnRelease</key>
<true/>
<key>Repeats</key>
<false/>
<key>Activate</key>
<true/>
<key>Scriptname</key>
<string>eyetv_channeldown.applescript</string>
<key>TestLogic</key>
<dict>
<key>Value</key>
<integer>0</integer>
<key>VarName</key>
<string>DidRW</string>
</dict>
<key>Time</key>
<integer>0</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>16</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Rewind</string>
<key>OnRelease</key>
<false/>
<key>Repeats</key>
<false/>
<key>Activate</key>
<true/>
<key>Scriptname</key>
<string>eyetv_rewind.applescript</string>
<key>SetLogic</key>
<dict>
<key>Value</key>
<integer>1</integer>
<key>VarName</key>
<string>DidRW</string>
</dict>
<key>Time</key>
<integer>1</integer>
<key>ShowInMenu</key>
<true/>
</dict>
<dict>
<key>Button</key>
<integer>16</integer>
<key>Modifiers</key>
<integer>0</integer>
<key>Name</key>
<string>Rewind End</string>
<key>OnRelease</key>
<true/>
<key>Repeats</key>
<false/>
<key>Scriptname</key>
<string>eyetv_play.applescript</string>
<key>SetLogic</key>
<dict>
<key>Value</key>
<integer>0</integer>
<key>VarName</key>
<string>DidRW</string>
</dict>
<key>TestLogic</key>
<dict>
<key>Value</key>
<integer>1</integer>
<key>VarName</key>
<string>DidRW</string>
</dict>
<key>Time</key>
<integer>0</integer>
</dict>
</array>
<key>Name</key>
<string>EyeTV</string>
<key>AppBundle</key>
<string>com.elgato.eyetv</string>
</dict>
applescripts to be placed in /Applications/AirClick.app/Contents/Resources/scripts/ folder:
eyetv_channeldown.applescript
CODE
tell application "EyeTV"
channel_down
tell application "AirClick"
display message "EyeTV Channel Down"
end tell
end tell
channel_down
tell application "AirClick"
display message "EyeTV Channel Down"
end tell
end tell
eyetv_channelup.applescript
CODE
tell application "EyeTV"
channel_up
tell application "AirClick"
display message "EyeTV Channel Up"
end tell
end tell
channel_up
tell application "AirClick"
display message "EyeTV Channel Up"
end tell
end tell
eyetv_fforward.applescript
CODE
tell application "EyeTV"
fast forward
tell application "AirClick"
display message "EyeTV" icon fforward
end tell
end tell
fast forward
tell application "AirClick"
display message "EyeTV" icon fforward
end tell
end tell
eyetv_play.applescript
CODE
tell application "EyeTV"
play
tell application "AirClick"
display message "EyeTV" icon play
end tell
end tell
play
tell application "AirClick"
display message "EyeTV" icon play
end tell
end tell
eyetv_playpause.applescript
CODE
tell application "EyeTV"
playpause
tell application "AirClick"
display message "EyeTV Play/Pause"
end tell
end tell
playpause
tell application "AirClick"
display message "EyeTV Play/Pause"
end tell
end tell
eyetv_rewind.applescript
CODE
tell application "EyeTV"
fast backward
tell application "AirClick"
display message "EyeTV" icon rewind
end tell
end tell
fast backward
tell application "AirClick"
display message "EyeTV" icon rewind
end tell
end tell
eyetv_voldown.applescript
CODE
tell application "EyeTV"
volume_down
tell application "AirClick"
display message "EyeTV" icon volume
end tell
end tell
volume_down
tell application "AirClick"
display message "EyeTV" icon volume
end tell
end tell
eyetv_volup.applescript
CODE
tell application "EyeTV"
volume_up
tell application "AirClick"
display message "EyeTV" icon volume
end tell
end tell
volume_up
tell application "AirClick"
display message "EyeTV" icon volume
end tell
end tell
Make scripts executable, restart AirClick application. Tested with EyeTV3 on Mac OS X 10.5.2.