Contents
Index
Search
Macro Scheduler
Welcome!
License Agreement
Purchasing
Support
Using Macro Scheduler
Getting Started
Menu Commands
Toolbar
Creating Scripts
Backing up your Scripts and Settings
Script Commands
Using Variables
Code Builder
Code Wizards
Code Snippets
Code Folding and Bookmarks
Scheduling Scripts
Advanced Scheduling
Trigger
AutoLogon
Logging
Encryption
Hot Keys
Groups
Stats
Recording Macros
Playing Scripts And Macros
Creating Desktop Shortcuts
Using the Debugger
Dialog Designer
WebRecorder
Command Line Options
Menu Options
New Macro
New Macro From Template
Edit Macro
Import Macros
Hide
Exit
Delete
Remove from Group
Rename
Select All
New Group
Delete Group
Group Properties
Sort
Font
Grid Lines
List
Details
Large Buttons
Toolbar
Search Bar
Create Exe
View Log File
Desktop Shortcut
View System Windows
Options
Run Now
Record
Stop
Contents
Check for Update
Support Forums
About
Scripting Windows For Beginners
Introduction
Requirements
The Problem
Using Macro Scheduler
First Steps
Building The Script
Run Notepad
Wait for the window "Untitled – Notepad"
Send our lines of text
Press ALT-FA
Wait for the window "Save As"
Send our filename
The Script So Far
Printing the Document
Closing Notepad
The Complete Script
Where To Go From Here
Command Reference
Complex Expressions
Arithmetic Operators
Logical Operators
String Operators
Relational Operators
Arithmetic Functions
String Functions
Conditional Functions
Examples
Clipboard Commands
GetClipBoard
PutClipBoard
WaitClipBoard
Console App Funtions
SOWrite
SOWriteLn
Database Commands
DBClose
DBConnect
DBExec
DBQuery
Date/Time Commands
DateAdd
DateDiff
DateLocal
DatePart
DateStamp
Day
DayOfWeek
GetDate
GetTime
Hour
Min
Month
Sec
TimeAdd
TimeDiff
TimePart
TimeLocal
Timer
TimeStamp
Year
DDE Commands
DDEPoke
DDERequest
Dialogs
Dialog Objects
File Browse Buttons
Button Object Properties
Form Properties
MainMenu - Menu Builder
Label Object Properties
Edit Object Properties
Memo Object Properties
CheckBox Object Properties
ListBox Object Properties
ComboBox Object Properties
Image Object Properties
RadioGroup Object Properties
ProgressBar Object Properties
PageControl Object Properties
TabSheet Object Properties
Panel Object Properties
Splitter Object Properties
StatusBar Object Properties
StringGrid Object Properties
MenuItem Object Properties
HTMLViewer Object Properties
Dialog Functions
CloseDialog
Dialog
EndDialog
GetDialogAction
PrintDialog
ResetDialogAction
SetDialogObjectColor
SetDialogObjectFont
SetDialogObjectFocus
SetDialogObjectVisible
Show
GetDialogProperty
SetDialogProperty
AddDialogHandler
Dialog Examples
Modal vs Non-Modal Dialogs
Excel Functions
XLAddSheet
XLCreate
XLDelCol
XLDelRow
XLDelSheet
XLFind
XLGet
XLGetCell
XLGetSheetDims
XLGetSelectedCell
XLGetSheetNames
XLOpen
XLQuit
XLRun
XLRunCode
XLSave
XLSelectRange
XLSetCell
XLSetCellColor
XLSetRangeFormat
XLSheetToArray
File Handling
AppendFile
ChangeDirectory
CopyFile
CopyFolder
CountDirs
CountFiles
CreateDir
CSVFileToArray
DeleteFile
DeleteFolder
EditIniFile
FileDate
FileSize
FileTime
GetFileList
GetNewestFile
GetOldestFile
IfDirExists
IfFileChanged
IfFileExists
IfNotDirExists
IfNotFileChanged
IfNotFileExists
MoveFile
ReadFile
ReadIniFile
ReadLn
RenameFile
WriteLn
ZipAddFiles
ZipExtractFiles
FTP/HTTP/Telnet/Email Commands
FTPDelFile
FTPGetDirList
FTPGetFile
FTPMakeDir
FTPPutFile
FTPRemoveDir
FTPRenameFile
HTTPRequest
IsConnectedToInternet
RetrievePOP3
SMTPSendMail
TelnetClearLog
TelnetClose
TelnetConnect
TelnetSend
TelnetWaitFor
Conditional Commands (If...)
If
IfDirExists
IfFileChanged
IfFileExists
IfNot
IfNotDirExists
IfNotFileChanged
IfNotFileExists
IfNotWindowOpen
IfWindowOpen
Image Recognition
CompareBitmaps
FindImagePos
GetPixelColor
GetRectCheckSum
GetScreenRes
ScreenCapture
WaitPixelColor
WaitRectChanged
WaitScreenImage
Keyboard Commands
Ascii
CapsOff
CapsOn
HoldKey
NumOff
NumOn
ObjectSendKeys
ObjectSendText
Press ...
Release ...
ScrollOff
ScrollOn
SendText
WaitKeyDown
Loops and Branching
EndWhile
Gosub
Goto
Label
Repeat
SkipLabel
Until
While
Messages
Ask
Input
Message
MessageModal
Miscellaneous
AddTrayHandler
AddTrayIcon
ArrayCopy
ArrayRename
ArrayCount
ArrayDim
ArrayFind
ArraySort
ColorToRGB
DelArray
DelTrayIcon
DelVariable
BlockInput
ExportData
GetEnvVar
GetProcessIDs
GetVarType
KillProcess
LibFree
LibFunc
LibFuncW
LibLoad
ModTrayIcon
PlayWav
PopupMenu
ProcessExists
PyExec
Random
RGB
SetEnvVar
SetVolume
WaitCursorChanged
WaitProcessExists
WaitProcessTerminated
Wow64DisableRedirection
Wow64EnableRedirection
Mouse Commands
GetCaretPos
GetCursorPos
LClick
LDblClick
LDown
LUp
MClick
MDblClick
MDown
MouseMove
MouseMoveRel
MouseOver
MUp
RClick
RDblClick
RDown
RUp
Toolbar
Numeric Functions
Add
Let
SetRoundMode
Sub
Registry Functions
RegistryDelKey
RegistryDelVal
RegistryEnumKeys
RegistryEnumVals
RegistryReadKey
RegistryWriteKey
Running Programs/Files
ExecuteFile
RunProgram
Script Control
SkipLabel
Assigned
EndWhile
END
Exit
Goto
Gosub
If
IfNot
Include
IncludeFromVar
Label
Let
Macro
OnEvent
Remark
Repeat
SRT
Until
Wait
WaitReady
While
String Handling
AESEncrypt
Base64
Between
ConCat
Crypt
ExtractFileExt
ExtractFileName
ExtractFilePath
Format
Hash
HTMLDecode
HTMLEncode
JSONParse
LabelToVar
Length
LowerCase
LTrim
MidStr
Position
RegEx
RTrim
Separate
StringReplace
Trim
UpperCase
XMLParse
Text Capture
GetControlText
GetTextAtPoint
GetTextInit
GetTextInRect
GetTextPos
GetTextReset
GetWindowText
GetWindowTextEx
OCRArea
OCRImage
OCRScreen
OCRWindow
WaitScreenText
VBScript Commands
VBEND
VBEval
VBSTART
VBRun
Web Browser Functions
Chrome Functions
ChromeStart
ChromeNavigate
ChromeFindElements
ChromeGetInfo
ChromeGetElementData
ChromeGetWindows
ChromeSetElementValue
ChromeElementAction
ChromeQuit
ChromeSwitchFrame
ChromeSwitchWindow
ChromeExecute
Edge Functions
EdgeStart
EdgeNavigate
EdgeFindElements
EdgeGetInfo
EdgeGetElementData
EdgeGetWindows
EdgeSetElementValue
EdgeElementAction
EdgeQuit
EdgeSwitchFrame
EdgeSwitchWindow
EdgeExecute
IE Functions
IEGetTagsByAttrib
IEContainsText
IEClickTag
IECreate
IEDoDownload
IEExtractTable
IEExtractTableByName
IEExtractTag
IEExtractTagByAttrib
IEExtractTagByName
IEFormFill
IEFormSubmit
IEGetAllText
IEGetFromURL
IEGetHWND
IEGetTags
IEGetTagPos
IEGetURL
IEGoBack
IEGoForward
IENavigate
IEOnDownload
IEQuit
IERefresh
IESetTimeout
IEShowIE
IETagEvent
IETagEventByAttrib
IEWait
IEWaitDocumentComplete
IEWaitFileDownload
IEWaitForText
IEWaitTimeout
IEWaitNew
Key Codes for Edge and Chrome
Window Functions
CloseWindow
FindWindowWithText
GetActiveWindow
GetWindowChildList
GetWindowHandle
GetWindowList
GetWindowNames
GetWindowParent
GetWindowPos
GetWindowProcess
GetWindowSize
GetWindowText
IfWindowOpen
IfNotWindowOpen
MoveWindow
ResizeWindow
SetFocus
ShutDownWindows
WaitWindowChanged
WaitWindowClosed
WaitWindowFocused
WaitWindowOpen
WindowAction
Window Objects
FindObject
GetCheckBox
GetControlText
GetFocusedObject
GetListItem
GetTreeNode
PushButton
SelectMenu
SetCheckBox
SetControlText
SetObjectText
UIAccessibleList
UIClick
UIFocus
UIGetValue
UIPos
UISelect
UISetValue
Using Variables
User Defined Variables
Arrays
Scope
Type
Explicit Variable Resolution - VAREXPLICIT
Ignoring Spaces - IGNORESPACES
System Variables
Variable Explorer
Error Handling
Type in the keyword(s) to find:
*/
/*
//
_DUMP_VARS
About
Abs
Add
add strings
Add Worksheet
AddDialogHandler
AddTrayHandler
AddTrayIcon
AES
AES128
AES256
AESEncrypt
App
APP_TITLE
Append Files
AppendFile
application
ArcTan
Arithmetic Functions
Arithmetic Operators
Array
ArrayCopy
ArrayCount
ArrayDim
ArrayFind
ArrayRename
Arrays
ArraySort
ASC
Ascii
Ask
ASS
Assigned
Attach
Base64
Binary Data
Binary File
BLO
Block Keyboard
Block Mouse
BlockInput
Bookmarks
Boxer
branch
button
CAP
Caps Lock
CapsOff
CapsOn
Carriage Return
CBX
CDG
Cell
CF_OVERWRITE
CHA
changed
ChangeDirectory
checkbox
Class Name
click
clipboard
CLO
close
closed
CloseDialog
CloseWindow
Code Builder
Code Folding
Code Snippets
COF
Color
ColorToRGB
Command Line
Command Locator
COMMAND_LINE
Commands
comment
comments
CompareBitmaps
compile
Complex Expressions
COMPUTER_NAME
CON
ConCat
concatinate
Conditional Functions
Connect Database
Contents
Control
COP
copy
CopyFile
CopyFolder
Cos
COU
count
CountDirs
CountFiles
CR
CRE
create
create directory
Create Exe
CreateDir
creating
CRLF
Cry
Crypt
CRYPT_LEVEL
CSV
CSVFileToArray
cursor
CWD
DAT
Database
date
DateAdd
DateDiff
DateLocal
DatePart
Dates
DateStamp
Day
DayOfWeek
DBClose
DBConnect
DBExec
DBQuery
DDE
DDE_TIMEDOUT
DDEPoke
DDERequest
Debugger
Decrypt
DEL
DelArray
delay
delete
Delete Array
Delete Column
Delete Folder
Delete Row
Delete Variable
Delete Worksheet
DeleteFile
DeleteFolder
DelTrayIcon
DelVariable
Desktop
Desktop Shortcut
Details
Dialog
Dialog Events
Dialogs
directories
Directory
DLL
DOW
DPK
DRQ
EasyPatterns
EDI
edit
EditIniFile
Editor
Elapsed
Email
Encode
Encrypt
Encryption
End
EndDialog
EndWhile
Environment Variables
Escape
Event Handler
Excel
EXE
execute
ExecuteFile
Executing
exists
Exit
Exp
explicit
Explicit Variable Resolution
ExportData
ExtractFileExt
ExtractFileName
ExtractFilePath
Favorites
FDF
FDT
FGD
FGF
file
File Event
File Extension
File I/O
File System Redirection
file transfer protocol
FileDate
Filename
files
FileSize
FileTime
FIN
find
FindImagePos
FindObject
FindWindowWithText
FIP_SCANPIXELS
FMD
focus
focused
folder
Folder Event
folders
Font
Format
Forms
FPF
Frac
FRF
FSZ
ftp
FTP_PASSIVE
FTP_RESULT
FTP_STATUS
FTP_TIMEOUT
FTPDelFile
FTPGetDirList
FTPGetFile
FTPMakeDir
FTPPutFile
FTPRemoveDir
FTPRenameFile
Functions
GAW
GAW_TYPE
GCP
GCT
GDA
GDT
Get Text
get title
GetActiveWindow
GetCaretPos
GetCheckBox
GetClipBoard
GetControlText
GetCursorPos
GetDate
GetDialogAction
GetDialogProperty
GetEnvVar
GetFileList
GetFocusedObject
GetListItem
GetNewestFile
GetOldestFile
GetPixelColor
GetProcessIds
GetRectCheckSum
GetScreenRes
GetTextAtPoint
GetTextInit
GetTextInRect
GetTextPos
GetTextReset
GetTime
GetTreeNode
GetVarType
GetWindowChildList
GetWindowHandle
GetWindowList
GetWindowNames
GetWindowParent
GetWindowPos
GetWindowProcess
GetWindowSize
GetWindowText
GetWindowTextEx
GEV
GFL
GFL_TYPE
Gosub
Goto
GPC
GPW
Graphics
GRC
Grid Lines
group
groups
GTM
GTP
GWP
GWT
Handle
Hash
Hide
History
Hold key down
HoldKey
Hot Keys
hour
HTMLDecode
HTMLEncode
HTT
http
HTTP_TIMEOUT
HTTPRequest
Idle
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
IFC
IFD
IfDirExists
IFE
IfFileChanged
IfFileExists
IfNot
IfNotDirExists
IfNotFileChanged
IfNotFileExists
IfNotWindowOpen
IFW
IfWindowOpen
IGNOREERRORS
IGNORESPACES
Ignoring Spaces
Image Recognition
Include
IncludeFromVar
ini files
INP
Input
INPUT_PASSWORD
Int
internet
Internet Explorer
IsConnectedToInternet
JSON
JSONParse
JSONPath
keystroke
KillProcess
Label
LabelToVar
Large Buttons
LCL
LClick
LDB
LDblClick
LDO
LDown
LEN
Length
Let
LF
LFR
LIB
LibFree
LibFunc
LibFuncW
LibLoad
License
Line Feed
List
List Box
Listing
ListView
LLD
Ln
lock
Log on
logging
Logical Operators
Loop
Loops
Lowercase
LTrim
LUp
MAC
Macro
Macro Properties
MACRO_PARMS
MACRO_RESULT
MCL
MClick
MD5
MDB
MDblClick
MDL
MDO
MDown
Menu
Menu Commands
Menu Options
Menus
Message
message box
MessageModal
MF_RENAME
MID
MidStr
Min
minutes
MMR
MNU
ModTrayIcon
Mon
Month
MOU
mouse
MouseMove
MouseMoveRel
MouseOver
MOV
MoveFile
MoveWindow
MSCHED_VER
MSG
MSG_CENTERED
MSG_HEIGHT
MSG_STAYONTOP
MSG_WIDTH
MSG_XPOS
MSG_YPOS
MUp
MVR
MVW
new
New Macro
New Workbook
NOF
NON
Num Lock
NumOff
NumOn
Object
ObjectSendKeys
ObjectSendText
OCR
OCRArea
OCRImage
OCRScreen
OCRWindow
OnEvent
open
Optical Character Recognition
Options
Organising
OS_VER
parameters
Path
pause
Pi
Pixel
PLA
Playing
PlayWav
pop3
POP3_DELETE
POP3_MSGFILES
POP3_MSGSIZELIMIT
POP3_PORT
POP3_RESULT
POP3_STATUS
POP3_TIMEOUT
PopupMenu
POS
Position
Power
Press
PrintDialog
Process
Process ID
Process Name
ProcessExists
Property
PUS
push
PushButton
PutClipBoard
PyExec
Python
quick launch
Quit
RAN
Random
RCL
RClick
RDA
RDB
RDblClick
RDK
RDO
RDown
RDV
REA
ReadFile
ReadIniFile
ReadLn
reboot
Record
Recorder
Recording
REG_INTASSTR
RegEx
Register
Registration
registry
RegistryDelKey
RegistryDelVal
RegistryEnumKeys
RegistryEnumVals
RegistryReadKey
RegistryWriteKey
Regular Expressions
Relational Operators
relative
Release
Remark
Rename
RenameFile
Repeat
ResetDialogAction
ResizeWindow
RET
RetrievePOP3
RFL
RGB
RLN
RND_SEED
Round
RP_ADMIN
RP_DISPLAYERROR
RP_RESULT
RP_WAIT
RP_WINDOWMODE
RPL
RRK
RSW
RTrim
run
Run Now
Running
RunProgram
Runtime statistics
RUp
RWK
Save
SBX
Scheduler
Scheduling
Scope
SCP
Screen Capture
Screen Image
Screen Resolution
ScreenCapture
screensaver
script
SCRIPT_DIR
SCRIPT_FILE
Scroll Lock
ScrollOff
ScrollOn
SCT
SDW
Sec
seconds
SelectMenu
SEN
SENDMAIL_STATUS
SendText
SEP
Separate
SET
SetCheckBox
SetControlText
SetDialogObjectColor
SetDialogObjectFocus
SetDialogObjectFont
SetDialogObjectVisible
SetDialogProperty
SetEnvVar
SetFocus
SetObjectText
SetRoundMode
SetVolume
SEV
SHA1
SHA256
Shortcut
Shortcuts
Show
shutdown
ShutDownWindows
Sin
size
SK_DELAY
SK_IGNORECAPS
SK_LEGACY
SkipLabel
SMT
smtp
SMTP_AUTH
SMTP_BCCLIST
SMTP_CCLIST
SMTP_PASSWORD
SMTP_PORT
SMTP_RECEIPT
SMTP_RESULT
SMTP_TIMEOUT
SMTP_USERID
SMTPSendMail
SOF
SON
Sort
sound
SOWrite
SOWriteLn
SPACE
SQL
Sqr
SRT
Startup
STDOUT
STEP_DELAY
Stop
string
String Functions
String Operators
StringReplace
Strings
Sub
Subroutines
substring
subtract
Support
Switches
SYS_DIR
System Variables
TAB
TBR
telnet
TelnetClearlog
TelnetClose
TelnetConnect
TelnetSend
TelnetWaitFor
TEMP_DIR
Terminate
text
Text Capture
Text Cursor
Text Editor
Text Recognition
TIM
time
TimeAdd
TimeDiff
TimeLocal
TimePart
Timer
TimeStamp
Title
Toolbar
Tray Icon
TreeView
Triggers
Trim
Trunc
UIAccessibleList
UIClick
UIFocus
UIGetValue
UIPos
UISelect
UISetValue
unlock
Until
Uppercase
User Defined Variables
USER_NAME
VAREXPLICIT
variable
Variable Explorer
Variable Scope
variables
VBE
VBEND
VBEval
VBR
VBRun
VBS_TIMEOUT
VBScript
VBSTART
View Log File
View System Windows
Visible
Wait
wait for key press
WaitClipBoard
WaitCursorChanged
WaitKeyDown
WaitPixelColor
WaitProcessExists
WaitProcessTerminated
WaitReady
WaitRectChanged
WaitScreenImage
WaitScreenText
WaitWindowChanged
WaitWindowClosed
WaitWindowFocused
WaitWindowOpen
wav
WCC
WCC_RESULT
WEB
Web Scraping
WebRecorder
Welcome
WF_TYPE
While
WIN
WIN_DIR
WIN_USEHANDLE
window
Window Event
Window List
window position
Window Size
Window Text
WindowAction
WKD
WLN
Workbook
Worksheet
Worksheet Dimensions
Worksheet Names
Wow64DisableRedirection
Wow64EnableRedirection
WPC
WRC
WRD
WriteLn
WSI_TIMEOUT
WST_TIMEOUT
WW_RESULT
WW_TIMEOUT
WWC
WWF
WWO
WWX
XLAddSheet
XLCreate
XLDelCol
XLDelRow
XLDelSheet
XLGet
XLGetCell
XLGetSheetDims
XLGetSheetNames
XLOpen
XLQuit
XLRun
XLSave
XLSetCell
XLSheetToArray
XML
XMLParse
XMLPath
Year
Zip
ZipAddFiles
ZipExtractFiles
Enter your search term:
Match:
Any words
Phrase