Posted by member 12025 on 2004-04-11 01:33:50
*script bang !setSize_prepare
*script exec !LsBoxUndock %{cur}Grip %{cur}
*script exec !pause 50
*script exec !LsBoxUndock %{cur}Grip %{cur}Shade
*script exec !pause 50
*script exec !LsBoxUndock %{cur}Grip %{cur}UnShade
*script exec !pause 50
*script exec !varSet curGrip_size %{P}{%{cur}Grip_size}
*script exec !varSet curBox_h %{P}{%{cur}Box_h}
*script exec !varSet curBox_w %{P}{%{cur}Box_w}
*script exec !varSet curShade_w %{P}{%{cur}Shade_w}
*script exec !varSet curShade_h %{P}{%{cur}Shade_h}
*script ~bang
*script exec !LsBoxUndock %{cur}Grip %{cur}
*script exec !pause 50
*script exec !LsBoxUndock %{cur}Grip %{cur}Shade
*script exec !pause 50
*script exec !LsBoxUndock %{cur}Grip %{cur}UnShade
*script exec !pause 50
*script exec !varSet curGrip_size %{P}{%{cur}Grip_size}
*script exec !varSet curBox_h %{P}{%{cur}Box_h}
*script exec !varSet curBox_w %{P}{%{cur}Box_w}
*script exec !varSet curShade_w %{P}{%{cur}Shade_w}
*script exec !varSet curShade_h %{P}{%{cur}Shade_h}
*script ~bang
When this bang goes off, I get three error dialogs for !pause, parameters 50. If !pause is used elsewhere, it's fine, but not in this !bang or the one after it. However, without the pauses, it moves the boxes, while docked, from further !bangs, and then they are redocked before anything gets done, aside from moving the boxes to the last position the master box is moved--so the !pause is necessary just before they start getting resized and moved. Also, without a pause after each undocking, there's a single !pause error and the boxes undocked are nonresponsive (they display, but any clicking goes to the windows below).
Any suggestions for getting this to work w/o errors?