Page 1 of 1 1
Topic Options
#199087 - 2010-07-23 09:01 PM KiXtart forcing log off when aborted
Nick_at_PT Offline
Fresh Scripter

Registered: 2007-06-11
Posts: 13
Loc: Dallas, TX, US
I searched the forums but couldn't find a reference to this issue that I've seen in the last couple of versions of KiXtart.

Whenever I have a script running on my computer and I abort the script by clicking the X on the command window, the system tries to log off and forces all of my applications closed.

Has anyone else seen this behavior and can it be explained?

Thanks.

Top
#199089 - 2010-07-23 09:42 PM Re: KiXtart forcing log off when aborted [Re: Nick_at_PT]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
This is explained in the KiXtart FAQ & How to's - the first forum.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#199090 - 2010-07-23 10:02 PM Re: KiXtart forcing log off when aborted [Re: Glenn Barnas]
Nick_at_PT Offline
Fresh Scripter

Registered: 2007-06-11
Posts: 13
Loc: Dallas, TX, US
Not to be rude Glenn, but there's a LOT of information out there in that forum and I still can't see any categories that would cover this kind of issue.
Top
#199094 - 2010-07-23 11:13 PM Re: KiXtart forcing log off when aborted [Re: Nick_at_PT]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
It's not quite so obvious... but it is in the manual...

Break on/off -
http://www.scriptlogic.com/Kixtart/htmlhelp/Commands/break.htm

Top
#199097 - 2010-07-24 08:35 PM Re: KiXtart forcing log off when aborted [Re: Nick_at_PT]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
Sorry - it's been a while since I've browsed that forum - I didn't realize how much was there or how in-obvious it would be.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#199104 - 2010-07-25 12:55 PM Re: KiXtart forcing log off when aborted [Re: Nick_at_PT]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
 Originally Posted By: Nick_at_LXR
I searched the forums but couldn't find a reference to this issue that I've seen in the last couple of versions of KiXtart.

Whenever I have a script running on my computer and I abort the script by clicking the X on the command window, the system tries to log off and forces all of my applications closed.

Has anyone else seen this behavior and can it be explained?

Thanks.



This is by design. Kixtart was initially intended as a logon script processor and you don't want a user to be able to cancel the script and continue his or her logon.

Like said above you can set Break to on so clicking the X just kills the script and you stay logged on.

What I usually do is this:
 Code:
If Not @LOGONMODE
	Break on
EndIf


Break is set to off by default. The script above will let you kill the script when you are doing some testing but will logoff a user when he or she kills the script during logon.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 837 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.06 seconds in which 0.028 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org