#177739 - 2007-07-11 01:15 PM
New kixtarter
|
c4nm7
Fresh Scripter
Registered: 2007-07-11
Posts: 10
Loc: Northern Hemisphere
|
Hello everybody, im new to kiXtart (not in scripting) and i really want to learn some. i already know pretty good Autoit (take a look at my programs in my site) and a bit of liberty basic and ruby (very few).
Can anyone assist me in my first steps in KiXtart? Is there any KiXtart editor? (like scite?) i ave notepad ++ which has kixtart highlighting but is there any other with autocomplete too? Can KiXtart create a standalone EXE?
thanks in advance
Edited by c4nm7 (2007-07-11 01:24 PM)
_________________________
My Site - with my programs (made in autoit)
|
Top
|
|
|
|
#177744 - 2007-07-11 02:14 PM
Re: New kixtarter
[Re: Mart]
|
c4nm7
Fresh Scripter
Registered: 2007-07-11
Posts: 10
Loc: Northern Hemisphere
|
thanks, and a very noobish question, if i use for instance notepad for my scripts, how do i run it instantly?
Edited by c4nm7 (2007-07-11 02:14 PM)
_________________________
My Site - with my programs (made in autoit)
|
Top
|
|
|
|
#177748 - 2007-07-11 02:27 PM
Re: New kixtarter
[Re: c4nm7]
|
Glenn Barnas
KiX Supporter
   
Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
|
In addition to a good editor, you should take a look at the KixDev package on my web site. It's written in Kix, and does a couple of cool things, like:
- Recursive external UDF resolution - locate and include external function files into a finished script, resolving all dependencies.
- Sanity check - check the finished script for variable declaration issues (undeclared, duplicate declarations, declared but unused), mismatched quotes and parens, and other basic syntax errors.
- Generates a list of variable usage, by function/line, so you can know the first place a variable is referenced (besides a Dim/Global declaration)
- Can automatically strip comments or tokenize the code, and copy the finished script to one or more locations.
- Supports multiple kix udf library folders
- Allows breaking of large projects into smaller, managable files. I've got one project at about 9,000 lines, broken into about 15 files.
Glenn
_________________________
Actually I am a Rocket Scientist!
|
Top
|
|
|
|
#177750 - 2007-07-11 02:44 PM
Re: New kixtarter
[Re: Mart]
|
c4nm7
Fresh Scripter
Registered: 2007-07-11
Posts: 10
Loc: Northern Hemisphere
|
ok thanks, i found Kixtarter script editor and its awsome (like scite) , im gonna try a few things.
_________________________
My Site - with my programs (made in autoit)
|
Top
|
|
|
|
#177764 - 2007-07-11 03:45 PM
Re: New kixtarter
[Re: Witto]
|
c4nm7
Fresh Scripter
Registered: 2007-07-11
Posts: 10
Loc: Northern Hemisphere
|
yeah i found that with kixtarter, i took a look at the helpfile (which lacks of commands)and i haven't found how to disable the main window and create GUI with GUI controls, can you assist me?
_________________________
My Site - with my programs (made in autoit)
|
Top
|
|
|
|
#177767 - 2007-07-11 04:24 PM
Re: New kixtarter
[Re: Les]
|
c4nm7
Fresh Scripter
Registered: 2007-07-11
Posts: 10
Loc: Northern Hemisphere
|
ok thanks both of you
_________________________
My Site - with my programs (made in autoit)
|
Top
|
|
|
|
#177772 - 2007-07-11 05:06 PM
Re: New kixtarter
[Re: Mart]
|
c4nm7
Fresh Scripter
Registered: 2007-07-11
Posts: 10
Loc: Northern Hemisphere
|
how do i disable the default console window?
Edited by c4nm7 (2007-07-11 05:06 PM)
_________________________
My Site - with my programs (made in autoit)
|
Top
|
|
|
|
#177773 - 2007-07-11 05:13 PM
Re: New kixtarter
[Re: c4nm7]
|
Witto
MM club member
   
Registered: 2004-09-29
Posts: 1828
Loc: Belgium
|
use wkix32.exe or use something like
Dim $RC
$RC = SetConsole("Hide")
Kix2Exe also allows you to build executables.
|
Top
|
|
|
|
#177779 - 2007-07-11 05:52 PM
Re: New kixtarter
[Re: Witto]
|
Les
KiX Master
   
Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
|
use wkix32.exe or use something like
Dim $RC
$RC = SetConsole("Hide")
Kix2Exe also allows you to build executables. but don't do both! It's sooo noobish. :p
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.
|
Top
|
|
|
|
#177784 - 2007-07-11 06:14 PM
Re: New kixtarter
[Re: Les]
|
Witto
MM club member
   
Registered: 2004-09-29
Posts: 1828
Loc: Belgium
|
Les, maybe explain me something
If Not @LOGONMODE
Break On
Else
Break Off
EndIf
Dim $RC
$RC = SetOption("Explicit", "On")
$RC = SetOption("NoMacrosInStrings", "On")
$RC = SetOption("NoVarsInStrings", "On")
$RC = SetOption("WrapAtEOL", "On")
;$RC = SetConsole("Hide")
$RC = MessageBox("Message", "Title", 0, 5)
I open a Windows Explorer and I drag & drop this script onto wkix32.exe. It opens me a console window for about five seconds (while the script is running)
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 202 anonymous users online.
|
|
|