Command Reference
This is a list of script functions and system variables taken from the Help System. The help system ships with the software (Hit F1 anywhere in Macro Scheduler!). The following list links to the online version of the manual.
Script Functions
- Abs
- Add
- AddDialogHandler
- AddTrayHandler
- AddTrayIcon
- AESEncrypt
- AppendFile
- ArcTan
- ArrayCopy
- ArrayCount
- ArrayDim
- ArrayFind
- ArrayRename
- ArraySort
- Ascii
- Ask
- Assigned
- Base64
- Between
- BlockInput
- CapsOff
- CapsOn
- ChangeDirectory
- ChromeElementAction
- ChromeExecute
- ChromeFindElements
- ChromeGetElementData
- ChromeGetInfo
- ChromeNavigate
- ChromeQuit
- ChromeSetElementValue
- ChromeStart
- ChromeSwitchFrame
- CloseDialog
- CloseWindow
- ColorToRGB
- CompareBitmaps
- ConCat
- CopyFile
- CopyFolder
- Cos
- CountDirs
- CountFiles
- CreateDir
- Crypt
- CSVFileToArray
- DateAdd
- DateDiff
- DateLocal
- DatePart
- DateStamp
- Day
- DayOfWeek
- DBClose
- DBConnect
- DBExec
- DBQuery
- DDEPoke
- DDERequest
- DelArray
- DeleteFile
- DeleteFolder
- DelArray
- DelTrayIcon
- DelVariable
- Dialog
- EdgeElementAction
- EdgeExecute
- EdgeFindElements
- EdgeGetElementData
- EdgeGetInfo
- EdgeNavigate
- EdgeQuit
- EdgeSetElementValue
- EdgeStart
- EdgeSwitchFrame
- EditIniFile
- END
- EndDialog
- Endif
- EndWhile
- ExecuteFile
- Exit
- Exp
- ExportData
- ExtractFileExt
- ExtractFileName
- ExtractFilePath
- FileDate
- FileSize
- FileTime
- FindImagePos
- FindObject
- FindWindowWithText
- Format
- Frac
- FTPDelFile
- FTPGetDirList
- FTPGetFile
- FTPMakeDir
- FTPPutFile
- FTPRemoveDir
- FTPRenameFile
- GetActiveWindow
- GetCaretPos
- GetCheckBox
- GetClipBoard
- GetControlText
- GetCursorPos
- GetDate
- GetDialogAction
- GetDialogProperty
- GetEnvVar
- GetFileList
- GetFocusedObject
- GetListItem
- GetNewestFile
- GetOldestFile
- GetPixelColor
- GetProcessIds
- GetRectCheckSum
- GetScreenRes
- GetTextAtPoint
- GetTextInRect
- GetTextPos
- GetTextReset
- GetTime
- GetTreeNode
- GetVarType
- GetWindowChildList
- GetWindowHandle
- GetWindowList
- GetWindowNames
- GetWindowParent
- GetWindowPos
- GetWindowProcess
- GetWindowSize
- GetWindowText
- GetWindowTextEx
- GoSub
- Goto
- Hash
- HoldKey
- Hour
- HTMLDecode
- HTMLEncode
- HTTPRequest
- IEClickTag
- IEContainsText
- IECreate
- IEDoDownload
- IEExtractTable
- IEExtractTableByName
- IEExtractTag
- IEExtractTagByAttrib
- IEExtractTagByName
- IEFormFill
- IEFormSubmit
- IEGetAllText
- IEGetFromURL
- IEGetHWND
- IEGetTagPos
- IEGetTags
- IEGetTagsByAttrib
- IEGetURL
- IEGoBack
- IEGoForward
- IENavigate
- IEOnDownload
- IEQuit
- IERefresh
- IESetTimeout
- IESHowIE
- IETagEvent
- IETagEventByAttrib
- IEWait
- IEWaitDocumentComplete
- IEWaitFileDownload
- IEWaitForText
- IEWaitNew
- IEWaitTimeout
- If
- IfDirExists
- IfFileChanged
- IfFileExists
- IfNot
- IfNotDirExists
- IfNotFileChanged
- IfNotFileExists
- IfNotWindowOpen
- IfWindowOpen
- Include
- IncludeFromVar
- Input
- Int
- IsConnectedToInternet
- JsonParse
- KillProcess
- Label
- LabelToVar
- LClick
- LDblClick
- LDown
- Length
- Let
- LibFree
- LibFunc
- LibFuncW
- LibLoad
- Ln
- LowerCase
- LTrim
- LUp
- Macro
- MClick
- MDblClick
- MDown
- Message
- MessageModal
- MidStr
- Min
- ModTrayIcon
- Month
- MouseMove
- MouseMoveRel
- MouseOver
- MoveFile
- MoveWindow
- MUp
- NumOff
- NumOn
- ObjectSendKeys
- ObjectSendText
- OCRArea
- OCRImage
- OCRScreen
- OCRWindow
- OnEvent
- Pi
- PlayWav
- PopupMenu
- Position
- Power
- Press
- PrintDialog
- ProcessExists
- PushButton
- PutClipBoard
- PyExec
- Random
- RClick
- RDblClick
- RDown
- ReadFile
- ReadIniFile
- ReadLn
- RegEx
- RegistryDelKey
- RegistryDelVal
- RegistryEnumKeys
- RegistryEnumVals
- RegistryReadKey
- RegistryWriteKey
- Release
- Remark
- RenameFile
- Repeat
- ResetDialogAction
- ResizeWindow
- RetrievePOP3
- RGB
- Round
- RTrim
- Run
- RunProgram
- RUp
- ScreenCapture
- ScrollOff
- ScrollOn
- Sec
- SelectMenu
- Send
- SendText
- Separate
- SetCheckBox
- SetControlText
- SetDialogObjectColor
- SetDialogObjectFocus
- SetDialogObjectFont
- SetDialogObjectVisible
- SetDialogProperty
- SetEnvVar
- SetFocus
- SetObjectText
- SetRoundMode
- SetVolume
- Show
- ShutDownWindows
- Sin
- SkipLabel
- SMTPSendMail
- SOWrite
- SOWriteLn
- Sqr
- Sqrt
- SRT
- StringReplace
- Sub
- TelnetClose
- TelnetConnect
- TelnetSend
- TelnetWaitFor
- TimeAdd
- TimeDiff
- TimeLocal
- TimePart
- Timer
- TimeStamp
- Toolbar
- Trim
- Trunc
- UIAccessibleList
- UIClick
- UIFocus
- UIGetValue
- UIPos
- UISelect
- UISetValue
- Until
- UpperCase
- VBEND
- VBEval
- VBRun
- VBSTART
- Wait
- WaitClipBoard
- WaitCursorChanged
- WaitKeyDown
- WaitPixelColor
- WaitProcessExists
- WaitProcessTerminated
- WaitReady
- WaitRectChanged
- WaitScreenImage
- WaitScreenText
- WaitWindowChanged
- WaitWindowClosed
- WaitWindowFocused
- WaitWindowOpen
- While
- WindowAction
- Wow64DisableRedirection
- Wow64EnableRedirection
- WriteLn
- XLAddSheet
- XLCreate
- XLDelCol
- XLDelRow
- XLDelSheet
- XLFind
- XLGet
- XLGetCell
- XLGetSelectedCell
- XLGetSheetDims
- XLGetSheetNames
- XLOpen
- XLQuit
- XLRun
- XLRunCode
- XLSave
- XLSelectRange
- XLSetCell
- XLSetCellColor
- XLSetRangeFormat
- XLSheetToArray
- XMLParse
- Year
- ZipAddFiles
- ZipExtractFiles
System Variables & Directives
- _DUMP_VARS
- _LINE_NUM
- _WRITE_LOG_FILE
- AES_LEGACY
- APP_TITLE
- ASK_TIMEOUT
- BASE64_UNICODE
- BM_DIR
- CF_OVERWRITE
- CF_RESULT
- CF_RESULT_CODE
- CHROMEDRIVER_OPTIONS
- COMMA
- COMMAND_LINE
- COMPUTER_NAME
- CR
- CRLF
- CRYPT_LEVEL
- CWD
- DDE_TIMEDOUT
- DECIMAL_SEPARATOR
- DESKTOP_DIR
- DISABLE_COMPLEX_EXPRESSIONS
- FIP_SCANPIXELS
- FTP_PASSIVE
- FTP_RESULT
- FTP_STATUS
- FTP_TIMEOUT
- FTP_USETLS
- GAW_TYPE
- GFL_ATTRIBS
- GFL_SORTTYPE
- GFL_TYPE
- HTTP_REDIRECTS
- HTTP_SSL
- HTTP_TIMEOUT
- INPUT_BROWSE_FILTER
- INPUT_PASSWORD
- INPUT_TIMEOUT
- LF
- LOCALVARS
- MACRO_PARAMS
- MACRO_RESULT
- MF_RENAME
- MSCHED_VER
- MSG_CENTERED
- MSG_HEIGHT
- MSG_STAYONTOP
- MSG_WIDTH
- MSG_XPOS
- MSG_YPOS
- NULLCHAR
- OCR_LANGDIR
- OCR_LANGCODE
- OCR_SCALEFACTOR
- ONERROR
- OS_PLATFORM
- OS_VER
- POP3_DELETE
- POP3_MSGSIZELIMIT
- POP3_PORT
- POP3_STATUS
- POP3_TIMEOUT
- PRESS_ALLOWVARS
- PROGRAM_FILES_NATIVE
- REG_64
- REG_INTASSTR
- RP_ADMIN
- RP_DISPLAYERROR
- RP_WAIT
- RP_WIN64PROCESS
- RP_WINDOWMODE
- SCREENCAP_CLIPBOARD
- SCRIPT_DIR
- SCRIPT_FILE
- SCRIPT_NAME
- SENDMAIL_STATUS
- SK_DELAY
- SK_IGNORECAPS
- SK_LEGACY
- SMTP_AUTH
- SMTP_BCCLIST
- SMTP_CCLIST
- SMTP_PASSWORD
- SMTP_PORT
- SMTP_RECEIPT
- SMTP_USERID
- SPACE
- SSL_CERT
- SSL_KEY
- SSL_ROOT_CERT
- STEP_DELAY
- SYS_DIR
- SYS_NATIVE
- TAB
- TEMP_DIR
- THOUSAND_SEPARATOR
- TLS_VER
- USER_NAME
- USERDOCUMENTS_DIR
- VAREXPLICIT
- VBS_TIMEOUT
- WCC_RESULT
- WF_TYPE
- WFP_RESULT
- WFP_TIMEOUT
- WIN_DIR
- WIN_REGEX
- WIN_SLEEP
- WIN_USEHANDLE
- WLN_ENCODING
- WLN_NOCRLF
- WSI_BITMAP
- WSI_TIMEOUT
- WSI_TIMEDOUT
- WST_TIMEOUT
- WW_RESULT
- WW_TIMEOUT