Hide Scheduler Script		June 10,1993   


The following script allows you to overcome the fact that the
Scheduler Icon cannot be hidden. 

;First start the scheduler
Exec "WNSD"
Attach "WNSD_Scheduler1"
;Make it an icon, then move it off the screen
Minimize "WNSD_Scheduler1"
Move To 800,800
;Now attach the script run icon itself, and also move it away
Attach "WNSRUN_D:\CPS\DATA\HIDESD.RUN1"
Move To 840,840
; Define a hot key (in this case using CTL ALT S) to
; bring the scheduler icon back anytime we want it
Define Keyboard Event RestoreScheduler
	"{Ctrl {Alt s}}" Throwaway
	In Any Window
EndDef
;Wait for the hot key combination, then bring the scheduler icon back
Wait until RestoreScheduler
Attach "WNSD_Scheduler1"
Move To 10,420


First, start the script tools, and paste the above script. Unless
you need modifications (see description below), just give it the
name, HIDESD, and select Test Run. This will create the HIDESD.RUN
file. Now replace the WNSD (scheduler) icon in your startup folder
with this script. Easiest way is to just drag the file out of the
File Manager (it will be in your \CPS\DATA sub directory) to your
desktop, and then drag into the startup folder. Thereafter, when
you start PCT4W, the script will execute, load the scheduler, and 
then move both the scheduler icon and its own icon off the screen.
If you later need to work with the scheduler, just enter the hot
key CTL ALT S, and the minimized icon will come back into view.

If you forget the hot key, or anything happens that seems to prevent
you from getting the scheduler back, you can always open the task
manager (just double click somewhere on the desktop), and select 
TILE... that will bring the scheduler back.

POSSIBLE ALTERATIONS NEEDED:

If you are running at a higer video resolution than 800 x 600, you
should modify the two Move To's to a larger number so that the
icons are actually moved off your screen.

You also may wish to change the location for the return move of
the icon to another location. That's entirely your choice. Remember
that 0,0 is the upper left top corner. 

Also, note the line
	Attach "WNSRUN_D:\CPS\DATA\HIDESD.RUN1"

You need the full path to where the \CPS\DATA subdirectory where the
actual HIDESD.RUN file is located. Mine is on my D: drive, yours may
be somewhere else, so that line also should be changed if necessary.

If you are already using the CTL ALT S hot key combination, you 
will need to assign a different combination.
 
Finally, you should note that once you 'bring the scheduler' back,
the script terminates. If you, for example, bring the scheduler
back and schedule a new event, rather than minimizing it when you
are ready, close the scheduler. Then simply run the script again,
this will start the process over again.


K.Jeffrey Carr
CISID  76226,1045