Page 1 of 1 1
Topic Options
#142684 - 2005-06-29 11:49 PM How do I run my first script like excel.kix or Hello World!
IanO Offline
Lurker

Registered: 2005-06-29
Posts: 2
I must be tired. Since early this morning I have been reading about Windows automation. A few years ago, I was on a project that used kixtart. So when I rediscovered it, I wanted to try it. Well I read most of the .doc file and the .chm file and I haven't found out how to run a script. Do I do it from Windows Explorer? or from a CMD window. Someone please post an example of how to run something that displays a msgbox with Hello World and then how to run the Excel script.
Thanks in advance.
IanO

Top
#142685 - 2005-06-30 12:08 AM Re: How do I run my first script like excel.kix or Hello World!
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
command line.

kix32 myfirstscript.kix

Top
#142686 - 2005-06-30 12:09 AM Re: How do I run my first script like excel.kix or Hello World!
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
There is a Hello World example in the FAQ forum.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#142687 - 2005-06-30 12:11 AM Re: How do I run my first script like excel.kix or Hello World!
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Also, the FAQ is a good place to start
Top
#142688 - 2005-06-30 12:53 AM Re: How do I run my first script like excel.kix or Hello World!
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Hello IanO and welcome to the board.

Well here is an example of running a script.

 

Break On
Dim $SO
$SO=SetOption('Explicit','On')
$SO=SetOption('NoVarsInStrings','On')


Dim $Msg
$Msg = MessageBox('Hello World','Hello World Title',4160)



 

 

Top
#142689 - 2005-06-30 11:29 PM Re: How do I run my first script like excel.kix or Hello World!
IanO Offline
Lurker

Registered: 2005-06-29
Posts: 2
Thanks so much for all of your replies. Just after I made the posting, I "discovered" the file I had been searching for all day. I don't know why there is not a boot strap example in the KIX2001.DOC file. However, I am on my way now. Thanks again.
IanO

Top
#142690 - 2005-07-01 11:42 PM Re: How do I run my first script like excel.kix or Hello World!
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
There is. Page 13 of the Kixtart 2010 Manual, section "Running KiXtart"
_________________________
There are two types of vessels, submarines and targets.

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 1636 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.059 seconds in which 0.028 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