N00b question probably...

but how does the WBAmp plugin work?
I know all the stuff about writing
[Button1]
Action....and such...but WHERE do i write this?
Simply don't follow...

Thx...
2,211 views 9 replies
Reply #1 Top
I used the skin BorgXP as a learning tool when I tried to add wbamp.

Mercury did point out to me that sometimes you have to add the code to the uis file using notepad. The wbamp plugin is not one of those times but it is a good idea to get familiar with the code outside of using SkinStudio.
Reply #2 Top
Naah, i seriously don't get it...
downloaded BorgXP...its a skin! How can a skin help me learn how to use plugins? I understand it is the uis file that needs modifying, but is it just to add the buttons then, just like that?:

[Button19]
Action=-4
DllName=BorgXP\WBAmp.dll
WBAmp=1
WBAmpShift=18
WBAmpCtrl=17
ButtonImage=BorgXP\wa_play.bmp
Visibility=26
Visibility1=19
Visibility2=1
...

[WBAmp]
DialogMode=0



If not, im terribly lost...
You said notepad was not the only way...what other ways could there be to install the plugin?
Reply #3 Top
This is what I would do:
Go to C:\ Program Files\Object Desktop\ WindowBlinds\BorgXP. right click on the UIS file and choose "open with", and then choose "Notepad". Look for the entries in the UIS file that pertain to the WBamp, make a note of where they are inserted in the code, and then highlight the code and hit 'control\C. Now open the UIS file of your skin in Notepad, find the section where the code was inserted in the other skin, and hit control\V. You can now open skin studio and the code should show up when you click the 'code' tab. Now you have something to work with, and you can insert your own button images.

Is this the kind of info you were looking for? If not, I'm sorry, but it's the only way I know how to learn about this kind of stuff. I hope it helps
If you need more technical advice than I have given, then I am probably not your man!
Reply #4 Top
When I put WinAMP controls in my WB skins...way back when they were first done, it was with notepad.


;**** WinAMP control buttons ****

[Button11]
XCoord = 180
YCoord = 4
Align = 1
Action = -4
DllName = BlindJafo\WBAmp.dll
WBAmp = 22
ButtonImage = BlindJafo\amp-open.bmp
Visibility = 5
Visibility1 = 1

[Button12]
XCoord = 196
YCoord = 4
Align = 1
Action = -4
DllName = BlindJafo\WBAmp.dll
WBAmp = 6
ButtonImage = BlindJafo\amp-ff.bmp
Visibility = 5
Visibility1 = 1

[Button13]
XCoord = 212
YCoord = 4
Align = 1
Action = -4
DllName = BlindJafo\WBAmp.dll
WBAmp = 3
ButtonImage = BlindJafo\amp-stop.bmp
Visibility = 5
Visibility1 = 1

[Button14]
XCoord = 228
YCoord = 4
Align = 1
Action = -4
DllName = BlindJafo\WBAmp.dll
WBAmp = 2
ButtonImage = BlindJafo\amp-pause.bmp
Visibility = 5
Visibility1 = 1

[Button15]
XCoord = 244
YCoord = 4
Align = 1
Action = -4
DllName = BlindJafo\WBAmp.dll
WBAmp = 1
ButtonImage = BlindJafo\amp-play.bmp
Visibility = 5
Visibility1 = 1

[Button16]
XCoord = 260
YCoord = 4
Align = 1
Action = -4
DllName = BlindJafo\WBAmp.dll
WBAmp = 5
ButtonImage = BlindJafo\amp-rew.bmp
Visibility = 5
Visibility1 = 1

That dates back to about '99...
Reply #5 Top
Remember though paul, you and I are used to fiddling around with the step.rc in Litestep, so the copy/paste thing isn't so daunting to us, hell, that's how I made all my Litestep themes!
Reply #6 Top
Maybe it will become a 'lost art'...using Notepad for skinning.
I never used Builderblinds, either....but there WAS a GUI 'coder' for the LS Step.rc once upon a time....didn't work too well, though...that was back around 0.24.4 or earlier...
Reply #7 Top
Ok, thx, thats probably somewhat what im looking for...
Only one thing though; WBAmp is installed in BorgXP from the beginning, righ? Well...i dont notice any change when i run winamp at all, and i am running BorgXP as my current skin...

Could there be a os prob? Im running win98, could that be it?
Reply #8 Top
No....WBAmp works in/with win98...it would have been in that OS that it was originally developed...