Page 1 of 1 1
Topic Options
#56046 - 2001-05-24 07:06 AM KIXTART-EDITOR: syntax format for "TextPad 4" editor
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear members,

Already a version of the syntax for TextPad 4 editor is published
on this board.
In comparison with all other editors we like the enormous amount
of available defined syntax formats and the easiest way of
configure a new one.

The real differences with previous published ones are
the section syntax part.
The following keys difference:


  • KeyWordLength = 0
    (keyword aren't restricted by any length)
  • InitKeyWordChars = $A-Za-z
    (keywords may also be started with a $ character)
  • KeyWordChars = A-Za-z0-9_
    (keywords may also contain a _ character)
  • BracketChars = [()]
    ({ and } are not legal brackets by kixtart)
  • OperatorChars = +-*/<>&|=?
    (the characters !, ~ and ^ are not defined
    characters for kixtart)
    (the characters % and @ are characters, which will
    handle in a normal way. the @ character of macros was
    add as prefix for available kixtart macros. see section of
    defined keywords)
  • StringAlt = '
    (a string starts not only with a " character, but it can also
    be started with a ' character)

The idea of showing "commands and functions not supported since kix2001"
in another colour came from member cj.

The kixtart.syn is:

code:

; TextPad syntax definitions
;
; (c) scripting@wanadoo.nl - 2001
;
; 20-may-2001 kixtart 2001 beta 2a
;

C=1

[Syntax]
Namespace1 = 5
IgnoreCase = Yes
KeyWordLength = 0
InitKeyWordChars = $A-Za-z
KeyWordChars = A-Za-z0-9_
BracketChars = [()]
OperatorChars = +-*/<>&|=?
PreprocStart =
SyntaxStart =
SyntaxEnd =
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment = ;
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
StringStart = "
StringEnd = "
StringAlt = '
StringEsc =
CharStart = "
CharEnd = "
CharEsc =

; kixtart - commands
[Keywords 1]
BEEP
BIG
BREAK
CALL
CASE
CD
CLS
COLOR
COOKIE1
COPY
DEBUG
DEL
DIM
DISPLAY
DO
EACH
ELSE
ENDIF
ENDFUNCTION
ENDSELECT
EXIT
FILE
FLUSHKB
FOR
FUNCTION
GET
GETS
GLOBAL
GO
GOSUB
GOTO
IF
IN
LIST
LOOP
MD
NEXT
OFF
ON
PASSWORD
PLAY
QUIT
RD
REDIM
RETURN
RUN
SELECT
SET
SETL
SETM
SETTIME
SHELL
SLEEP
SMALL
STEP
TO
UNTIL
USE
WHILE

; kixtart - functions
[Keywords 2]
AddKey
AddPrinterConnection
AddProgramGroup
AddProgramItem
Asc
At
BackupEventLog
Box
Chr
ClearEventLog
Close
CompareFileTimes
CreateObject
DecToHex
DelKey
DelPrinterConnection
DelProgramGroup
DelProgramItem
DelTree
DelValue
Dir
EnumGroup
EnumIPInfo
EnumKey
EnumLocalGroup
EnumValue
Execute
Exist
ExpandEnvironmentVars
GetDiskSpace
GetFileAttr
GetFileSize
GetFileTime
GetFileVersion
GetObject
Ingroup
Instr
KeyExist
Lcase
Len
LoadHive
LoadKey
LogEvent
Logoff
Ltrim
MessageBox
Open
ReadLine
ReadProfileString
ReadType
ReadValue
RedirectOutput
Rnd
Rtrim
SaveKey
SendKeys
SendMessage
SetAscii
SetConsole
SetDefaultPrinter
SetFileAttr
SetFocus
SetSystemState
SetTitle
SetWallPaper
ShowProgramGroup
Shutdown
SidToName
Split
Srnd
Substr
UBound
Ucase
UnloadHive
Val
VarType
VarTypeName
WriteLine
WriteProfileString
WriteValue

; kixtart - macros
[Keywords 3]
@address
@comment
@csd
@curdir
@date
@day
@domain
@dos
@error
@fullname
@homedir
@homedrive
@homeshr
@hostname
@inwin
@ipaddress0
@ipaddress1
@ipaddress2
@ipaddress3
@kix
@lanroot
@ldomain
@ldrive
@lm
@longhomedir
@lserver
@maxpwage
@mdayno
@month
@monthno
@primarygroup
@priv
@productsuite
@producttype
@pwage
@ras
@rserver
@scriptdir
@serror
@sid
@site
@startdir
@syslang
@time
@userid
@userlang
@wdayno
@wksta
@wuserid
@ydayno
@year

; kixtart - booleans
[Keywords 4]
AND
NOT
OR

; kixtart - commands and functions not supported since kixtart 4.00
[Keywords 5]
ExistKey
OleCallFunc
OleCallProc
OleCreateObject
OleEnumObject
OleGetObject
OleGetProperty
OleGetSubObject
OlePutProperty
OleReleaseObject


The following REGEDIT code will active document classes KiXtart
within TexpPad 4 with different kind of colors.
Before using it:

copy above syntax code into your TextPad 4 "Samples"
subdirectory with name kixtart.syn.

code:

REGEDIT4

[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Document Classes\KiXtart]
"Type"=dword:00000002
"Members"=hex(7):2a,2e,6b,69,78,00,00
"Properties"=hex:46,00,00,00,01,00,00,00,01,00,00,00,01,00,00,00
"SyntaxProps"=hex:01,00,00,00
"SyntaxFile"="kixtart.syn"
"WordChars"="_"
"Font0"=hex:08,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,\
00,00,00,00,00,00,43,6f,75,72,69,65,72,20,4e,65,77,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00
"Font2"=hex:08,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,\
00,00,00,00,00,00,43,6f,75,72,69,65,72,20,4e,65,77,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00
"TabStops"=hex:01,00,00,00,01,00,00,00,04,00,04,00,00,00,00,00,6c,05,0c,01,46,\
e1,4f,00,90,e1,57,00,18,0d,00,00,8a,88,50,00,ff,ff,ff,ff,38,ed,80,00,78,05,\
0c,01,00,01,00,00,fa,e2,46,00,38,ed,80,00,8d,00,00,00,78,05,0c,01,60,01,6e,\
00,e0,03,0c,01,64,ed,80,00,a4,f8,80,00,95,bc,4f,00,38,ed,80,00,01,00,00,00,\
e0,03,0c,01,a4,f8,80,00,01,00,00,00,01,00,00,00,e0,03,0c,01,18,0d,00,00,01,\
00,00,00,a4,9c,52,00,00,00,00,00,60,01,6e,00,28,ed,80,00,e4,f3,80,00
"Printer"=hex(7):57,49,4e,53,50,4f,4f,4c,00,48,50,20,4c,61,73,65,72,4a,65,74,\
20,34,4c,00,4c,50,54,31,3a,00,00
"PageSetup"=hex:fa,00,00,00,82,00,00,00,fa,00,00,00,82,00,00,00,01,00,00,00,00,\
00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00
"Header"="&l&f&r&d"
"Footer"="&p"
"UseDefault"=dword:00000000
"Colors"=hex:00,ff,ff,00,00,00,00,00,ff,00,00,00,ff,ff,ff,00,01,00,00,00,01,00,\
00,00,01,00,00,00,01,00,00,00,80,80,80,00,00,00,00,00,80,80,80,00,00,00,00,\
00,ff,00,00,00,00,00,00,00,ff,ff,00,00,00,00,00,00,00,ff,00,00,00,00,00,00,\
ff,00,00,00,00,00,00,00,ff,00,ff,00,00,00,00,00,ff,00,ff,00,00,00,00,00,01,\
00,00,00,01,00,00,00,a6,ca,f0,00,00,00,00,00,ff,00,00,00,00,00,00,00,a6,ca,\
f0,00,00,00,00,00,a6,ca,f0,00,00,00,00,00,80,00,00,00,00,00,00,00,00,00,80,\
00,01,00,00,00,01,00,00,00,00,00,00,00,ff,00,00,00,00,00,00,00,80,80,00,00,\
00,00,00,00


Remark about registry key WordChars:

code:

[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Document Classes\KiXtart]
"WordChars"="_"


Without this specification the variable f.e. $debug_mode will not
be displayed correctly. Without means that the debug part is
interpretated as boldsymbold instead of a part of a keyword.

The installation instruction to activate Kixtart with TextPad is:

code:

1. Copy syntax code (file calling: "kixtart.syn") into your
TextPad 4 "Samples" subdirectory.

2. Launch TextPad 4.

3. Close any open files.

4. From the Configure menu, choose Preferences.
The Preferences dialog box is displayed.

5. Select "Document Classes".

6a. Type a new class name in the empty box at the end of the list
of document classes: "KiXtart" for example.

6b. Click [Apply] to confirm the changes.

7. Click on the new "KiXtart" selection under Document Classes.

8a. Open the Syntax dialogue (= a subselection of Document Classes "KiXtart").

8b. Check the "Enable syntax highlighting" box and select the
"kixtart.syn" syntax file from the scroll list.
8c. Enter "_" character to "Other characters in words" box.
To handle names with "_" symbols in a correct way.

9a. Open the Tabulation dialogue *= a subselection of Document Classes "KiXtart").

9b. Enter 4 to "Default tab spacing" box.
9c. Enter 4 to "Indent Size" box.
9d. Check the "Convert new tabs to spaces" box.
9e. Check the "Convert existing tabs to spaces when saving files" box.

10. Click [Apply] to confirm the changes.

11. Click [OK] to complete changes.



A lot of other syntax definitions you can find on site
http://www.textpad.com
Greetings.

------------------
Site map:

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#56047 - 2001-05-24 11:28 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
Nice work!

By default, Keywords 2-6 are the same colour, be sure to change Keywords 5 to red on yellow so that you will NOTICE that you have KiX3 code.

Press CTRL+Q, then P to goto Preferences, then expand Document Classes, KiXtart Scripts (or whatever you called it), Colours ( ) and change your colours.

cj


------------------
cj's scripts page
cj's User Guide - 14 May 2001

chrismat@ozemail.com.au

 


[This message has been edited by cj (edited 24 May 2001).]

Top
#56048 - 2001-05-24 11:33 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
I have made a few changes to that Syntax file too... here is the latest.


KiX2001.syn

code:

; TextPad syntax definitions for KixTart 2001 beta 2a
; Contributed by cj - email chrismat@ozemail.com.au

C=1

[Syntax]
Namespace1 = 6
IgnoreCase = Yes
InitKeyWordChars = A-Za-z
KeyWordChars = A-Za-z0-9
BracketChars = {[()]}
OperatorChars = -+*/<>!~%^&|=?@
PreprocStart =
SyntaxStart =
SyntaxEnd =
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment = ;
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
StringStart = "
StringEnd = "
StringAlt =
StringEsc =
CharStart = '
CharEnd = '
CharEsc =


; Commands
[Keywords 1]
AND
BEEP
BIG
CALL
CASE
CD
CLS
COLOR
COOKIE1
COPY
DEL
DELETE
DIM
DISPLAY
DO
EACH
ELSE
ENDFUNCTION
ENDIF
ENDSELECT
FILE
FLUSHKB
FOR
FUNCTION
GET
GETS
GLOBAL
GOSUB
GOTO
IN
IF
LIST
LOOP
MD
NEXT
NOT
OPTIONAL
OR
PASSWORD
PERSISTANT
PLAY
RD
RETURN
RUN
SELECT
SET
SETL
SETM
SETTIME
SHELL
SLEEP
SMALL
STEP
TO
UNTIL
USE
USER
WHILE

; Functions
[Keywords 2]
ADDKEY
ADDPRINTERCONNECTION
ADDPROGRAMGROUP
ADDPROGRAMITEM
ASC
AT
BACKUPEVENTLOG
BOX
CHR
CLEAREVENTLOG
CLOSE
COMPAREFILETIMES
CREATEOBJECT
DECTOHEX
DELKEY
DELPRINTERCONNECTION
DELPROGRAMGROUP
DELPROGRAMITEM
DELTREE
DELVALUE
DIR
ENUMGROUP
ENUMIPINFO
ENUMKEY
ENUMLOCALGROUP
ENUMVALUE
EXPANDENVIRONMENTVARS
EXECUTE
EXIST
GETDISKSPACE
GETFILEATTR
GETFILESIZE
GETFILETIME
GETFILEVERSION
GETOBJECT
INGROUP
INSTR
KEYEXIST
LCASE
LEN
LOADHIVE
LOADKEY
LOGEVENT
LOGOFF
LTRIM
MESSAGEBOX
OPEN
READLINE
READPROFILESTRING
READTYPE
READVALUE
REDIM
REDIRECTOUTPUT
RND
RTRIM
SAVEKEY
SENDKEYS
SENDMESSAGE
SETASCII
SETCONSOLE
SETDEFAULTPRINTER
SETFILEATTR
SETFOCUS
SETSYSTEMSTATE
SETTITLE
SETWALLPAPER
SHOWPROGRAMGROUP
SHUTDOWN
SIDTONAME
SPLIT
SRND
SUBSTR
UBOUND
UCASE
UNLOADHIVE
VAL
VARTYPE
VARTYPENAME
WRITELINE
WRITEPROFILESTRING
WRITEVALUE

; Macros
[Keywords 3]
ADDRESS
COMMENT
CSD
CURDIR
DATE
DAY
DOMAIN
DOS
ERROR
FULLNAME
HOMEDIR
HOMEDRIVE
HOMESHR
HOSTNAME
INWIN
IPADDRESS0
IPADDRESS1
IPADDRESS2
IPADDRESS3
KIX
LANROOT
LDOMAIN
LDRIVE
LM
LONGHOMEDIR
LSERVER
MAXPWAGE
MDAYNO
MONTHNO
MONTH
PRIMARYGROUP
PRIV
PRODUCTSUITE
PRODUCTTYPE
PWAGE
RAS
RSERVER
SCRIPTDIR
SERROR
SID
SITE
STARTDIR
SYSLANG
TIME
USERID
USERLANG
WDAYNO
WKSTA
WUSERID
YDAYNO
YEAR

; Exit control commands
[Keywords 4]
BREAK
DEBUG
EXIT
QUIT

; Commands and Functions not supported
[Keywords 5]
EXISTKEY
GO
OLECALLFUNC
OLECALLPROC
OLECREATEOBJECT
OLEGETOBJECT
OLEGETPROPERTY
OLEGETSUBOBJECT
OLEPUTPROPERTY
OLERELEASEOBJECT


notice things like GO are in the no-longer supported list. GO is broken in KiX2k at the moment, when it is fixed, I will move it to the Commands list.


enjoy,

cj

Top
#56049 - 2001-05-24 08:58 PM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear CJ,

We agree with you about the colours, but the REGEDIT code is using different colors for kixtart scripts.
Greetings.

btw: your picture trick is very nice and clear for readers of this topic.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#56050 - 2001-05-25 05:57 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear members,

The above code is also published at our site (item: textpad.zip)
and
is contributed to the http://www.textpad.com site.
The names on this site are


  • kix2001tcl.zip (= cliplibrary)
  • kix2001syn.zip (= syntax definition file)

Special thanks to Martin Holkamp for creation of ClipLibrary file.
Greetings.

------------------
Site map:

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#56051 - 2001-05-27 09:44 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

After merging our registry settings and activation of Clip Library.
The screen can look like:

The Clip Libraries contains formats of commands, functions and macros.
F.e. selection of FUNCTION - ENDFUNCTION
will insert following code

code:

FUNCTION name [(argument1, argument2, [optional]argumentx)]
[statements]
[name = expression]
ENDFUNCTION


You only need to enter the correct values.

The code of the Clip Libraries is:

code:

!TCL=1,KiXtart2001 beta 2a Command Reference by Martin Holkamp mholkamp@allroundit.nl + MCA scripting@wanadoo.nl (update)
!TITLE=KiXtart2001 Commands
!SORT=N
!CHARSET=ANSI
!Text=BEEP
BEEP
!
!TEXT=BIG
BIG
!
!TEXT=BREAK
BREAK <ON | OFF>
!
!TEXT=CALL
CALL "script name"
!
!TEXT=CD
CD "directory"
!
!TEXT=CLS
CLS
!
!TEXT=COLOR
COLOR Xx/Yy
!
!TEXT=COOKIE1
COOKIE1
!
!TEXT=COPY
COPY "source" "destination" [/h]
!
!TEXT=DEBUG
DEBUG <ON | OFF>
!
!TEXT=DEL
DEL "FILE name"
!
!TEXT=DIM
DIM "variable1" [<,>"variablex"]
!
!TEXT=DISPLAY
DISPLAY "FILE name"
!
!TEXT=DO - UNTIL
DO
statements
UNTIL "expression"
!
!TEXT=EXIT
EXIT [error level / exit code]
!
!TEXT=FLUSHKB
FLUSHKB
!
!TEXT=FOR EACH .. IN - NEXT
FOR EACH $element IN group
statements
NEXT
!
!TEXT=FOR .. TO .. STEP - NEXT
FOR $counter = start TO end [STEP step]
statements
NEXT
!
!TEXT=FUNCTION - ENDFUNCTION
FUNCTION name [(argument1, argument2, [optional]argumentx)]
[statements]
[name = expression]
ENDFUNCTION
!
!TEXT=GET
GET $x
!
!TEXT=GETS
GETS $x
!
!TEXT=GLOBAL
GLOBAL "variable1" [<,>"variablex"]
!
!TEXT=[GO]
[GO] drive
!
!TEXT=GOSUB
GOSUB <label>
!
!TEXT=GOTO
GOTO <label>
!
!TEXT=IF - ELSE - ENDIF
IF
statements
ELSE
statements
ENDIF
!
!TEXT=MD
MD "directory"
!
!TEXT=PASSWORD
PASSWORD "PASSWORD"
!
!TEXT=PLAY
PLAY [FILE "path\filename.spk"] | "string" | "path\filename.wav"
!
!TEXT=QUIT
QUIT [error level / exit code]
!
!TEXT=RD
RD "directory"
!
!TEXT=REDIM
REDIM "variable1" [<,>"variablex"]
!
!TEXT=RETURN
RETURN
!
!TEXT=RUN
RUN "command"
!
!TEXT=SELECT CASE - ENDSELECT
SELECT
CASE expression
statements
CASE expression
statements
CASE 1 ; - otherwise -
statements
ENDSELECT
!
!TEXT=SET
SET "variable=string"
!
!TEXT=SETL
SETL "variable=string"
!
!TEXT=SETM
SETM "variable=string"
!
!TEXT=SETTIME
SETTIME "source"
!
!TEXT=SHELL
SHELL "command"
!
!TEXT=SLEEP
SLEEP <seconds>
!
!TEXT=SMALL
SMALL
!
!TEXT=USE
USE LIST
!
!TEXT=WHILE - LOOP
WHILE "expression"
statements
LOOP
!
!TEXT=AddKey
AddKey ("subkey")
!
!TEXT=AddPrinterConnection
AddPrinterConnection ("printer name")
!
!TEXT=AddProgramGroup
AddProgramGroup ("group name", common group flag)
!
!TEXT=AddProgramItem
AddProgramItem ("command line", "name", "icon path", icon index, "default directory", minimize, replace, run in own space)
!
!TEXT=Asc
Asc (character)
!
!TEXT=At
At (row, column)
!
!TEXT=BackupEventLog
BackupEventLog ("eventlog", "backupfile")
!
!TEXT=Box
Box (top_left_row, top_left_column, bottom_right_row, bottom_right_column, "line style")
!
!TEXT=Chr
Chr (character code)
!
!TEXT=ClearEventLog
ClearEventLog ("eventlog")
!
!TEXT=Close
Close (file number)
!
!TEXT=CompareFileTimes
CompareFileTimes ("file1", "file2")
!
!TEXT=CreateObject
CreateObject ("servername.typename")
!
!TEXT=DecToHex
DecToHex (Decimal value)
!
!TEXT=DelKey
DelKey ("subkey")
!
!TEXT=DelPrinterConnection
DelPrinterConnection ("printer name")
!
!TEXT=DelProgramGroup
DelProgramGroup ("group name", common group flag)
!
!TEXT=DelProgramItem
DelProgramItem ("item name")
!
!TEXT=DelTree
DelTree ("subkey")
!
!TEXT=DelValue
DelValue ("subkey", "entry")
!
!TEXT=Dir
Dir ("path", index)
!
!TEXT=EnumGroup
EnumGroup (index)
!
!TEXT=EnumIPInfo
EnumIPInfo (index, type)
!
!TEXT=EnumKey
EnumKey ("subkey", index)
!
!TEXT=EnumLocalGroup
EnumLocalGroup (index, "source")
!
!TEXT=EnumValue
EnumValue ("subkey", index)
!
!TEXT=Execute
Execute (script code)
!
!TEXT=Exist
Exist ("file name")
!
!TEXT=ExistKey
ExistKey ("subkey")
!
!TEXT=ExpandEnvironmentVars
ExpandEnvironmentVars ("string")
!
!TEXT=GetDiskSpace
GetDiskSpace ("drive")
!
!TEXT=GetFileAttr
GetFileAttr ("file name")
!
!TEXT=GetFileSize
GetFileSize ("file name")
!
!TEXT=GetFileTime
GetFileTime ("file name")
!
!TEXT=GetObject
GetObject ("objectname")
!
!TEXT=GetFileVersion
GetFileVersion ("file name", "versionfield")
!
!TEXT=Ingroup
Ingroup ("group name")
!
!TEXT=Instr
Instr ("string1", "string2")
!
!TEXT=KeyExist
KeyExist ("subkey")
!
!TEXT=Lcase
Lcase ("string")
!
!TEXT=Len
Len ("string")
!
!TEXT=LoadHive
LoadHive ("key", "file name")
!
!TEXT=LoadKey
LoadKey ("subkey", "file name")
!
!TEXT=LogEvent
LogEvent (type, ID, message, target, source)
!
!TEXT=Logoff
Logoff (force)
!
!TEXT=Ltrim
Ltrim ("string")
!
!TEXT=MessageBox
MessageBox ("message", "title", style, time-out)
!
!TEXT=OleCallFunc
OleCallFunc (objecthandle, "methodname", "typelist", "optionalargument1", "optionalargument2" , ...)
;------- Works only with Kix 3.63 AND lower versions -------
!
!TEXT=OleCallProc
OleCallProc (objecthandle, "methodname", "typelist", "optionalargument1", "optionalargument2" , ...)
;------- Works only with Kix 3.63 AND lower versions -------
!
!TEXT=OleCreateObject
OleCreateObject ("serverclassname")
;------- Works only with Kix 3.63 AND lower versions -------
!
!TEXT=OleGetObject
OleGetObject (mode, "objectname" , "classname")
;------- Works only with Kix 3.63 AND lower versions -------
!
!TEXT=OleGetProperty
OleGetProperty (objecthandle , "propertyname")
;------- Works only with Kix 3.63 AND lower versions -------
!
!TEXT=OleGetSubObject
OleGetSubObject (objecthandle, "methodname", "typelist", "optionalargument1", "optionalargument2" , ...)
;------- Works only with Kix 3.63 AND lower versions -------
!
!TEXT=OlePutProperty
OlePutProperty (objecthandle , "propertyname", "value")
;------- Works only with Kix 3.63 AND lower versions -------
!
!TEXT=OleReleaseObject
OleReleaseObject (objecthandle)
;------- Works only with Kix 3.63 AND lower versions -------
!
!TEXT=Open
Open (file number, "file name", mode)
!
!TEXT=ReadLine
ReadLine (file number)
!
!TEXT=ReadProfileString
ReadProfileString ("file name", "section", "key")
!
!TEXT=ReadType
ReadType ("subkey", "entry")
!
!TEXT=ReadValue
ReadValue ("subkey", "entry")
!
!TEXT=RedirectOutput
RedirectOutput ("file name", overwrite)
!
!TEXT=Rnd
Rnd (Range)
!
!TEXT=Rtrim
Rtrim ("string")
!
!TEXT=SaveKey
SaveKey ("subkey", "file name")
!
!TEXT=SendKeys
SendKeys ("keys")
!
!TEXT=SendMessage
SendMessage ("recipient", "message")
!
!TEXT=SetAscii
SetAscii ("mode")
!
!TEXT=SetConsole
SetConsole ("mode")
!
!TEXT=SetTitle
SetTitle ("title")
!
!TEXT=SetDefaultPrinter
SetDefaultPrinter ("printer name")
!
!TEXT=SetFileAttr
SetFileAttr ("file name", attributes)
!
!TEXT=SetFocus
SetFocus ("Title")
!
!TEXT=SetWallPaper
SetWallPaper ("wallpaper name")
!
!TEXT=ShowProgramGroup
ShowProgramGroup ("group name", show command, common group flag)
!
!TEXT=Shutdown
Shutdown ("computer", "message", wait, force, reboot)
!
!TEXT=SidToName
SidToName ("sid")
!
!TEXT=Split
Split ("string", "delimiter", count)
!
!TEXT=Srnd
Srnd (seed)
!
!TEXT=Substr
Substr ("string", start, length)
!
!TEXT=UBound
UBound (array)
!
!TEXT=Ucase
Ucase ("string")
!
!TEXT=UnloadHive
UnloadHive ("key")
!
!TEXT=Val
Val ("string")
!
!TEXT=VarType
VarType ($variable)
!
!TEXT=VarTypeName
VarTypeName ($variable)
!
!TEXT=WriteLine
WriteLine (file number, "linetowrite")
!
!TEXT=WriteProfileString
WriteProfileString ("file name", "section", "key", "string")
!
!TEXT=WriteValue
WriteValue ("subkey", "entry", "expression", "data type")
!
!TEXT=@address
@address
!
!TEXT=@comment
@comment
!
!TEXT=@curdir
@curdir
!
!TEXT=@csd
@csd
!
!TEXT=@date
@date
!
!TEXT=@day
@day
!
!TEXT=@domain
@domain
!
!TEXT=@dos
@dos
!
!TEXT=@error
@error
!
!TEXT=@fullname
@fullname
!
!TEXT=@homedir
@homedir
!
!TEXT=@homedrive
@homedrive
!
!TEXT=@homeshr
@homeshr
!
!TEXT=@hostname
@hostname
!
!TEXT=@inwin
@inwin
!
!TEXT=@ipaddressX
@ipaddressX
!
!TEXT=@kix
@kix
!
!TEXT=@lanroot
@lanroot
!
!TEXT=@ldomain
@ldomain
!
!TEXT=@ldrive
@ldrive
!
!TEXT=@lm
@lm
!
!TEXT=@longhomedir
@longhomedir
!
!TEXT=@lserver
@lserver
!
!TEXT=@maxpwage
@maxpwage
!
!TEXT=@mdayno
@mdayno
!
!TEXT=@monthno
@monthno
!
!TEXT=@month
@month
!
!TEXT=@primarygroup
@primarygroup
!
!TEXT=@priv
@priv
!
!TEXT=@productsuite
@productsuite
!
!TEXT=@producttype
@producttype
!
!TEXT=@pwage
@pwage
!
!TEXT=@ras
@ras
!
!TEXT=@rserver
@rserver
!
!TEXT=@scriptdir
@scriptdir
!
!TEXT=@serror
@serror
!
!TEXT=@sid
@sid
!
!TEXT=@site
@site
!
!TEXT=@startdir
@startdir
!
!TEXT=@syslang
@syslang
!
!TEXT=@time
@time
!
!TEXT=@userid
@userid
!
!TEXT=@userlang
@userlang
!
!TEXT=@wdayno
@wdayno
!
!TEXT=@wksta
@wksta
!
!TEXT=@wuserid
@wuserid
!
!TEXT=@ydayno
@ydayno
!
!TEXT=@year
@year

Greetings.

------------------
Site map:

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#56052 - 2001-07-10 03:12 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

For the users of TextPad 4.4 editor we have update the

  • ClipLibrary
  • Syntax Definition File

files to KiXtart 4.00 RC 1 release. The program name is textpad4.zip.

Greetings.

BTW: Symbol on our homepage has been linked to related http://kixtart.org topic.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#56053 - 2001-07-10 05:54 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
Your colours =

My colours =


cj

[ 10 July 2001: Message edited by: cj ]

Top
#56054 - 2001-11-28 05:48 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

We have update the TextPad 4.4 related KiXtart files.
This version is compliant with the KiXtart 2001 - 4.01 (build 64)
release.
greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#56055 - 2002-04-10 05:09 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

We have made some changes to our textpad4.zip file. This file contains
ClipLibrary and Syntax Definition File for TextPad4 editor.

Currently it is compliant with KiXtart 4.10 build 84 release.
greetings.

btw: soon this version will also be available at site http://www.textpad.com
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#56056 - 2002-11-12 11:15 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
MCA and CJ,

This program has not been "enhanced, updated" since July 21, 2001 which means that the program has not undergone any updates now for about 14 months. Seems like maybe the author has left you hanging for any future updates. [Frown]

Helios Software Solutions
TextPad v4.50
http://www.textpad.com

Top
#56057 - 2002-11-13 04:27 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Thanks NTDOC,

The latest update information on what's new page seems not to reflect the actual
status. On 21 July 21 2001 they announce the new Textpad 4.5 release for October 2001, which
is now actual available.

Also the forum shows enough activity.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#56058 - 2002-11-13 06:07 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
MCA,

Tech Support actually wrote me back and said that a "major" release should soon be available, but he did not have a specific date.

He answered me back within about 3 hours of me sending email (late at night), so there still an up and running Company it would seem.

Apparently just not as active at updating the program as many other companies seem to be these days.

Top
#56059 - 2002-11-13 11:36 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Thanks NTDOC,

To make the information complete.
greetings.

btw: we see that you and other guys have create their own homepage. we will put them
on our "Links to Favorite Site" page.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#56060 - 2002-11-23 03:25 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
I am still using TextPad and there is nothing that makes me say "I wish TextPad could do ........ too". It does everything I need and a few things I don't.

cj

Top
#56061 - 2002-11-23 03:28 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
Well, it don't fire up your chat client cj [Wink]

Hows it going?

Top
#56062 - 2002-12-20 08:06 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
[Big Grin] haha, it doesn't. I have been very busy of late. I am coding huge VBScripts at work (1000+ lines) and huge Delphi programs at home (EXE almost 1MB now) and have not done much with KiXtart other than recruit new.. umm, recruits. We had a discussion at work about which scripting language should be used and I think it will be KiXtart.

Someone mentioned that there are no KiXtart viruses and someone else joked that I should make one this weekend. If I was not Delphi'ing, I prob would [Smile] Maybe someone should make that a KiXgolf challenge...

. Must be polymorphic
. Must be able to self replicate
. Must be harmless (we don't want to give KiXtart a bad name)

I actually started a project similar to MARS (RedCode) in KiXtart some time ago, but never finished it. I lost almost all my A-Life KiXtart scripts in a failed CDR burn 2 years ago [Frown]

anyway, work Christmas party has free food, I will prob check back later.

cj
p.s. I have been using MSN more recently lately, christakis_john@hotmail.com

Top
#56063 - 2002-12-20 08:14 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
oops, sorry [Roll Eyes]

cj

Top
#56064 - 2002-12-20 08:16 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
that is a mistake never forgotten [Mad]

[Razz] right.
I think it's just your shaking hands after all that coding.
_________________________
!

download KiXnet

Top
#56065 - 2003-01-20 02:04 AM Re: KIXTART-EDITOR: syntax format for "TextPad 4" editor
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

New Textpad syntax definition file and ClipLibrary file available.
Current version is compliant with

Kixtart 2001 - 4.20 release candidate 1 (build 123)

Now available by

Summary of Site
&
Home - Utilities

pages. Name textpad4.zip
Both files can be found also on the www.textpad.com site soon.
Differences with previous version are the implementations of functions
- AScan
- FreeFileHandle
- IIF
- IsDeclared
- Join
and command MOVE
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2924 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.083 seconds in which 0.035 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