PhantomScript v1.7 Reference
The Mouse
Mouse
LeftButtonClick
LeftButtonDoubleClick
LeftButtonDown
LeftButtonUp
RightButtonClick
RightButtonDoubleClick
RightButtonDown
RightButtonUp
MousePosition
WaitForLeftButtonClick
WaitForRightButtonClick
The Keyboard
Keys
Key
KeyDown
KeyUp
CapsLockOff
CapsLockOn
Designating Keystrokes
NumLockOff
WaitForKeystroke
Idle Time
EnableUserInput
DisableUserInput
WaitForKeystroke
WaitForUserIdle
WaitForUserEvent
Windows
ActivateWindow
ChildWindows
CloseWindow
CurrentWindowHandle
ForegroundWindow
HideWindow
MaximizeWindow
MinimizeWindow
MoveWindow
RestoreWindow
ScreenSize
SetWindow
SetWindowCaption
SetWindowTransparency
WaitForMatch
WaitForMatchTestIntervalMs
WaitForMatchXTolerance
WaitForMatchYTolerance
WaitForWindow
WaitForWindowClose
WaitForWindowTestIntervalMs
WindowCaption
WindowClass
WindowContainingPoint
WindowPosition
WindowProcess
WindowSize
Flow Control
Break
Call
Continue
ExitScript
For-To-Loop-EndLoop
Goto
Gosub
If-Then-Else-EndIf
Return
While-Loop-EndLoop
Procedures
EndProcedure
IncludeFile
Procedure
SetResultValue
Files
AppendFile
BinaryFileReadBufferSize
CloseFile
CompressFile
CreateDirectory
CompareFiles
CopyFile
CountFiles
CurrentDirectory
DeleteDirectory
DeleteFile
DriveList
EndOfFile
File Attributes
FileAccessTime
FileCreateTime
FileExists
FileModifyTime
FileSize
FindFileLine
FirstFile
LoadFile
MediaIsAccessible
MoveFile
NextFile
OpenBinaryFile
OpenFile
PathDevice
PathDirectory
PathFilename
ReadFile
RewindFile
SaveFile
SetDirectory
SetFileAccessTime
SetFileItems
SetFileModifyTime
SubdirectoryList
UncompressFile
WriteFile
The Clipboard
GetClipboard
ReadClipboard
WriteClipboard
Strings
PatternMatch
PatternSubstitute
RegExGrep
RegExMatch
RegExReplace
RegExSplit
SortableString
StringAfter
StringAfterLast
StringAsList
StringBefore
StringBeforeLast
Substring
StringContains
StringBegins
StringEnds
StringLength
Tokenize
Trim
Uppercase
Lowercase
Date and Time
Date
DateFromDayNumber
DaylightSavings
DayNumberFromDate
DayOfWeek
DayOfYear
Time
TimeZone
UTCDate
UTCTime
File Dialogs
OpenFileDialog
SaveFileDialog
Dialog Statements
MessageBox
BeginDialog
DefButton
Button
Checkbox
RadioButton
InputLine
InputPassword
Listbox
ProgressBar
DropdownList
Combobox
StaticText
TextArea
Image
Countdown
SetSelection
EnableDialogItem
DisableDialogItem
SetFont
FontList
WaitForDialogEvent
SetTextColor
SetBackgroundColor
Persistence Sets
Persistent
Commit
Restore
LastCommitScript
LastCommitDate
LastCommitTime
Lists
ItemCount
ItemNumber
Itemn
CurrentItem
CurrentItemNumber
ResetList
FirstItem
NextItem
MoreItems
DeleteItem
DeleteItemNumber
UpdateItem
UpdateItemNumber
AppendItem
InsertItem
FindItem
Sort
Tables
Table
SetTableItems
RowCount
RowNumber
Rown
CurrentRow
CurrentRowNumber
ResetTable
NextRow
MoreRows
DeleteRow
DeleteRowNumber
UpdateRow
UpdateRowNumber
AppendRow
InsertRow
FindRow
Keyed Value Lists
DeleteKeyedValue
FindKeyedValue
InsertKeyedValue
KeyedValueHashTableSize
KeyList
Binary Data
BinaryFromHexlist
BitAnd
BitNot
BitOr
BitXor
DecimalToHex
HexlistFromBinary
HexToDecimal
ExtractByte
ExtractBytes
ExtractChar
ExtractInteger
ExtractLong
ExtractShort
ExtractString
ExtractWord
InsertByte
InsertBytes
InsertChar
InsertInteger
InsertLong
InsertShort
InsertString
InsertWord
SkipBytes
JSON
JSONAddArray
JSONAddBoolean
JSONAddNull
JSONAddNumber
JSONAddObject
JSONAddString
JSONArrayAsList
JSONGetKeys
JSONGetType
JSONGetValue
JSONDelete
ListAsJSONArray
XML
XMLMatch
XMLSelect
XMLSelectText
XMLTransform
Networking
OpenConnection
CloseConnection
ConnectTimeout
IsConnected
LastConnectionError
ReadConnection
WriteConnection
ListenForConnection
AcceptConnection
WaitForConnectionEvent
Base64Encode
Base64Decode
ExtractHTMLLinks
HMAC
HostIsAvailable
InternetDelete
InternetHead
InternetGet
InternetPost
IPAddress
LocalIPAddress
MakeAbsoluteURL
MD5
ParseURL
Ping
URLEncode
URLDecode
UUEncode
UUDecode
JSONAddArray
JSONAddBoolean
JSONAddNull
JSONAddNumber
JSONAddObject
JSONAddString
JSONArrayAsList
JSONGetKeys
JSONGetType
JSONGetValue
JSONDelete
ListAsJSONArray
Marshall
Unmarshall
Process Control
CloseMutex
CloseSemaphore
CurrentWindowHandle
ProcessExeFile
ProcessList
ReleaseMutex
ReleaseSemaphore
StopProcess
WaitForMutex
WaitForProcessExit
WaitForProcessReady
WaitForSemaphore
WindowsMessaging
PostWindowsMessage
SendWindowsMessage
WaitForWindowsMessage
WmApp
Encryption and Authentication
Encrypt
Decrypt
RC4Encrypt
RC4Decrypt
SetEncryptionKey
HMAC
Windows Registry
RegistrySubkeyList
RegistryValueList
RegistryKeyExists
GetRegistryValue
GetRegistryValueType
CreateRegistryKey
SetRegistryValue
SetRegistryValue2
DeleteRegistryKey
DeleteRegistryValue
Variable Declaration
Global
Universal
Local
ByteCount
DeleteVariable
Exists
ComponentList
SetDigits
Miscellaneous
AbsoluteValue
Beep
Breakpoint
CaptureImage
Ceiling
Command
CommandLine
CurrentScriptFile
DiskSpace
ExitPhantom
Floor
GetEnvironmentVariable
HideCursor
LastError
LastErrorNumber
LastWindowCaption
LastWindowClass
Log
Logoff
MakeExeFromScript
Pause
PhantomVersion
Random
RefreshSchedule
ScriptError
SetCursorNormal
SetCursorWait
SetEnvironmentVariable
SetPhantom
SetStringEscapeCharacter
ShowCursor
Shutdown
SquareRoot
TickCount
TimedOut
Trace
TraceFile
WindowsVersion
WritePrinter