home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
tasklist.zip
/
readme.1st
next >
Wrap
Text File
|
1996-03-22
|
3KB
|
116 lines
Task list listing and hiding Utility
------------------------------------
Copyright (c) Secant Technologies, 1996
Author: Chas Honton (chas@secant.com)
This file: Tim Lengel (tim@secant.com)
Purpose: This program will list all sessions running under OS/2 and it
will hide certain sessions from the task list and ALT-TAB cycle.
It was created to hide certain servers from novice OS/2 users on
remote systems who might accidentally (or purposefully) bring up
the windows and interfere with the processing (e.g. close the windows
to get rid of them instead of minimizing them).
Usage: tasklist [options] [sessionname]
Options:
+v : Makes the specified session visible in the window list
brought up with CTRL-Esc (or click both mouse buttons).
-v : Makes the specified session invisible in the window list
brought up with CTRL-Esc (or click both mouse buttons).
+j : Allows the specified session to come up in the ALT-TAB
cycle.
-j : Removes the specified session from the ALT-TAB cycle
[sessionname]: The name of the session (or the sessionid)
If no parameters are given, all sessions will be listed with
their current status in terms of task list visibility and ALT-TAB
cycle.
"Run through" Example:
====================
(output may differ depending on contents of list, of course)
> = input to command shell (assuming tasklist.exe is in the path)
< = output to screen
[ = contents of Window List (CTRL-ESC)
Just display tasklist:
> tasklist
< Switch to (1): -v -j
< Desktop (12): +v +j
< Workplace Shell (12): -v -j
[ Desktop-Icon View
Start a session:
> start cmd.exe
Display again
> tasklist
< Switch to (1): -v -j
< CMD.EXE (19): +v +j
< Desktop (12): +v +j
< Workplace Shell (12): -v -j
[ Desktop-Icon View
[ CMD.EXE
Now hide the Session from the CTRL-ESC:
> tasklist -v CMD.EXE
< CMD.EXE (19) -v +j
[ Desktop-Icon View
CMD.EXE is not in the CTRL-ESC list but you can
still press ALT-TAB to get to it.
Now take the Session out of the ALT-TAB cycle:
> tasklist -j CMD.EXE
< CMD.EXE (19) -v -j
Now you can't get to CMD.EXE via ALT-TAB
Restore CMD.EXE back to task list and ALT-TAB cycle:
> tasklist +v +j CMD.EXE
< CMD.EXE (19) +v +j
List again:
> tasklist
< Switch to (1): -v -j
< CMD.EXE (19): +v +j
< Desktop (12): +v +j
< Workplace Shell (12): -v -j
[ Desktop-Icon View
[ CMD.EXE
Keep in mind, a session that is not in the CTRL-ESC window list or ALT-TAB
cycle can still be seen and given focus to (via mouse click) if it is not
minimized. If you truly want to make the process invisible you must start
the session minimized ( start /min ).
This program is freeware.
DISCLAIMER OF WARRANTY
======================
THIS SOFTWARE IS DISTRIBUTED "AS IS" AND WITHOUT WARRANTIES AS TO
PERFORMANCE OR ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED.
BECAUSE OF THE VARIOUS HARDWARE AND SOFTWARE ENVIRONMENTS INTO WHICH
THIS PROGRAM MAY BE PUT, NO WARRANTY OF FITNESS FOR A PARTICULAR
PURPOSE IS OFFERED. THE USER MUST ASSUME THE ENTIRE RISK OF
USING THE PROGRAM.