PDA

View Full Version : Winamp - Volume, scroll through playlist, others?



Punkrulz
September 7th, 2003, 02:02 PM
Heya,

Well miraculously I figured out what I needed to do... I looked at one of the Winamp groups, and noticed the mouse parameter thingies, and discovered how I went about getting them. There are a few things that I don't quite know how to do, I've searched through the forum but wasn't able to find anything relevant.

1) Is there a way that I can make it so that I hit the volume + button, and it will increase it by 1%? Also doing so if I hold it, it will change volume that way? Same applies to volume decrease...

2) Is there a way I can scroll through the playlist using the remote? If so, what parameters would I have to do that? The only thing I could think of would be if it were to select the right window, and then use the keyboard up and down arrows, but I don't know how I'd make it select that window when I would hit the button.

3) Is there a way I can bind two commands to one key, but it initializes them once? I'm referring to the such thing as play / pause being in the same key, as that's how it's setup with my remote... hitting it once will play it, and if winamp is playing hitting it again will stop it. Only thing is I don't know how if I were to make that, where it would perform both actions at the same time, thus cancelling it out... There are seperate buttons on Winamp for pause, so I'm not quite sure what I'd do.

I think that's it for now, as I said I wasn't able to find anything relevant to these searching through the forums, any ideas?

black
September 8th, 2003, 08:30 AM
At first how to control WinAmp: send appropriate message to winamp main window. List of messages here: http://www.winamp.com/nsdn/winamp2x/dev/sdk/api.jhtml;$sessionid$M23TMSDTV3MCO5YAAAARC0Q. So Girder can do only what allow WinAmp not more nether less.
Maybe folowing node will helpful for you http://www.girder.nl/phpBB2/viewtopic.php?t=2020. Also i have write for myself Girder LIRC emulator plugin which allow use WinLIRC plugin for WinAmp http://winlirc.sourceforge.net and also other apps. If you interesting for it send message for me tyukh@mail.ru.

black
September 8th, 2003, 08:49 AM
Re: 3) Is there a way I can bind two commands to one key
Simplest way using multigroups and states. Idea is use multigroup to handle event and state to perform apropriate command. Please refer to help in this site. Simple example: define multigroup play/pause, bind event to multigroup, then add commands play and stop with propertly command actions, and define state 1 of 2 for play and state 2 of 2 for pause. Try it. Have fun.