PDA

View Full Version : getting Winamp to Restore


tgoviper
01-06-2005, 06:06 PM
Whoever made the long thread about the profiles deserves many thanks.
It was extremely helpful.

I got Winamp to minimize using the 'D' key but am having trouble restoring it once it's minimized. I realized I can just hit the "Music" button to bring it back
up again but I hate leaving a problem unsolved.

So I am able to minimize winamp using the 'D' key but if it's already in the minimized state, it won't go back to restore. Here's what I've got for it in the Winamp XML...

<Actions Button="D" Description="Minimize">
<ShowWindowAction Type="MINIMIZE" IfAlreadyInState="RESTORE" ActivationState="Down" />
</Actions>

any ideas? thanks in advance!

aaronmielke
01-07-2005, 12:31 PM
Add another action like this:

<ShowWindowAction Type="RESTORE" IfAlreadyInState="MINIMIZE" ActivationState="Down" />

You may need to fiddle with the "iIfAlreadyInState". Firefly will try to execute both actions, but since the window can only be in one state at a time, only 1 will get executed.