Popup Messages 
Author Message
 Popup Messages

Add a value of 11 to the "natType" argument.  Demo:

'Creates a popup with no buttons in Win98.
' Does not work in NT.  Haven't checked Win95.
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Popup "This Window will disappear " & _
  "after 10 seconds.", 10, "IMPORTANT NOTICE!", 11 + 48

--

Bill James
Microsoft MVPDTS

?Free Win9x VBScript Utilities?
http://www.*-*-*.com/ ~wgjames/vbspage/

Popup MessagesI would like to have a message popup and stay on the screen for 30 seconds then go away.. I can do this with object.popup but there are always a button on the popup.. Can I get rid of the buttons??



Fri, 09 Aug 2002 03:00:00 GMT  
 Popup Messages

No, you could make a webpage appear using IE, (without status bar etc.) About a week ago MH posted a cool IE script that does what you want, check the VBScript and WSH newsgroups till you find it.

Dominic Marks



Fri, 09 Aug 2002 03:00:00 GMT  
 Popup Messages

set IE = CreateObject("InternetExplorer.Application")
ie.menubar = 0
ie.toolbar = 0
ie.statusbar = 0
ie.resizable = 0
IE.navigate "about:blank"
while ie.readystate <> 4 : wend
set doc = ie.document
doc.write "This is an important message!"
doc.title = "An Important Message"
doc.parentwindow.resizeto 400,100
IE.visible = true
c = 0
seconds = 5
while typename(doc) <> "Object" _
  and c < seconds
  wscript.sleep 1000
  c = c + 1
wend
on error resume next
ie.quit
msgbox "done"

--
Michael Harris
MVP - Windows Script

No, you could make a webpage appear using IE, (without status bar etc.) About a week ago MH posted a cool IE script that does what you want, check the VBScript and WSH newsgroups till you find it.

Dominic Marks



Fri, 09 Aug 2002 03:00:00 GMT  
 Popup Messages
This does work on my Win95 box.



Add a value of 11 to the "natType" argument.  Demo:

'Creates a popup with no buttons in Win98.
' Does not work in NT.  Haven't checked Win95.
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Popup "This Window will disappear " & _
  "after 10 seconds.", 10, "IMPORTANT NOTICE!", 11 + 48

--

Bill James
Microsoft MVPDTS



Sat, 10 Aug 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. HOW: popup message when mouse over a text link

2. Help with PopUp message on MouseOver

3. Popup Message Box

4. Beep before popup message

5. Sending a popup message to a PC on the network

6. Alert Message popup over all open applications

7. Message Popup while a line of code is executing

8. Popup Logon Message

9. reference to popup from popup

10. popup from a popup

11. Can you make a message popup when you hover over a text link?

12. popup window

 

 
Powered by phpBB® Forum Software