Kdyer
(KiX Supporter)
2003-12-02 12:22 AM
Invisible script

Tried to convert over our login script be invisible. Looked at the script and removed the AT,?,%comspec% commands and it still flashes for a second or so..

My login profile has:
newscript\wkix32.exe newscript\kixtart.kix

This is pretty similar to how BBChecker is launched.

Thanks,

Kent


ShawnAdministrator
(KiX Supporter)
2003-12-02 12:41 AM
Re: Invisible script

What if you add the /i (invisible) switch ?

Les
(KiX Master)
2003-12-02 01:10 AM
Re: Invisible script

If you don't cause a console to be created, it will not flash. Putting on my Carnac hat, I see a SetConsole() function in your script.

NTDOCAdministrator
(KiX Master)
2003-12-02 01:14 AM
Re: Invisible script

Kent,

I converted ours over as well which was originally about 3,000 lines of code. Now down to about half that and it is completely silent unless we popup a Messagebox or something on purpose.

Keep looking for something in the script that would generate a console.


Kdyer
(KiX Supporter)
2003-12-02 01:43 AM
Re: Invisible script

Shawn,

I would rather not...

Kent


Les
(KiX Master)
2003-12-02 02:00 AM
Re: Invisible script

Kent,
What about that SetConsole()? Was my Carnac hat shorting out?


Kdyer
(KiX Supporter)
2003-12-02 05:06 AM
Re: Invisible script

Sorry Les..
No console either..

Kent


LonkeroAdministrator
(KiX Master Guru)
2003-12-02 05:51 AM
Re: Invisible script

dear kent, what's the version of the executable?

Kdyer
(KiX Supporter)
2003-12-02 06:04 AM
Re: Invisible script

Not at work right now..

I think it is 4.21.. I can copy out 4.22 tommorrow.

Kent