|
Loto Apprentice
Joined: 05 May 2003 Posts: 194
|
Posted: Thu Aug 12, 2004 4:23 am
Pictures only on buttons? |
I got a thing off the Finished Scripts forum to control WinAmp from zMUD, and added pictures to the buttons, but how do I make it so there's ONLY the picture? This is the script so far, but as it is it makes a button something like this, where * represents the picture:
|--------|
|* Pre..|
#CLASS {zMUDampButtons}
#BUTTON 1 {Previous} {
#call @Winamp.Rewind
#var currentsong @Winamp.CurrentSongTitle
#var songtime @Winamp.CurrentPos
#var songstatus %case( @Winamp.Status+1, "Stopped", "Playing", "Unkown", "Paused")
} {} {} {} {} {C:\Documents and Settings\Alex\Desktop\Buttons\Rewind.bmp} {} {} {} {} {} {} {} {} {} {} "" {} {} {}
#BUTTON 2 {Play} {
#call @Winamp.Play
#var song @Winamp.CurrentSongTitle
#var songtime @winamp.CurrentPos
#var songstatus %case( @Winamp.Status+1, "Stopped", "Playing", "Unkown", "Paused")
} {} {} {} {} {C:\Documents and Settings\Alex\Desktop\Buttons\Play.bmp} {} {} {} {} {} {} {} {} {} {} "" {} {} {}
#BUTTON 3 {Pause} {
#call @Winamp.Pause
#var song @Winamp.CurrentSongTitle
#var songtime @winamp.CurrentPos
#var songstatus %case( @Winamp.Status+1, "Stopped", "Playing", "Unkown", "Paused")
} {} {} {} {} {C:\Documents and Settings\Alex\Desktop\Buttons\Pause.bmp} {} {} {} {} {} {} {} {} {} {} "" {} {} {}
#BUTTON 4 {Stop} {
#call @Winamp.Stop
#var song @Winamp.CurrentSongTitle
#var songtime @Winamp.CurrentPos
#var songstatus %case( @Winamp.Status+1, "Stopped", "Playing", "Unkown", "Paused")
} {} {} {} {} {C:\Documents and Settings\Alex\Desktop\Buttons\Stop.bmp} {} {} {} {} {} {} {} {} {} {} "" {} {} {}
#BUTTON 5 {Next} {
#call @Winamp.FastForward
#var song @Winamp.CurrentSongTitle
#var songtime @Winamp.CurrentPos
#var songstatus
#var songstatus %case( @Winamp.Status+1, "Stopped", "Playing", "Unkown", "Paused")
} {} {} {} {} {C:\Documents and Settings\Alex\Desktop\Buttons\FF.bmp} {} {} {} {} {} {} {} {} {} {} "" {} {} {}
#CLASS 0
[/code] |
|
_________________ *Llewlyn* makes a strange sound but is suddenly very silent as you place a silver sai in his back! |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Aug 12, 2004 10:13 am |
The words are at the bottom of the picture. Simply go to the Position/Size tab for each button in the Settings Editor. Turn off automatic sizing and then reduce the height of the buttons.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Loto Apprentice
Joined: 05 May 2003 Posts: 194
|
Posted: Thu Aug 12, 2004 8:29 pm |
That didn't work very well because it pushed the top half of the button off the screen. So I copied the stuff out of the Class Script and removed the captions for the buttons. It works now, but I found something very strange. This is what the script looks like now. It shows up when I check the Class Script for the folder 'zMUDampButtons' but when I go into the settings editor, nothing is there. It doesn't bother me because I've got it how I want it now, but I think it might be a bug.
#CLASS {zMUDampButtons}
#BUTTON 1 {Stop} {
#call @Winamp.Rewind
#var song @Winamp.CurrentSongTitle
#var songtime @Winamp.CurrentPos
#var songstatus %case( @Winamp.Status+1, "Stopped", "Playing", "Unkown", "Paused")
} {} {} {} {} {C:\Documents and Settings\Alex\Desktop\Buttons\Rewind.bmp} {} {} {} {} {} {} {} {} {} {} "" {Explore|Top} {} {} {2}
#BUTTON 2 {} {
#call @Winamp.Play
#var song @Winamp.CurrentSongTitle
#var songtime @winamp.CurrentPos
#var songstatus %case( @Winamp.Status+1, "Stopped", "Playing", "Unkown", "Paused")
} {} {} {} {} {C:\Documents and Settings\Alex\Desktop\Buttons\Play.bmp} {} {} {} {} {} {} {} {} {} {} "" {Explore|Top} {} {} {2}
#BUTTON 3 {} {
#call @Winamp.Pause
#var song @Winamp.CurrentSongTitle
#var songtime @winamp.CurrentPos
#var songstatus %case( @Winamp.Status+1, "Stopped", "Playing", "Unkown", "Paused")
} {} {} {} {} {C:\Documents and Settings\Alex\Desktop\Buttons\Pause.bmp} {} {} {} {} {} {} {} {} {} {} "" {Explore|Top} {} {} {2}
#BUTTON 4 {} {
#call @Winamp.Stop
#var song @Winamp.CurrentSongTitle
#var songtime @Winamp.CurrentPos
#var songstatus %case( @Winamp.Status+1, "Stopped", "Playing", "Unkown", "Paused")
} {} {} {} {} {C:\Documents and Settings\Alex\Desktop\Buttons\Stop.bmp} {} {} {} {} {} {} {} {} {} {} "" {Explore|Top} {} {} {2}
#BUTTON 5 {} {
#call @Winamp.FastForward
#var song @Winamp.CurrentSongTitle
#var songtime @Winamp.CurrentPos
#var songstatus %case( @Winamp.Status+1, "Stopped", "Playing", "Unkown", "Paused")
} {} {} {} {} {C:\Documents and Settings\Alex\Desktop\Buttons\FF.bmp} {} {} {} {} {} {} {} {} {} {} "" {Explore|Top} {} {} {2}
#CLASS 0 |
|
_________________ *Llewlyn* makes a strange sound but is suddenly very silent as you place a silver sai in his back! |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|