Posted by member 99 on 2004-01-31 04:06:58 link

lsBox fills in the box file name and the window handle for you:
*ModuleHook !SkinBoxLoadBoxHook name=tester


But unfortunately you can't use the *skinbox syntax in combination with that, it'll create two separate skinboxes with the same name.

You might consider using mzscript or alias to make a bang command that will set up the box:
*script bang !SkinBoxSetup
*script exec !SkinBoxMove %{\1} %{\2} %{\3} %{\4} %{\5}
*script exec !SkinBoxOnTop %{\1} %{\6}
*script exec !SkinBoxBitmap %{\1} %{\7}
*script ~bang

testerOnCreate !SkinBoxSetup {@in} 5 5 5 5 true "c:\on.png"