Miscellaneous¶
Miscellaneous Functions¶
AddOnTerminate¶
function AddOnTerminate(const proc: string; skipIfUserTerminated: Boolean = False): Boolean
ClearDebugImg¶
procedure ClearDebugImg
ClearDebug¶
procedure ClearDebug
ConvertTime64¶
procedure ConvertTime64(Time: int64; var y, m, w, d, h, min, s: Integer)
ConvertTime¶
procedure ConvertTime(Time: Integer; var h, m, s: Integer)
DeleteOnTerminate¶
function DeleteOnTerminate(const proc: string): Boolean
Disguise¶
procedure Disguise(Caption: string)
DisplayDebugImgWindow¶
procedure DisplayDebugImgWindow(w, h: Integer)
DrawBitmapDebugImg¶
procedure DrawBitmapDebugImg(Bitmap: Integer)
GetClipBoard¶
function GetClipBoard: string
GetDebugBitmap¶
function GetDebugBitmap: Integer
GetEnvironmentVariable¶
function GetEnvironmentVariable(const VarName: string): string
GetProcessID¶
function GetProcessID: LongInt
GetScriptProp¶
function GetScriptProp(prop: TSP_Property; var Value: TVariantArray): Boolean
GetTClient¶
function GetTClient: TClient
GetTimeRunning¶
function GetTimeRunning: LongWord
HakunaMatata¶
procedure HakunaMatata
InputQuery¶
function InputQuery(const ACaption, APrompt: string; var Value: string): Boolean
MessageBox¶
function MessageBox(Text, Caption: string; Flags: LongInt): Integer
MessageDlg¶
function MessageDlg(const Caption, Msg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons): Integer
SaveScreenshot¶
procedure SaveScreenshot(FileName: string)
SetClipBoard¶
procedure SetClipBoard(const Data: string)
SetScriptProp¶
function SetScriptProp(prop: TSP_Property; Value: TVariantArray): Boolean
SetSupressExceptions¶
procedure SetSupressExceptions(Supress: Boolean)
SetTarget¶
procedure SetTarget(Proc: TSysProc)
ShowBalloonHint¶
procedure ShowBalloonHint(const Title, Hint: string; const Timeout: Integer; const Flag: TBalloonFlags)
ShowMessage¶
procedure ShowMessage(msg: string)
Simba¶
procedure Simba
Sleep¶
procedure Sleep(t: DWord); override
Status¶
procedure Status(Status: string)
TerminateScript¶
procedure TerminateScript
Wait¶
procedure Wait(t: DWord)