Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How to remap Logitech keyboard media buttons for controlling Audion' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to remap Logitech keyboard media buttons for controlling Audion
Authored by: ojan on Dec 04, '03 11:37:55AM
I used the hint describe above to remap media keys for controlling Audion on OS X 10.3 and it works just fine… if the scripts begin with iTunes wich is not really nice (i'm controlling Audion now and not iTunes anymore). So i added to the seraph.plugin -> Resources -> Description.plist file this :

<key>Audion Action</key>
		<dict>
			<key>Actor Family</key>
			<string>Opening</string>
			<key>Actor Identifier</key>
			<string>builtin.action.Audion</string>
			<key>Actor Type</key>
			<string>Action</string>
			<key>Actor Version</key>
			<string>1.0</string>
			<key>Actor Weight</key>
			<integer>1</integer>
			<key>Assignment Rule</key>
			<string>hidden</string>
			<key>Classes</key>
			<dict>
				<key>Descriptor</key>
				<string>SEAudionAction</string>
				<key>Editor</key>
				<string>SEAudionActionEditor</string>
			</dict>
			<key>Default Name</key>
			<string>Audion</string>
		</dict>
wich looks pretty the same as the iTunes action but still not work if the scripts begin with Audion.

Here's the contents of the scripts :

Audion.playpause :
tell application "Audion 3" to play front control window

Audion.activate :
tell application "Audion 3" to activate

Audion.previous track:
tell application "Audion 3" to previous track front control window

Audion.stop:
tell application "Audion 3" to stop front control window

Audion.next track:
tell application "Audion 3" to next track front control window

The beauty of the media keys under 10.3 is that you can control Audion on an other user session (no need to switch to the user who launched Audion)

Any idea or suggestion to make this clean and shareable to others ?

[ Reply to This | # ]