MyTetra Share
Делитесь знаниями!
Frequently-used Functions
Время создания: 22.04.2017 19:27
Раздел: AutoHotkey - Functions
Запись: xintrea/mytetra_db_mcold/master/base/1492878443nn9a0cyc2s/text.html на raw.githubusercontent.com

F requently-used Functions

Function

Description

FileExist

Checks for the existence of a file or folder and returns its attributes.

GetKeyState

Returns true (1) if the specified key is down and false (0) if it is up.

InStr

Searches for a given occurrence of a string, from the left or the right.

RegExMatch

Determines whether a string contains a pattern (regular expression).

RegExReplace

Replaces occurrences of a pattern (regular expression) inside a string.

StrLen

Retrieves the count of how many characters are in a string.

StrReplace

Replaces occurrences of the specified substring with a new string.

StrSplit

Separates a string into an array of substrings using the specified delimiters.

SubStr

Retrieves one or more characters from the specified position in a string.

WinActive

Checks if the specified window exists and is currently active (foremost), and returns its Unique ID (HWND).

WinExist

Checks if a matching window exists and returns the Unique ID (HWND) of the first matching window.

M iscellaneous Functions

Function

Description

Asc

Returns the numeric value of the first byte or UTF-16 code unit in the specified string.

Chr

Returns the string (usually a single character) corresponding to the character code indicated by the specified number.

DllCall

Calls a function inside a DLL, such as a standard Windows API function.

FileOpen

Provides object-oriented file I/O.

Func

Retrieves a reference to the specified function.

GetKeyName/VK/SC

Retrieves the name/text, virtual key code or scan code of a key.

IsByRef

Returns a non-zero number if a ByRef parameter of a function was supplied with the specified variable.

IsFunc

Returns a non-zero number if the specified function exists in the script.

IsLabel

Returns a non-zero number if the specified label exists in the script.

IsObject

Returns a non-zero number if the specified value is an object.

ListView

Functions to add, insert, modify or delete ListView rows/colums, or to get data from them.

NumGet

Returns the binary number stored at the specified address+offset.

NumPut

Stores a number in binary format at the specified address+offset.

OnMessage

Monitors a message/event.

Ord

Returns the ordinal value (numeric character code) of the first character in the specified string.

StrGet

Copies a string from a memory address, optionally converting it between code pages.

StrPut

Copies a string to a memory address, optionally converting it between code pages.

RegisterCallback

Creates a machine-code address that when called, redirects the call to a function in the script.

TreeView

Functions to add, modify or delete TreeView items, or to get data from them.

Trim

Trims characters from the beginning and/or end of a string.

VarSetCapacity

Enlarges a variable's holding capacity or frees its memory.

 
MyTetra Share v.0.59
Яндекс индекс цитирования