Posted by member 843 on 2004-05-17 21:19:17
I'm trying to create a winamp control using dynamp, using only one button to play/pause the current song.
the play and pause buttons were created using layercut, with the pause button group starting hidden.
However, on a !recycle, the play button would be showing, even if winamp were already playing a song.
So i was thinking about using mzscripts Start command to do a search with one.dll (v0.7) for the "Winamp [Stopped]" or "Winamp [Paused]" title to show/hide the corresponding buttons.
(the !about and !none commands were used for testing)
However, it doesn't do anything, wathever is the status of the current song on winamp.
So.. am I doing anything wrong here?
the play and pause buttons were created using layercut, with the pause button group starting hidden.
However, on a !recycle, the play button would be showing, even if winamp were already playing a song.
So i was thinking about using mzscripts Start command to do a search with one.dll (v0.7) for the "Winamp [Stopped]" or "Winamp [Paused]" title to show/hide the corresponding buttons.
*Script bang !StartUp
*Script exec !One "*Winamp*" "* Winamp [Stopped]" #w !About !none
*Script ~bang
*Script Start !StartUp
*Script exec !One "*Winamp*" "* Winamp [Stopped]" #w !About !none
*Script ~bang
*Script Start !StartUp
(the !about and !none commands were used for testing)
However, it doesn't do anything, wathever is the status of the current song on winamp.
So.. am I doing anything wrong here?