| View previous topic :: View next topic |
| Author |
Message |
userabuser
Joined: 15 Jul 2006 Posts: 31
|
Posted: Sun Jan 07, 2007 6:10 pm Post subject: Leave message box after program exit |
|
|
I'm sure this has been done a million time, but I can not find it by searching the forum.
I'd like to leave a information box up after program exit. Preferably one that only last 30 seconds or so.
I realize I could have it call another script, but was wondering if there is another way...
Possible a call to windows to display it???
I realize I could also simply have it open notepad and type the message in.. Again,,, a better way...? |
|
| Back to top |
|
 |
tonne
Joined: 06 Jun 2006 Posts: 1651 Location: Denmark
|
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6836 Location: France (near Paris)
|
Posted: Sun Jan 07, 2007 10:40 pm Post subject: |
|
|
Well, after program exit, Windows automatically closes all windows this program has created... So, as you guessed, you have to run another program (small secondary script, some utility) to display the message. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 2951 Location: Minnesota
|
Posted: Sun Jan 07, 2007 10:43 pm Post subject: |
|
|
Does this have the desired effect? (Try running it and then exiting it through the tray menu.)
| Code: | #Persistent
OnExit,ExitSub
return
ExitSub:
Msgbox Don't make me go, please! I can cook!
ExitApp |
|
|
| Back to top |
|
 |
|