Hello

We I've just managed to write my very first script. \:D

My script is below. I would like this to be desplayed when the users logs on and I would also like to show the connection of the drive when it happens or a line which shows, " your home drive has now been connected. what do I need to add to the script so that this can happen. At present the box runs minimised

 Code:
CLS
Small
Color b+/n
Box (0,0,24,90,GRID) ; 'background grid'
Color b/n
Box (8,21,18,71,Å) ; 'shadow' of the box
Color g+/n
Box (7,20,17,70,FULL)
;
Color w+/n
AT ( 9,25) "Userid : " ; display some text strings
AT (10,25) "Full name : "
AT (11,25) "Privilege : "
AT (12,25) "Workstation : "
AT (13,25) "Domain : "
;
Color y+/n
AT ( 9,45) @userid ; ...and some macro's
AT (10,45) @fullname
AT (11,45) @priv
AT (12,45) @wksta
AT (13,45) @domain
SetConsole("show")

If InGroup ("desktop")
	Use H: "\\servername\%username%$"
EndIf


also can you set a default printer based on a computer. We have computers in different room and we would like to set default printer based on the computer not the user


Edited by Glenn Barnas (2010-03-01 03:56 PM)
Edit Reason: Add code tags