Posted by member 37809 on 2004-08-30 14:43:30 link
To get taskbar3 to work in a vertical orientation you have to use scripting (mzscript). Have the OnAdd event increment a variable and the OnDel event decrement a variable; so this integer variable is your taskCount. Also on each of those events you call
!TaskbarLines taskCount
and resize the taskbar appropriately as a function of buttonHeight*taskCount+padding.
If you're using VWMHideTaskOnSwitch and/or want quick changes to the number of tasks to update faster, you could delay the resizing (a few milliseconds) using the module called timer.
!TaskbarLines taskCount
and resize the taskbar appropriately as a function of buttonHeight*taskCount+padding.
If you're using VWMHideTaskOnSwitch and/or want quick changes to the number of tasks to update faster, you could delay the resizing (a few milliseconds) using the module called timer.