#32323 - 2002-11-13 11:13 AM
Launch Kixtart without script
|
Jemmail
Lurker
Registered: 2002-02-20
Posts: 2
|
I would like to launch only 1 command with kistart. It is possible without creating a script ?
example
Kix32 messagegbox ("This is a test")
Thanks
|
|
Top
|
|
|
|
#32325 - 2002-11-13 11:24 AM
Re: Launch Kixtart without script
|
MightyR1
MM club member
   
Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
|
Jemmail,
Take a look at the manual, it says:
quote:
Running KiXtart
KiXtart can be run manually or automatically during the logon sequence.
To run KiXtart manually: At the command prompt, type the following command: kix32
By default, KiXtart automatically looks for a personal script for the current user (“Username.KIX”). If it does not find one, it looks for the default script, “KIXTART.KIX”. You can override this behavior by specifying one or more scripts after Kix32.exe on the commandline. If an extension is not specified, KiXtart attempts to use two default extensions: ”.KIX” and “.SCR”.
KiXtart also supports declaring variables at the command prompt, as demonstrated in the following example:
kix32 Demo.kix $Key=HKEY_LOCAL_MACHINE\Software For information about valid variable names and values, see “Dynamic Program Variables” later in this document.
KiXtart supports the following commandline switches: -d Enables debug mode. -f[:yyyy/mm/dd] Refreshes the group-membership cache. -i Invisible mode. Prevents KiXtart from displaying a console window. Note: only available in the Windows version of KiXtart. -r:”eril” RPC search order. Determines the order in which KiXtart attempts to locate a KXRPC server. See the description of the KXRPC service for full details. -? Display KiXtart command line usage.
So after reading this in my opinion it's not possible...
You can however make a small script containing:
code:
break on $x = messagebox($msg,"KiXtart message",0)
and start it with:
code:
kix32 yourscript.kix $msg="What you want..."
_________________________
Greetz, Patrick Rutten
- We'll either find a way or make one... - Knowledge is power; knowing how to find it is more powerful... - Problems don't exist; they are challenges...
|
|
Top
|
|
|
|
#32328 - 2002-11-19 04:04 PM
Re: Launch Kixtart without script
|
Beelzel
Fresh Scripter
Registered: 2002-03-08
Posts: 46
Loc: DC Metro area
|
I have a nice ditty that might help you ... like the man suggests ... it uses "net send" ... but the front end allows you to create groups (of users by name) to max-send to ...
use it a lot on my network to notify offices and/or groups of impending doom. Let me know if you want to look at it.
_________________________
If not for the last minute ... nothing would get done ...
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 857 anonymous users online.
|
|
|