--- In [email protected], "chunwaihome" <chunwaih...@...> wrote:
>
> Hello,
> I would like to using 2 slider to adjust the window size with 
> horizontaly and vertically.The following is part of my bar config. But 
> it does not work, whats wrong? 
> Please copy the following text to ini file and import to pp.
> 
> [position:Properties]
> Format1 = IconSize: 16 Position: Floating
> Format2 = MaxText: 531
> Format3 = Flat
> Format4 = TopMost Border AllVDesks 3DFrame TextCenter BarSize
> 
> [1]
> id = slider
> Label = *control slider (position) 50 255 50 noticks clientedge
> Format = back: 0 128 255 Height: 22 Width: 100
> LCmd1 = *Window
> LParam1 = Position! = = +150+(cl.getctrlvalue("position","slider")
>

*Window position has 5 arguments, you have only 3 and one of them has
unbalanced parentheses. Also, to use expressions in the arguments, I
think you would need to be using dot syntax. Otherwise, you would need
evaluation &() around expressions.

You probably need to be running a script in the command block. Without
using variables, your command/parameters might get too long.

Regards,
Sheri

Reply via email to