[THIN] Re: OT - VB Script

  • From: Jeff Malczewski <jmalczewski@xxxxxxxx>
  • To: "'thin@xxxxxxxxxxxxx'" <thin@xxxxxxxxxxxxx>
  • Date: Wed, 15 Sep 2004 13:46:28 -0400

You can combine the "color" stuff also.. For instance, "color F" will give
you bright white text on a black background.  However, color F0 will give
you a bright white background with black text..  The first character will be
the background color, and the second character the text color..



-----Original Message-----
From: Paul DeHaan [mailto:wppad@xxxxxxxxx]
Sent: Wednesday, September 15, 2004 1:31 PM
To: thin@xxxxxxxxxxxxx; cherie.watts@xxxxxxxxxxx
Subject: [THIN] Re: OT - VB Script


It works just like a variable, only it is read-only.  Here's how you use a
constant in code:

�>code begin<---

Const myDomain = "microsoft.com"
wscript.echo myDomain

�>code end<--

As for changing the text color, you would have to set it using the built in
system command Color. (try color /? from cmd).  I'm imaging that you are
using cscript as your interpretor right?

Regards,
Paul DeHaan

>>> cherie.watts@xxxxxxxxxxx 09/13/04 07:51PM >>>

Hi Guys

I am unable to find syntax information on how to use a VB constant. I can
normally work them out, but not this one. I am sure it is something basic as
well.

I want to change the colour of text I am echoing to the screen.

I have found VB color constants below. But I am unable to change the color
of the Wscript.echo commands.

Can someone please advise or point me to a website I can get this info.

Humbly Thanks

Cherie

vbBlack &h00 Black 
vbRed &hFF Red 
vbGreen &hFF00 Green 
vbYellow &hFFFF Yellow 
vbBlue &hFF0000 Blue 
vbMagenta &hFF00FF Magenta 
vbCyan &hFFFF00 Cyan 
vbWhite &hFFFFFF White 

                                                                      

********************************************************
This Weeks Sponsor triCerat:
Have you had your fill of printing support calls, unauthorized apps running
on unsecured Terminal Servers, profile headaches, and application
performance problems? Join us and learn how you can have a less demanding
on-demand enterprise!
http://www.tricerat.com/?page=events#register 
********************************************************** 
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm 
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

********************************************************
This Weeks Sponsor triCerat:
Have you had your fill of printing support calls, unauthorized apps running
on unsecured Terminal Servers, profile headaches, and application
performance problems? Join us and learn how you can have a less demanding
on-demand enterprise!
http://www.tricerat.com/?page=events#register 
********************************************************** 
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

----------------------------------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail.
********************************************************
This Weeks Sponsor triCerat:
Have you had your fill of printing support calls, unauthorized apps running on 
unsecured Terminal Servers, profile headaches, and application performance 
problems? Join us and learn how you can have a less demanding on-demand 
enterprise!
http://www.tricerat.com/?page=events#register
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: