Page 1 of 1 1
Topic Options
#32323 - 2002-11-13 11:13 AM Launch Kixtart without script
Jemmail Offline
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
#32324 - 2002-11-13 11:21 AM Re: Launch Kixtart without script
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Jemmail,

Nope, I don't think so !
_________________________



Top
#32325 - 2002-11-13 11:24 AM Re: Launch Kixtart without script
MightyR1 Offline
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
#32326 - 2002-11-13 11:42 AM Re: Launch Kixtart without script
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jemmail, you can always do:
echo "this is a test" >test.kix|kix32 test.kix

just wonder, should kixtart always look the assoc?
calling:
kix32 testkix

when filename is "testkix" kix says failed to find.
seems that it does not understand that files can also be without assoc...
_________________________
!

download KiXnet

Top
#32327 - 2002-11-13 03:41 PM Re: Launch Kixtart without script
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
why not
code:
NET SEND %COMPUTERNAME% "This is a test"

on the command prompt, has pretty much the same effect.
_________________________
There are two types of vessels, submarines and targets.

Top
#32328 - 2002-11-19 04:04 PM Re: Launch Kixtart without script
Beelzel Offline
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
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 857 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.052 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

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