#24797 - 2002-07-12 03:57 PM
Re: Calling DoctorS in the House
|
seandragon
Fresh Scripter
Registered: 2002-07-09
Posts: 17
|
ThanX
|
|
Top
|
|
|
|
#24798 - 2002-07-12 06:48 PM
Re: Calling DoctorS in the House
|
seandragon
Fresh Scripter
Registered: 2002-07-09
Posts: 17
|
Lonkero,
Is this how its supposed to be:
at the beginning of the script.kix:
run "start /b kix32 the message_script.kix" ; - Map Domain Pcsupport T: drive IF InGroup("Domain pcsupport") <> 0 USE t: /delete /persistent USE t: "\\mmnetad1\tools" ? " PcSupport Drive Mapped" ENDIF ; - Map common drives for Domain Users IF InGroup("DOMAIN Users") <> 0 USE g: /delete /persistent USE g: "\\mmnetad1\home\@userid" ENDIF ? " Login Script Complete" EXIT
Message_script.kix:
$null=MessageBox? (" Hello "+@fullname", "XYZ Login Script",0) Exit
|
|
Top
|
|
|
|
#24802 - 2002-07-12 07:21 PM
Re: Calling DoctorS in the House
|
seandragon
Fresh Scripter
Registered: 2002-07-09
Posts: 17
|
ThanX Guys!
But when I tried to login to the test client it halted the login operation and when I forced to close the window it logs out by itself. I'm using 4.10 KiX.
script.kix:
run 'start /b kix32 "the message_script.kix"' ; MAP Drives by Group Membership ; ? " Mapping network drives..." ; ; - Map Domain Pcsupport T: drive IF InGroup("Domain pcsupport") <> 0 USE t: /delete /persistent USE t: "\\mmnetad1\tools" ? " PcSupport Drive Mapped" ENDIF ; - Map common drives for Domain Users IF InGroup("DOMAIN Users") <> 0 USE g: /delete /persistent USE g: "\\mmnetad1\home\@userid" ENDIF ? " Login Script Complete" EXIT
message_script.kix: $null=MessageBox(" Hello @fullname", "XYZ Login Script",0)
|
|
Top
|
|
|
|
#24804 - 2002-07-12 07:45 PM
Re: Calling DoctorS in the House
|
seandragon
Fresh Scripter
Registered: 2002-07-09
Posts: 17
|
Jens,
You are the best, however there is no message box appears...
|
|
Top
|
|
|
|
#24806 - 2002-07-12 07:50 PM
Re: Calling DoctorS in the House
|
seandragon
Fresh Scripter
Registered: 2002-07-09
Posts: 17
|
Message Box appears as an error.
|
|
Top
|
|
|
|
#24808 - 2002-07-12 07:54 PM
Re: Calling DoctorS in the House
|
seandragon
Fresh Scripter
Registered: 2002-07-09
Posts: 17
|
There is X mark beside the Hello User and then a Yes or No selection.
|
|
Top
|
|
|
|
#24810 - 2002-07-12 09:52 PM
Re: Calling DoctorS in the House
|
seandragon
Fresh Scripter
Registered: 2002-07-09
Posts: 17
|
It's beautiful, my joy is almost fulfill it’s just that when I tried to call the message_script.kix nothing happens
run 'start /b kix32 "the message_script.kix"' [ 12 July 2002, 21:53: Message edited by: seandragon ]
|
|
Top
|
|
|
|
#24812 - 2002-07-12 10:57 PM
Re: Calling DoctorS in the House
|
seandragon
Fresh Scripter
Registered: 2002-07-09
Posts: 17
|
Jens,
I would like to apologize, you were right. I know you have suggested that before. My problem was that I included this command in my first script and its not working.
run 'start /b kix32 "message_script.kix"'
Instead I added this to my batch file and it works.
%logonserver%\netlogon\kix32.exe % logonserver%\netlogon\message_script.kix.kix
I also tried to use the CALL command within the script.kix it works
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 657 anonymous users online.
|
|
|