[THIN] Re: OT - VB Script

  • From: "cherie.watts" <cherie.watts@xxxxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Mon, 20 Sep 2004 10:19:05 +1000

No I don't need the same color...:)

I am writing a VB script to do a number of things and when admins run the 
script I want to echo the instructions to the screen in a different color to 
draw their attention to them.

So I am only looking at changing the colour for specific text only.

Cheers and Thanks

----- Original Message -----
From: Paul DeHaan <wppad@xxxxxxxxx>
Date: Saturday, September 18, 2004 0:08 am
Subject: [THIN] Re: OT - VB Script

> Do you always want the same different color?  If so, you can 
> adjust the defaults in the registry to be whatever you like.  
> Check   HKEY_USERS\.DEFAULT\Console.  This key holds the options, 
> layout, screen color, and font settings for MS-DOS windows.
> 
> HTH,
> Paul DeHaan
> 
> >>> cherie.watts@xxxxxxxxxxx 09/15/04 07:25PM >>>
> 
> Thanks for all the replies guys, much appreciate.
> 
> I was aware of the color, shell command but it doesn't do what I want.
> I will give the concolor a go.
> 
> I have to say that it's damn annoying that Microsoft have the 
> colour const listed in Windows Scripting Technologies help file 
> under "Visual Basic Scripting Edition" with a bunch of other 
> const's that work and these don't.
> 
> 
> 
> ----- Original Message -----
> From: Arthur Reyes <ARTADMIN@xxxxxxxxxxxxx>
> Date: Thursday, September 16, 2004 5:13 am
> Subject: [THIN] Re: OT - VB Script
> 
> > vbscript doesn't support color.
> > 
> > Try launching your scripts with concolor.
> > 
> > @echo off
> > Title GiveMeCitrix - Execution Mode
> > REM ECHO %USERNAME% | Find "administrator" /I >NUL
> > REM IF %ERRORLEVEL%==0 GOTO CONTINUE
> > 
> > REM :Error
> > REM Echo You must be the local Administrator to run this script
> > REM Goto Quit
> > 
> > :Continue
> > FOR /F "tokens=1,2 delims=!" %%I IN (List of Scripts.txt) DO (
> > CONCOLOR Y n
> > ECHO %%I
> > CONCOLOR W n
> > cscript.exe %%J //NoLogo
> > CONCOLOR G n
> > Echo %%I script completed
> > Echo.
> > )
> > ConColor w n
> > PAUSE
> > Kill cscript.exe
> > 
> > :Quit
> > 
> > 
> > ********************************************************
> > 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 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ÿents#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

Other related posts: