taskbar3 and lsbox Thread last updated on 2003-11-02 08:10:50

Posted by member 33819 on 2003-11-01 18:54:07

I'm trying to create an autosizing lsbox containing taskbar3 that resizes as tasks are added and removed.

Ive created the following bang command to resize the 'taskbox' lsbox when a task is added. however it doesnt work.
*script bang !GrowTask
*script exec !varAdd tasksboxwidth 40
*script exec !ifeval ("%{taskboxloaded}" = "1") '|LsBoxResize taskbox %{tasksboxwidth} 40' else '|none'
*script exec !TaskbarGrow 40
*script ~bang

BUT if I replace 'taskbox' with the name of another lsbox then that box will resize. basically it will resize any lsbox except the one containing taskbar3.

Any ideas???

Posted by member 33819 on 2003-11-02 08:10:50 link

ive also written an almost identical bang so systray2 can resize its own lsbox and that one works.

only seems to be the taskbar box that wont play ball...