TrayTasks 1.8
About:
This module will show you a currently-running-tasks in systray. Of course it is useful when your taskbar is hidden (as mine) and you don't want to use any task manager in wharf.
Installation:
If you're using OTS2 compatible distro, just put this line to your theme.rc
*NetLoadModule TrayTasks-1.8
Note: To avoid crashes on recycles in Win98 load TrayTasks BEFORE module which provides system tray in your system (systray2 or vTray).
That's all. Now all your tasks will be in systray.
Customize it as you want. See details Configuration section.

Features:

TrayTasks displays the currently running tasks.

The module provides standard behavior:

  • A Click will bring the program on top.
  • A Right-Click will pop up a program's system menu,
  • A Right-Click in separating area shows !Popup menu.
  • A Click on icon of foreground app minimizes it.
  • Also you can assign and use keys-mouse combinations for
  • closing windows
  • minimizing windos
  • (un)maximizing windows
  • It is possible to have a visual separation between current task icons and icons of trayed apps (TrayedRoom and SystraySize modes).

    You can define any windows always visible/hidden by caption or class name. Now you can see icon for apps usually not shown in taskbar (e.g. control panel applets as me)

    Foreground task icon is shown highlighted with system selection color.

    up
    Sample config file:
    ;===============================================
    ; Taskbar in systray (TrayTasks v1.8)
    ;-----------------------------------------------

    ;it is enough to use default settings...

    *NetLoadModule TrayTasks-1.8
    TrayTasksSeparate ; but I prefer to have separator...
    TrayTasksUseFlashing ; and tasks flashing support...
    TrayTasksFlashAsSelected
    up
    Configuration:
  • TrayTasksDefaultIcon [icon]
    Default icon for iconless tasks. Example:
       TrayTasksDefaultIcon .extract=e:\litestep\icons\bebox2.dll
    Also you may use "TrayTasksDefaultIcon 1" for standard IDI_WINLOGO icon.
       TrayTasksDefaultIcon 1

    Default: standard IDI_APPLICATION icon
  • TrayTasksLargeIcons [false/true]
    Prefer to use large app icons (It can be useful when your tray icon size noticeably larger then 16x16)
    Default: false
  • TrayTasksNoHighlight [false/true]
    Disable highlighting of the foreground task icon
    Default: false
  • TrayTasksNoReorder [false/true]
    Disable autoreordering feature. If set, separating would be disabled too.
    Default: false
  • TrayTasksSeparate [false/true]
    Enable separating feature. You'll see 'TrayTasksSepCount' separating icons between trayed and normal tasks.
    Default: false
  • TrayTasksSepIcon [icon]
    Image for separating icon. It can be path to .ico or .cur file or ".extract=" expression (see LSDocs for details)
    Default: empty icon
  • TrayTasksSepCount [number]
    Fixed number of separating icons. Ignored in "trayed room" mode (see below).
    Default: 1
  • TrayTasksTrayedRoom [number]
    Number of cells in "trayed room" (room for trayed tasks). TrayTasks fills free cells with separating icons. This feature keeps icons of normal tasks in one separated area.
    Default: 0, feature disabled
  • TrayTasksSystraySize [number]
    Number of cells in systray. TrayTasks fills free cells with separating icons. This feature make icons of tasks and trayed apps growing towards each other from opposite ends (Googer's idea)
    Default: 0, feature disabled.
  • TrayTasksStartHidden [false/true]
    Set if you want TrayTasks is invisible on start. Show trayed taskbar by !TrayTasksToggle
    Default: false
  • TrayTaskNoAutoMinimize [false/true]
    This way you can switch auto-minimize feature off
    Default: false
  • TrayTasksHideMinAppBar [false/true]
    TrayTasks can hide minimized app bars if needed
    Default: false
  • TrayTasksSwitchAlways [false/true]
    Force task switching in VWM enviroment with NoSwitchOnFocus enabled.
    Default: false
  • TrayTasksUseFlashing [false/true]
    Set this to 'true' and icons of flashing windows (chat windows of IM-client, etc.) would flash too.
    Default: false
  • TrayTasksFlashAsSelected [false/true]
    If set flashing is a sequentional changing of tinted and regular icons.
    Default: false, flashing is a changing of regular and empty icons
  • TrayTasksCloseOn [keys]
    TrayTasksMinimizeOn [keys]
    TrayTasksUnMaximizeOn [keys]
    Keyboard-mouse strokes for closing, minimizing and (un)maximizing.
    Combination consists of Ctrl, Alt and/or Shift modifiers separated with space and mouse button letter:
    'l' for left button click
    'L' for left button double click
    'm' for middle button click
    'M' for middle button double click
    'r' for right button click
    'R' for right button double click
    Example:
      TrayTasksCloseOn "Ctrl Alt l"
    TrayTasksMinimizeOn "Shift l"
    TrayTasksUnMaximizeOn " m"
    Default: disabled
  • Also you may use filtering feature to always hide or show specified windows.
    Just put the following lines in your config files:

    *TrayTasks "substring" <type> <action>
    where 'type' is:
  • Caption - for searching substring in window's caption
  • Class - for searching substring in window's class name
  • You can see window's class name in tooltip when Ctrl+Alt+Shift is pressed
    Action is:
  • hide - for hiding specified window
  • show - for showing specified window which usually invisible in taskbar (e.g. control panel applets)
  • Example:
    *TrayTasks "RasmonWndClass" Class hide
    *TrayTasks "#32770" Class show
    up
    !Bangs:
    There is only one !bang exported by this module:
  • !TrayTasksToggle
    Toggle visibility of tasks icons in tray.
  • up
    Thanks:

    Matt Legowski (Googer) and Traver Allen Wall for unvalued help with testing.

    Rilindo B Foster, Matt Legowski (Googer), Lucificus Abbadon (Affectator), Nax,Traver Allen Wall, Dana Browder, Jugg and all other users for bugs reporting.

    R. Pell, Carlos Foster, Rilindo B Foster, Traver Allen Wall, Edward Kreis, Wouter Meijerink, Mike Brown, Quattro, Kryten, Matt Legowski (Googer), Sergey V. Popov and all other users for suggestions.

    up
    Changelog:
    Version 1.8 (06.04.2004, Seg@)
  • FIXED: default separating icon was shown as a question sign instead of empty icon
  • ADDED: flashing tasks support (see TrayTasksUseFlashing and TrayTasksFlashAsSelected)
  • Version 1.7 (05.09.99)
  • Right click in separating area shows !Popup menu.
  • Improved system menu handling.
  • Improved icons counting stability in modes with separating.
  • Fixed bug with crashes on recycles in Win98. BUT TrayTasks must be loaded BEFORE module providing system tray (usually systray.dll).
  • Added AutoMinimize feature - minimizing foreground apps by single click (as in Explorer with ActiveDesktop installed). It can be set off by 'TrayTaskNoAutoMinimize' command.
  • Added minimized apps bar hiding feature (disabled by default). It can be set on by 'TrayTasksHideMinAppBar' command.
  • Minor bug fixes.
  • Version 1.6 (25.07.99)
  • Added new mode with fixed size of systray (TrayTasksSystraySize).
  • TrayTasksLargeIcons .rc command added to use large icons of apps instead small. It can be useful when your tray icon size noticeably larger then 16x16.
  • Fixed bug with icon highlighting.
  • Version 1.51 (22.07.99)
  • Fixed highlighted icon flickering.
  • Version 1.5 (21.07.99)
  • Foreground task icon highlighting added.
  • Added TrayTasksSwitchAlways to force task switching in VWM enviroment with NoSwitchOnFocus enabled.
  • Added !TrayTaskToggle bang command to toggle visibility TrayTasks and corresponding step.rc command TrayTasksStartHidden to start the module in invisible state.
  • Version 1.4 (18.07.99)
  • Used code by Maduin that allows other modules to take over the functionality of Systray in new LS builds. Now you can use Systray and TrayTasks together! But for old LS builds you have to stay with version 1.3 :(
  • Sysmenu handling bug in Win98 fixed
  • Version info shown in !About and !AboutDetails commands added
  • Version 1.3 (21.06.99)
  • Sysmenu handling standardized
  • Icon changing for busy tasks fixed
  • Auto reordering feature added
  • Customizing of icon for iconless windows added
  • Customizable key-mouse strokes for closing, minimizing and (un)maximizing windows added. Now you can minimize app even if it have no minimize button!
  • Showing or hiding task's windows by caption or class name added
  • Separating trayed and normal tasks added
  • Version info added
  • Version 1.2 (27.02.99)
  • Fixed invisibility of "iconless" apps. Now winlogo icon is used for representation of those type of apps.
  • Version 1.1 (24.02.99)
  • Fixed icon flashing for busy tasks
  • Version 1.0
  • First release.
  • up
    Author :
    Handle : Sergey Trofimov
    E-Mail : s.trofimov@iname.com
    Web : http://www.tv4studios.com/st/litestep/modules.html
    ICQ : 5320409

    Handle : Sergey Gagarin a.k.a. Seg@
    E-Mail : inform-sega@freemail.ru
    Web : http://www.litestep.bip.ru/
    ICQ : 162261148
    up