LsSlider in LsBox Thread last updated on 2004-04-16 21:36:17

Posted by member 126210 on 2004-04-15 00:11:46

Im trying to get a Slider in a box...

---This is from the LSSlider Docs...

The Hooked LsBox Mode uses

!SliderHook "caption" background.bmp handle.bmp [SLIDERMODE] options

then it has
*ModuleHook !SliderHook "MainVol" 33 3 3 slider_back.bmp slider_handle.bmp HI [VOLUME] 0

as an example


---This is from the LsBox Docs

*ModuleHook ...
New Module interface - Only Rabidvwm, Tasks, Label and LsXCommand support
it, yet. You don't have to load a module before Lsbox, but the module you want to
hook must be loaded before you call the bang!
To load RabidVwm add a "VWMLoadInBox" line to your Step.rc and
a "*ModuleHook !VWMLoadBoxHook" line to the box it shall be loaded into -
if you want you can place *ALL* other settings in the Boxfile too.
To load Tasks add a "*ModuleHook !TasksBoxHook" line to your step.rc
To load Label a "*ModuleHook !LabelLsBoxHook " - works like !LabelCreate


and
*ModuleHook !SliderHook "" 13 4 0 volsliderBG.PNG volhandle.PNG v [VOLUME]

inside a .box file doesnt work

So can anyont tell me if LsBox works with LsSlider? :(

Posted by member 1 on 2004-04-15 02:33:28 link

this works for me...
*ModuleHook !SliderHook "" -$125+ResolutionX$ 0 -5 progback.png progress.png HIT [WINAMP]

Posted by member 126210 on 2004-04-15 17:40:32 link

Do i need to do anything other than put
*ModuleHook !SliderHook "" -$125+ResolutionX$ 0 -5 progback.png progress.png HIT [WINAMP]


in my anything.box file,load lsbox and lsslider, and
*LsBoxcreate $ConfigDir$Lsbox\anything.box


right now my module load order is

jdesk-0.711
lsbox-3.0-pre
lsslider-1.71
dynamp-0.50
lsxcommand-1.8.5
xlabel-2.2.1
Shortcut2-2.0.2
systray2-2.0.2
taskbar3-0.303
popup2-2.1.7
deskfolders-2.0-b4

Posted by member 125450 on 2004-04-15 23:45:47 link

This is how I setup sliders in LSBox for two vertical sliders
*ModuleHook !SliderHook "Volume" 143 4 1 sliderbg1.png sliderdot1.png V [VOLUME] 0
*ModuleHook !SliderHook "Position" 155 4 1 sliderbg2.png sliderdot1.png V [Winamp]


I always put LSBox on the bottom of the list seems to like it there.

Posted by member 1 on 2004-04-16 02:08:55 link

LSBox needs to load after whatever it is you want put into the box so the setting exist.

Posted by member 126210 on 2004-04-16 21:36:17 link

Thanks its working now.