Posted by member 3800 on 2003-02-24 10:58:22
K just trying some stuff out, not even sure I'm doing it right hehe. Here's what I'm trying to accomplish:
I have a shortcut in the top corner and when I press the "button" it will hide/show a box.
k here's what I have so far:
step.rc:
*LsBoxCreate test.box
...
*shortcut "" 0 0 showbox.bmp .none .none !execute [!change_box_state]
...
mzScriptFile "$themedir$script.rc"
-----------------------------------
script.rc:
*Script bang !change_box_state
*Script exec !LsBoxToggle test.box
*script ~bang
-----------------------------------
also tried an !execute after the exec in the second line.
So here's the problem, when I press the button in the top corner, LsBox bawks at me and says 'Box "TEST.BOX" not Found!'
any insight? Not very familiar with doing things in mzscript yet so...
Thanks!
-Tesh
I have a shortcut in the top corner and when I press the "button" it will hide/show a box.
k here's what I have so far:
step.rc:
*LsBoxCreate test.box
...
*shortcut "" 0 0 showbox.bmp .none .none !execute [!change_box_state]
...
mzScriptFile "$themedir$script.rc"
-----------------------------------
script.rc:
*Script bang !change_box_state
*Script exec !LsBoxToggle test.box
*script ~bang
-----------------------------------
also tried an !execute after the exec in the second line.
So here's the problem, when I press the button in the top corner, LsBox bawks at me and says 'Box "TEST.BOX" not Found!'
any insight? Not very familiar with doing things in mzscript yet so...
Thanks!
-Tesh