PDA

View Full Version : Winamp play/pause question



Ron
October 13th, 2002, 12:55 PM
Are you 1000000% percent sure that the target is correct ? Because programs do crash if you send the wrong window messages to them, girder is no exception to this rule.

Ron
October 13th, 2002, 12:55 PM
What does this message do ? (give link to info and summarize) If winamp responds to this with a message back or something that could mess up girder. Did it used to work in an older version ?

Ron
October 13th, 2002, 12:55 PM
Quail send me your .gml file. Please also mention where I can find the command in question in your tree.

Ron
October 13th, 2002, 12:55 PM
I tested your .gml file and it works just fine for me. What version of winamp and Girder are you using ?

Ron
October 13th, 2002, 12:55 PM
I have 2.79 and it works just fine, what Girder version do you have, what windows version... give as much info as possible.

jediperry
October 13th, 2002, 12:55 PM
Try something like this (http://www.girder.nl/phpBB2/viewtopic.php?t=977).

Mike

jediperry
October 13th, 2002, 12:55 PM
OK, I'm a bit short of time so the best thing would be if you save this (http://www.cus.org.uk/~pez/WAplaycont.GML) and import it into your winamp group. You should just need to relearn one of the events in the multigroup with a key from your remote and it should work.

Mike.

jediperry
October 13th, 2002, 12:55 PM
Pass... Ron?

oe1k
October 13th, 2002, 12:55 PM
Not to stifle the techno-geek in us all, but I just run PlayPause.exe from the Winamp Control Executables http://www.winamp.com/plugins/detail.jhtml?componentId=29828
which also has the advantage of launching winamp if it isn't already open (which I like)
-Richard

mattwire
October 13th, 2002, 12:55 PM
From the winamp API docs:

int ret=SendMessage(hwndWinamp,WM_USER, data, id);

id=104 Returns the status of playback. If 'ret' is 1, Winamp is playing. If 'ret' is 3, Winamp is paused. Otherwise, playback is stopped.

By the way, this works fine for me.
I've got the target window set up as follows:
-Nothing checked except Class Name.
-Class Name=Winamp v1.x

mattwire
October 13th, 2002, 12:55 PM
Can you send me your gml as well. There's a couple of things I want to check to see whether they cause problems.

SouthyPar
October 13th, 2002, 12:55 PM
Yeah, but it's really not difficult to make Girder start Winamp if it is needed, so no big advantage there.

Quail
October 13th, 2002, 12:55 PM
It gives me the following error:

Title: Girder
Window Type: Message Box
Icon Type: Error
Buttons: OK
Error Text: Access violation at address 00403CB7 in module 'Girder.exe'. Read of address 00000001

This error pop-ups when using the SendMessage v1.51 with parameters:
Message Number: 1024
wParam: 0
lParam: 104
Save in Register: 1

Target Window: Winamp

Can you tell what is the problem? I'm using girder 3.1 with WindowsXP

Quail
October 13th, 2002, 12:55 PM
yeah - I triple checked by using the "find window" button in the taget select window.

Quail
October 13th, 2002, 12:55 PM
Is there a soultion to my problem then? is it a bug? :-?

Quail
October 13th, 2002, 12:55 PM
Sent.

Quail
October 13th, 2002, 12:55 PM
Tested it on 2.79 and 2.8, didn't work on either.

Quail
October 13th, 2002, 12:55 PM
It gives me the following error:

Title: Girder
Window Type: Message Box
Icon Type: Error
Buttons: OK
Error Text: Access violation at address 00403CB7 in module 'Girder.exe'. Read of address 00000001

This error pop-ups when using the SendMessage v1.51 with parameters:
Message Number: 1024
wParam: 0
lParam: 104
Save in Register: 1

Target Window: Winamp

Can you tell what is the problem? I'm using girder 3.1 with WindowsXP
As you can see I already posted all information possible

Quail
October 13th, 2002, 12:55 PM
sent. again :wink:

nate
October 13th, 2002, 12:55 PM
Hey guys,
I just got my PB reciever and am setting everything up to my liking, mostly for winamp, and have a question for you. I want to designate 1 button to play/pause so that it goes something like this:
with winamp open->
1)hit the button and winamp plays
2)while playing hit button, pauses winamp
3)while paused hit button, resumes playing

I'm sure that there's a way to do this, but I am still trying to figure things out, so I am hoping someone can walk me through the process so I can finish my winamp configuration. So far the program seems to be working great although it's a tad confusing at times. Anyway, thanks for any help you can give me.

nate

nate
October 13th, 2002, 12:55 PM
ok I tried to follow those directions the best that I could but still no go(the first set). It keeps saying command not found. Thanks for the help so far. I can't quite understand how to do the part at the bottom of the page(link) so if you could try and clarify that I would appreciate it greatly.

nate
October 13th, 2002, 12:55 PM
thank you so much! It works awesome now!

hyperactive98
October 13th, 2002, 12:55 PM
that file doesnt work 4 me. when i press the button, it restarts the song instead of pausing it. if i highlight the song and press the button, it plays. so, just the pause doesnt work. its seems like checkstate isnt doing its job.