VBS White space
Friday, October 28, 2005 at 8:23 am Windows XP Annoyances Discussion Forum
Posted by Kevin
(6 messages posted)
Hey,
Was wondering if someone could help me out, I am trying to locate the info on whitespace
for a VBS script that I am creating.
At the current moment I seem to have left my book and brain at the door when I came
in this morning.
Here is what I am trying to do, I want to create a message window that will disappear
in 15 seconds I have a test script that is completed and working however I need to
stretch the message and use some white space but the _ does not seem to work for
me.
Here is an example of the script:
============================
Const wshYes = 4
Set objShell = CreateObject("Wscript.Shell")
intReturn = objShell.Popup("The following messsage is for your security. If you do
not agree with this message then please tell someone in security that you do not
agree", _
15, "Security Dialog", wshYesDialog)
If intReturn = wshYes Then
Wscript.Quit
End if
=============================
This script works just fine however I need to expand the info in the message window
and would like it to read something like the following:
================================
Attention:
<----------White Space no info on this line------
Please do not ask me for help as I do not really care.
================================
Any help is greatly appreciated.
P.S
Falcon if you are on line your help in the past was great and made a big impact on
my scripts. Thanks :)
Regards
Kevin
|
Responses to this message:
|
|