Command | Parameters | Available now? | Available in Pre-Release? | Description | declare | <variable> <value> | √ | √ | Set <variable> to <value> | delay | <time> | √ | √ | waits <time> seconds | goto | <label> | √ | √ | goes to <label> | guicreate | <title>;;[x];;[y] | X | X | creates a window titled <title> and if [x] and [y] are specified, those will be the screen coordinates of the window | guicreatebutton | <text>;;<x>;;<y> | X | X | creates a button in the GUI at coordinates (<x>,<y>) (these coorinates are relative to the GUI window) | if | <val1>=<val2> then <command> | √ | √ | if <val1> and <val2> are equal, then <command> is executed | *if | <val1>=<val2> then <command> | √ | √ | if <val1> and <val2> are NOT equal, then <command> is executed. | input | <variable> <prompt> | √ | √ | displays an input dialog with the text <prompt> and returns <variable> | input* | <variable> <prompt> | √ | √ | displays a masked input dialog with the text <prompt> and returns <variable> | kill file | <file> | √ | √ | deletes the file<file> | kill process | <process> | √ | √ | ends the process <process> | math | <varable>=<val1>:<val2>:<operator> | √ | √ | sets <variable> by doing <val1> <operator> <val2> (e.g. 1=5:2:+ would set $1 to 5+2) | msgbox | <title>;;<text> | √ | √ | displays a message box with the title <title> and text <text> | play sound | <filename> | √ | √ | plays the sound located at <filename> and does NOT wait for it to finish | play soundW | <filename> | √ | √ | plays the sound located at <filename> and waits for it to finish | readall | <variable> <file> | √ | √ | sets <variable> to all the contents of <file> | readln | <variable> <file>;;<line> | √ | √ | sets <variable> to line <line> of <file> | savedlg/opendlg | <variable> <title>;;<initdir>;;<filetype> | √ | √ | displays a file save/open dialog, with title <title>, starting in the directory <initdir> displaying the file type <filetype> | writeall | <file>;;<text> | X | √ | Sets the contents of <file> to <text> | writeln | <file>;;<text> | X | √ | Puts <text> at the end of <file> | write | <text> | √ | √ | writes <text> to the output window
|
Note: <parameter> is required, [parameter] is notSymbols used to denote special text Symbol | Meaning | Beginning of line? | Example | : | Label used for 'goto' command | Yes | :5 | # | Comment | Yes | #This line is commented out. | !! | Comment | No | msgbox ACID;;Hello! !!This says hello. |
Symbols used to denote parameters and variablesSymbol | Meaning | Example | $ | Used in front of variables | msgbox ACID;;This is variable 1: $1. | ;; | Parameter separator | msgbox Title;;Text |
Special codes used for symbolsSymbol Code | Description | @CRLF | @CR and @LF (used for line breaks) | @CR | Carriage Return (used for line breaks) | @LF | Line Feed (used for line breaks) | @TAB | Tab Character |
For example programs, see the examples folder on the downloads page. Remarks:- All variable numbers must be two digits (use $01 instead of $1, and declare 01 instead of $1)
- When declaring a label, put a : before it (e.g. :1). In the goto statement, do not. (e.g. goto 1)
- Only put one statement per line (except the command of an if statement)
- To comment out a line, put a # at the beginning of the line.
- To comment out the end of a line, put a !! before the comment.
|
|