Actually, I am trying to modify my Daily Blessings script, which is on
script central, for some sighted friends who would like to use it on
their computers.

So, if there is no way to change the names of buttons with MsgBox or the
popup, I guess I'll just have to go with the Yes, No, and Cancel buttons
instead of Next, Previous, and close like I can do with the Window-Eyes
version and that terrific MessageBox!

Jeff Weiss

 

 

From: Doug Geoffray [mailto:[email protected]] 
Sent: Monday, November 09, 2009 10:09 AM
To: [email protected]
Subject: Re: using the Popup to display a message

 

Jeff,

So are you saying this is just a script you want to run without
Window-Eyes at all?  If so then what's up with that <grin>...The only
way I know is use Window-Eyes and create your own custom dialog.

Doug

Jeff Weiss wrote: 

I am trying to use the following code in a .vbs file not hosted by
Window-eyes.

The code works, but what I need to know about the available buttons, can
I rename the buttons?

I would like to have a next, previous, and cancel button displayed.

Is this possible?

Thanks,

Jeff Weiss

 

 

Const OK_BUTTON = 0

Const AUTO_DISMISS = 0

Set objShell = CreateObject("Wscript.Shell")

strMessage = "This is a test."

objShell.Popup strMessage, AUTO_DISMISS, "My Message Box", OK_BUTTON

 

Reply via email to