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.
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???
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
*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???