|
If I add this to the top of my Main login Script - it is suppose to check if the users is logging into local or a Citrix Session. If it is a Citrix session it is suppose to call the Citrix Script for mapping drives. What is wrong with this code? Thanks from a new scripter.
CODE ; Determine if Logging into Citrix or Local Function ProductSuite ($Product) Dim $Product SELECT Case $Product = "None" Select $x=0 Case $Product = "Small Business" $x=1 Case $Product = "Enterprise" $x=2 Case $Product = "BackOffice" $x=4 Case $Product = "CommunicationsServer" $x=8 Case $Product = "Terminal Server" $x=16 Case $Product = "Small Business (Restricted)" $x=32 Case $Product = "Embedded NT" $x=64 Case $Product = "DataCenter" $x=128 Case $Product = "Single User Terminal Server" $x=256 Case $Product = "Home Edition" $x=512 Case $Product = "Blade Server" $x=1024 Case 1 $RC=MessageBox ("Invalid parameter used in function ProductSutie ($Product)",48 WriteLog("Invalid parameter used in function ProductSuite ($Product)") Endselect $ProdcutSuite = $x & val(@ProductSuite) Endfunction If ProductSuite("Terminal Server") and not ProductSuite("Singel User Terminal Server") CallScript("$HomeDrive\Citrixmap.kix") endif EXIT
|