PDA

View Full Version : Help with Itunes Next/Fast Forward Button


reyrios
01-31-2005, 09:21 AM
Hello all,

I have enhanced the Itunes Prfile, but I cannot get the follwoing behavior:

In iTunes, you can click on the next button (>>) (1) once and skip to the next song or (2) you can click and hold down to fast forward the song. I can not get number 2 working.

I have tried to do these but no luck. What am I missing? I am running Windows XP and Media Basic.

Down - Only performs the Action on the initial press of the button.
DownRepeat - Performs the Action on the initial press and repeats the action over and over while the button is held down.
Repeat - Only performs the Action after the button has been held down.
Up - Only performs the Action when the button is let go.

Here is the profile:

<Profile Type="SnapStream.Firefly.Core.Profile" Name="iTunes" ShowOSD="True">
<Identifier ClassName="iTunes" WindowText="iTunes" FileName="D:\iTunes\iTunes.exe" />
<Actions Button="Right" Description="Right">
<KeyAction Keys="{right}" />
</Actions>
<Actions Button="SkipBack" Description="Previous Track">
<KeyAction Keys="^{left}" />
</Actions>
<Actions Button="SkipForward" Description="Next Track">
<KeyAction Keys="^{right}" />
</Actions>
<Actions Button="Pause" Description="Pause">
<KeyAction Keys=" " />
</Actions>
<Actions Button="Play" Description="Play From Start">
<KeyAction Keys="{enter}" />
</Actions>
<Actions Button="Stop" Description="Stop">
<KeyAction Keys="%(ct)" />
</Actions>
<Actions Button="Menu" Description="Visualizer">
<KeyAction Keys="^T" />
</Actions>
<Actions Button="VolumeDown" Description="Volume Down">
<KeyAction Keys="%(cd)" />
</Actions>
<Actions Button="VolumeUp" Description="Volume Up">
<KeyAction Keys="%(cu)" />
</Actions>
<Actions Button="A" Description="Shuffle">
<KeyAction Keys="%(cs)" />
</Actions>
<Actions Button="Options" Description="Tab Forward">
<KeyAction Keys="{tab}" />
</Actions>
<Actions Button="Right" Description="Right">
<KeyAction Keys="{right}" />
</Actions>
<Actions Button="Left" Description="Left">
<KeyAction Keys="{left}" />
</Actions>
<Actions Button="Down" Description="Down">
<KeyAction Keys="{down}" />
</Actions>
<Actions Button="Up" Description="Up">
<KeyAction Keys="{up}" />
</Actions>
<Actions Button="OK" Description="Select">
<KeyAction Keys="{enter}" />
</Actions>
<Actions Button="Exit" Description="Exit">
<KeyAction Keys="{esc}" />
</Actions>
<Actions Button="Info" Description="Show Current Song">
<KeyAction Keys="^l" />
</Actions>
<Actions Button="D" Description="Mini Player">
<KeyAction Keys="^m" />
</Actions>
<Actions Button="ChannelDown" Description="Page Down">
<KeyAction Keys="{pgdn}" />
</Actions>
<Actions Button="ChannelUp" Description="Page Up">
<KeyAction Keys="{pgup}" />
</Actions>
<Actions Button="FastForward" Description="Fast Forward">
<KeyAction ActivationState="Down" Keys="{right}" />
</Actions>
</Profile>

aaronmielke
02-03-2005, 11:51 AM
You need to use a specialkeyaction like this similar to the pinball profile:

<Actions Button="FastForward" Description="Fast Forward">
<SpecialKeyAction Type = "Down" ActivationState = "Down" Key = "right" />
<SpecialKeyAction Type = "Up" ActivationState = "Up" Key = "right" />
</Actions>

This fakes a keydown with the right arrow key when you press the fast forward button and fakes a key up with the right arrow key when you release the fast forward button. Notice that the 'key' values are dfferent with the specialkeyaction as compared to the regular keyaction.