#163837 - 2006-06-29 10:10 PM
Advice needed please
|
wez
Lurker
Registered: 2006-06-29
Posts: 2
|
Hello im new to doing login scripts but seems to have got our company one working but i have now been told that i need to to make a message apear before the network drives are mapped, and a message for the users to read before pressing key to move on, which i think i have got working, but my main problem is that i want to put a box around all the text in a different color but can not work out how, any help would be great,
Thanks
Wes
|
|
Top
|
|
|
|
#163839 - 2006-06-29 10:22 PM
Re: Advice needed please
|
wez
Lurker
Registered: 2006-06-29
Posts: 2
|
we have a message come up when login in but want to have a message on the login screen so that we can change it for any messages,
|
|
Top
|
|
|
|
#163841 - 2006-06-30 09:35 AM
Re: Advice needed please
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Is this a GUI or a console message?
If console then you can use BOX(): Code:
CLS Color m/n BOX(9,9,12,40,"double") Color w/n AT (10,11) "This text is presented in a" AT (11,11) "delightful fuschia ensemble"
|
|
Top
|
|
|
|
#163842 - 2006-06-30 10:09 AM
Re: Advice needed please
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11629
Loc: CA
|
Here is an example designed for the DOS Console output...
Code:
CLS SMALL Color b+/n BOX (0,0,24,79,GRID) ; background grid Color b/n BOX (2,3,13,77,Å) ; shadow of the box Color g+/n BOX (1,2,12,76,FULL) ; Green box Color b+/n Select Case ((@TIME > "00:00:00") And (@TIME < "12:00:00")) AT(9,5) "Good Morning " + @fullname AT(10,5) "You are entering the " + @domain + " domain." Color r+/n AT(11,5)"Please wait - Network authentication is being verified . . ." Color b+/n Case ((@TIME > "12:00:00") AND (@TIME < "18:00:00")) Color b+/n AT(9,5) "Good Afternoon " + @fullname AT(10,5) "You are entering the " + @domain + " domain." Color r+/n AT(11,5)"Please wait - Network authentication is being verified . . ." Color b+/n Case 1 AT(9,5) "Good Evening " + @fullname AT(10,5) "You are entering the " + @domain + " domain." Color r+/n AT(11,5)"Please wait - Network authentication is being verified . . ." Color b+/n EndSelect Color w+/n AT (2,5) "Userid : " ; label for user and network identification text strings AT (3,5) "Full Name : " AT (4,5) "Workstation : " AT (5,5) "NT Domain : " AT (6,5) "Logon Server : " AT (7,5) "OS : " AT (8,5) "Service Pack : "
Color y+/n AT (2,20) @userid ; macro's for user and network identification text strings AT (3,20) @fullname AT (4,20) @wksta AT (5,20) @domain AT (6,20) @lserver ; Lists the authenticating server AT (7,20) @ProductType AT (8,20) @CSD AT (11,65) ; Moves the cursor to the end of the message
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 778 anonymous users online.
|
|
|