Annoyances.org
Home » Windows XP Discussion Forum » Message 1130513008 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

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:
*re: VBS White space (Falcon: Friday, October 28, 2005 at 1:39 pm)

All messages in this thread [show all]
-VBS White space (Kevin: Fri, Oct 28, 2005, 8:23 am)
*re: VBS White space (Falcon: Fri, Oct 28, 2005, 1:39 pm)
Return to the Windows XP Discussion Forum


All content at Annoyances.org is Copyright ©1995-2012 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.