#74328 - 2003-04-04 08:24 PM
Display Message at Logoff
|
Anonymous
Anonymous
Unregistered
|
We would like to display a message at log off time. I tried the messagebox command but that is way too small (apparently BIG has no effect on it). I would like to be able to enhance the text font some also to make it more attractive. OTOH, it did most of what we want including clearing the screen, a title, and a timeout value. One I get it figured out, I plan to run it thru the logout script GPO.
What are the best alternatives to messagebox? I would rather generate something than send a file down to the PC and also then have to deal with screen resolution.
Env: Windows 2000 Pro in AD, Kixtart 4.01.
Pete Carstensen
|
|
Top
|
|
|
|
#74331 - 2003-04-04 10:11 PM
Re: Display Message at Logoff
|
Anonymous
Anonymous
Unregistered
|
Sorry, the html page wouldn't work since I need it to time out after 5 seconds. Good idea tho and it certainly would solve the formating problem!
Pete
|
|
Top
|
|
|
|
#74334 - 2003-04-04 10:47 PM
Re: Display Message at Logoff
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
Well, i've got a little command line utility (very small about 29kb) called KIXPOP that can display an embedded HTML page in a window using the Internet Explorer ActiveX control, it supports a timeout as well.
Your call whether a third party util is suitable here, but you can get it here:
KixPop.zip
Real easy to use, just unzip the contents into a folder, then run kixpop like this:
c:\> kixpop c:\kixpop\welcome.htm "hello world"
the timeout is set to three seconds. just make sure to specify the fully qualified path of the html file on the command line. you can also host the page off a web site, example:
c:\> kixpop http://www.kixtart.org
just an option.
-Shawn
ps. Les is right about the timeout - the welcome.htm in the zip file has it. But when running in the context of the web browser itself, might cause you grief in that it may display a messagebox asking if its ok to close the window.
Because KixPop wraps the ActiveX control, this is not an issue. [ 04. April 2003, 22:49: Message edited by: Shawn ]
|
|
Top
|
|
|
|
#74335 - 2003-04-11 12:50 AM
Re: Display Message at Logoff
|
Anonymous
Anonymous
Unregistered
|
The kixpop program worked just great! Thanks very much!!!
Pete
|
|
Top
|
|
|
|
#74336 - 2004-06-03 04:34 PM
Re: Display Message at Logoff
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Quite a handy little tool. Thanks Shawn.
Never would have found this if not for the handy-dandy search tool on this site.
|
|
Top
|
|
|
|
#74337 - 2004-06-03 04:45 PM
Re: Display Message at Logoff
|
Chris S.
MM club member
   
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
I wonder when he's going to integrate it into KiXforms?
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 271 anonymous users online.
|
|
|