Posted by member 138111 on 2004-05-30 20:59:02
The problems began when I found that some of my modules (Jamptoo, Vtray, Kclock, RabidVWM, LSXCommand, LSbox, and the shortcuts created using Layercut) were staying on top whilst I was playing full screen games. So, I decided to create a script using MzScript that would toggle the visibility of these modules.
I downloaded MzScript, added the loadmodule line, and wrote these lines into step.rc:
*script exec !kclocktoggle
*script exec !togglecommand
*script exec !VWMshow toggle
*script exec !ShortcutGroupToggle 100
*script exec !vtraytoggle
*script exec !jamptoggle
*script exec !LsBoxToggle slider
*script ~bang
Unfortunately, when I type "!toggledesktop" into LsxCommand, it does nothing..
I've also tried placing the code in a "scripts.rc" file, and using the "mzScriptFile "C:\scripts.rc" " command to link the two.
I am now completely stumped, and fear I've made some kind of newbie mistake. Any help would be welcome!
The second problem developed when I finally gave up on trying to make MzScript work, and just deleted the whole thing from my step.rc.
Basically, the problem is that the LsBox containing LsSlider is no longer showing, there is just a rectangular gap where the box should be. Attempting to toggle the visibility of the box by typing "!lsboxtoggle slider" into LsxCommand has resulted in the message "Box SLIDER not found".
I have tried this command using quotations around the name, and using the name of the actual box file, all to no success.
I have totally _no_ idea why this has gone wrong, because it worked fine for many a day, and I have made no changes to its code. Here is the script I am using.
Step.rc -
slider.box -
LsBoxX 608
LsBoxY 14
LsBoxHeight 16
LsBoxWidth 120
*modulehook !Sliderhook "Winamp" 0 0 11 sliderback.bmp Slider.bmp HAI [VOLUME] 0
LsBoxAlphaTransparency 200
Now Im not sure what the problem is at all.. I've moved the order of the LoadModule commands (under advice, I have loaded LsBox last), I have changed the positioning of the LsBox, and the Slider within, just to find out if I've secretly hidden it under something, I have also renamed the file, moved it around, changed the path, and reinstalled both modules. I literally have no idea what is going on, but once again I feel I've made some form of newbie mistake.
Well, I hope some of you guys can help me with my problems, and I hope to hear from you soon.
Thanks in advance!