HTML Task Switcher
This application is a response (who said overkill?) to the question "How can I not show icons in the TaskBar?".
And here you have it, a replacement TaskSwitch in HTML! Well, with a supporting dll to access the system info.
This is in no way intended as a finished product - the very fact that the GUI front-end is in HTML means that you can have
whatever you like, however you like it. It is up to you to customize the HTML page (start with the colours...).
Installation
- Register the dll
Open a command prompt and type
- Add the toolbar
Right-click on the taskbar, select 'Toolbars' then 'New Toolbar'. In the text box in the displayed dialog, type
- Position the toolbar
The default HTML TaskBar hides the 'real' task switch when it is present, but when you add the toolbar it could be anywhere - on my system it appears almost invisible on the far-right side - move it to where you want it.
Modifications
After modifying the HTML file a refresh is needed. If you have left the default background menu, right-click on the background and select 'Refresh'. Other that that, unless you have specifically added code for refreshing (a link, whatever...), you will have to (1) Remove/Add back the toolbar OR (2) Reboot.
Uninstallation
- Remove the toolbar
Right-click on the taskbar, select 'Toolbars' and uncheck the appropriate item.
- Unregister the dll
Open a command prompt and type
Details of WindowManager
The WindowManager
class allows HTML script to interact with desktop windows. The following methods are defined:
Property Get
s
var = Caption(hWnd)
: Returns the window's Caption
var = ClassName(hWnd)
: Returns the window's Class Name (useful for sorting/grouping)
var = IsMinimized(hWnd)
: Returns true
if the window is minimized, false
otherwise.
var = IsMaximized(hWnd)
: Returns true
if the window is maximized, false
otherwise.
var = IsVisible(hWnd)
: Returns true
if the window is visible, false
otherwise.
var = IsActivated(hWnd)
: Returns true
if the window is activated, false
otherwise.
var = IsTopMost(hWnd)
: Returns true
if the window is topmost, false
otherwise.
Property Let
s
IsTopMost(hWnd) = var
: Sets the window as topmost or not topmost.
Sub
s
Minimize(hWnd)
: Minimizes the Window.
Maximize(hWnd)
: Maximizes the Window.
Restore(hWnd)
: Restores the Window.
Activate(hWnd)
: Activates the Window.
DoWindowMenu(hWnd)
: Displays the Window Menu (aka System Menu) for the window.
SetShellTaskVisibility(var)
: Shows or Hides the standard Windows TaskSwitch.