| The following may help. I was trying to work a way of getting into an
ASSET. Maybe including the functionlaity in ZAP would be the best way
forward. I hve no idea of how much work would be required. Could you
give an indication if you can do this.
ANdy
<<< CSSE32::NOTESPUBLIC:[NOTES$LIBRARY]DW_EXAMPLES.NOTE;1 >>>
-< "DECwindows examples" >-
================================================================================
Note 414.0 Auto Pause (auto Lock) 38 replies
MDVAX3::HEFFERN "Steve Heffern, St. Louis, Missouri" 33 lines 16-APR-1990 14:20
--------------------------------------------------------------------------------
How to pause and then lock a DECWindows session.
I have built a little something with a lot of help from other
people that performs this useful function. It uses the screen
saver timeout value to determine the maximum amount of time
sit around waiting for the user to do something. Then it uses
a DECWINDOWS SPECIFIC method of using property notification to
determine that a user isn't using his/her keyboard or mouse.
When all seems quite long enough, the program will check for
the PAUSE window. If the PAUSE window isn't visible, it will
pop up a lock window that is a lot like the PAUSE window.
To unlock the screen, the user will have to enter their VMS
password. The password is checked using routines that will
work only on VMS 5.3 and below. (5.4 provides us with a System
Service that will replace this code, but I don't have 5.4)
The code isn't a real gem, but it works. We've been using it a
couple of days and we've come to depend on it already. We've
even put it at a customer site.
A saveset to just install AutoLock is:
REDBRD""::AUTOLOCK010.A
A saveset with AUTOLOCK010 and all the sources is:
REDBRD""::AUTOLOCK_EVERYTHING.BCK
Have fun,
Steve
|