DialogScript contains a over 100 functions, (see Function Reference) which are evaluated at run time and return a string containing information. Extra functions may be added by means of extensions. DialogScript 5 also allows user user defined functions.

Functions start with an @ symbol followed by the function name. The argument(s) to the function are in the form of a string enclosed in parentheses. The parentheses must be present even if the function takes no arguments. For functions that take more than one argument the arguments are separated by commas.        

Here are some examples of functions:        

%A = @ASK(Do you want to continue?)

%A = @EQUAL(%F,WIN.INI)

Note that because the @ symbol is used to identify functions you cannot use it for any other purpose (such as in text) unless it is enclosed within double quotes.        

Here is a list of the functions available in Visual DialogScript:

  • @ABS
  • @ADDR
  • @ADJUST
  • @ALT
  • @ASC
  • @ASK
  • @BINARY
  • @BINFILE
  • @BITMAP
  • @BOTH
  • @BROWSER
  • @CHR
  • @CLICK
  • @CLIPBRD
  • @CMDLINE
  • @COLORDLG
  • @COMM
  • @COUNT
  • @CR
  • @CTRL
  • @CURDIR
  • @DATETIME
  • @DDEITEM
  • @DDEMAC
  • @DIFF
  • @DIRDLG
  • @DIV
  • @DLGPOS
  • @DLGTEXT
  • @ENCRYPT
  • @ENV
  • @EQUAL
  • @ERROR
  • @ESC
  • @EVENT
  • @EXPAND
  • @EXT
  • @FILE
  • @FILEDLG
  • @FILEPOS
  • @FILL

    Floating point functions
    • @FABS absolute
    • @FADD addition
    • @FATN arctangent
    • @FCOS cosine
    • @FDIV division
    • @FEXP exp
    • @FINT
    • @FLN ln
    • @FMUL multiplication
    • @FRAC Fraction
    • @FROUND Round
    • @FSIN sine
    • @FSQT square root
    • @FSUB subtraction
  • @FOCUS
  • @FONTDLG
  • @FORMAT
  • @FSEP
  • @GREATER
  • @HEX
  • @HOTKEY
  • @IMAGE
  • @INDEX
  • @INIREAD
  • @INPUT
  • @ITEM
  • @ITEMS
  • @KEY
  • @LEN
  • @LESS
  • @LF
  • @LIB
  • @LOWER
  • @MATCH
  • @MAX
  • @MCI
  • @MIN
  • @MOD
  • @MOUSEDOWN
  • @MOUSEPOS
  • @MSGBOX
  • @MSGPARAMS
  • @NAME
  • @NEW
  • @NEXT
  • @NOT
  • @NULL
  • @NUMERIC
  • @OK
  • @PATH
  • @PIPE
  • @POS
  • @PRED
  • @PROD
  • @QUERY
  • @RANDOM
  • @READ
  • @READLINE
  • @REGEXISTS
  • @REGREAD
  • @REGTYPE
  • @RETCODE
  • @SELECTED
  • @SENDMSG
  • @SHIFT
  • @SHORTNAME
  • @STRDEL
  • @STRINS
  • @SUBSTR
  • @STRREP
  • @STRSLICE
  • @SUCC
  • @SUM
  • @SYSINFO
  • @TAB
  • @TEXT
  • @TIMER
  • @TRIM
  • @UNEQUAL
  • @UPPER
  • @URLDECODE
  • @URLENCODE
  • @VAL
  • @VERINFO
  • @VOLINFO
  • @WINACTIVE
  • @WINATPOINT
  • @WINCLASS
  • @WINDIR
  • @WINDOW
  • @WINEXISTS
  • @WINPOS
  • @WINTEXT
  • @XMLTEXT
  • @ZERO