Standard Library

Compiler: amnesiac Last Modified: 20110524

The Standard Libraries is a collection of libraries that provide many useful function. This library help is listed systematically from Tuncay's AhkStdLibCollection(Current version: 201009181732).

You should have a copy of the Ahk Standard Library Collection. If not, please download from http://www.autohotkey.com/forum/viewtopic.php?p=335088. For discussions related to the Standard Library Collection, please also see the AutoHotkey Forum topic. I hope that it will be useful for you. In addition, I expect someone to creat a stdlib collection for ahk_l.

For Chinese users, discussions for the help occur on the AutoHotkey Chinese Forum and AHKCN QQ group (Num: 58806956).

Library Function List

Click on a function (set) name for details.

Function Description
A_* True Binary Arrays
Affinity_* Sets the CPU to be used in Dual/Quad/Multi core processors / Effectively.
AHKHID_* An AHK implementation of the HID functions
AHKsock_* A simple AHK implementation of Winsock (TCP/IP)
Align() Aligns controls inside the parent.
Anchor() Control Anchoring for resizing windows.
argp_* Argument Options Parser
baseConvert() Number System Converter
CColor() Set text and background color for some Gui controls.
cdomessage() CDO COM - Email Delivery
CMDret_* runReturn return output from console progs
CMDret_stream() stream return output from console progs
com_* COM Standard Library
ConnectedToInternet() How to find Internet Connection Status
ConsoleApp_* Retrieve standard output (StdOut) of a program
Crypt_* File Standard Library Crypt
DamerauLevenshteinDistance() Fuzzy string searching
DateParse() Convert any date format to YYYYMMDDHH24MISS.
Delay() High Resolution Delay
difference() Super Fast and Accurate string distance algorithm
Dlg_* Common Operating System Dialogs
DLL_* Resource-Only DLL for Dummies
Dock_* Dock desired top level windows (dock clients) to any top level window (dock host).
DockA() Dock AHK windows
Edit_* Update/Control any Edit control
EmptyMem() Run AHK scripts with less (half or even less) memory usage.
Eval_* Evaluate math expressions in strings
Exec() Executes AutoHotkeys internal commands from within a given string. (Execute AHK code dynamically!)
File_* File Standard Library
FileExtract_* Complementary and extended FileInstall
FileGetVersionInfo() Extracts and returns version information ( any one at a time ) from an executable file.
fileIsBinary() Check if file is a binary or text format.
Font_* Creates font or sets applies to control.
ftp_* Basic FTP Functions
Functions() A wrapper set of functions for commands which have an output variable.
Gdip_* GDI+ standard library
GetAvailableFileName_* Get next/free Available File Name
GetCommonPath() Get path to standard system folder.
grep() grep - global regular expression match
HLink_* HyperLink control
Hotstrings() RegEx Powered Dynamic Hotstrings
HtmDlg() HTML DialogBox
httpQuery() httpQuery GET and POST requests
HttpQueryInfo() HttpQueryInfo - Get HTTP headers
ILButton() Image buttons with text, states, alignment
ini_* Basic Ini String Library
InternetFileRead_* InternetFileRead aka UrlDownLoadToVar
IsFullScreen() Checks if a window is in fullscreen mode
json() Read/write JSON parser
LetUserSelectRect() Select a portion of the screen
mci_* MCI Play/Control media files
MCode() Machine code functions: Bit Wizardry
md5_* Computes and returns MD5 hash for a variable or a File
mg_* Mouse gestures
MI_* Provides a set of functions for implementing icons in menus.
Mount_* Mount any path as a drive
msTill() Get milliseconds until time
Notify() Multiple easy tray area notifications
pgArray_* A solution for Manipulating AHK's Arrays v2
ping_* Ping() function without PING.EXE
PixPut() Bitmap Static Control
ProcessInfo_* Function library to retrieve various application process informations.
QPX() Wrapper for QueryPerformanceCounter()
Rand() A wrapper to Ahks internal Random command.
RandomUniqNum() Generating unique random integers
Rebar_* Rebar control
regionGetColor_* Average color a window
RemoteBuf_* RemoteBuffer - Read and write process memory
RichEdit_* RichEdit control
RPath_* Calculates a path by comparing two pathes, FROM and TO.
SB_* Creates and controls a progressbar placed atop the last known AHK Gui's Statusbar control.
sc_* Screen Capture utility
ShellFileOperation() A shell function that can be called to Copy / Move / Delete / Rename File(s).
ShowMenu_* Show menu from the text
Splitter_* Splitter control
st_* Stack Library
StdoutToVar_* Redirects the output of a command or application into one of the script's variables.
StrPut() / StrGet() Copies a string to or from a memory address, optionally converting it between code pages.
strTail_* Return the last lines of string
StrX() Auto-Parser for XML / HTML
sXMLget() Simple solution that get information out of xml and html.
TaskButton_* Extract Informations about TaskBar
TF_* Text file & Variables/String Library
ThousandsSep() Add Thousands Separator
Toolbar_* Toolbar control
ToolTip_* Advanced ToolTip features
TrayIcon_* Extract Informations about TrayIcons
TVX_* TreeViewX - Tree View eXtension
type_* Type Functions
UnHTM() Remove HTML formatting from a String
USBD_* Safely Remove USB Flash Drive.
uuid() Generates a time-based Universally Unique Identifier based on random clock and node IDs.
VA_* Vista Audio Control Functions
WaitPixelColor() Waits until pixel is a certain color.
WatchDirectory() Watch folders for changes
Win_* Set of window functions.
WinServ_* Start, Stop or Query a windows service (WinAPI)
xpath_* Read and write XML documents with XPath syntax.
yaml_* Simple Yaml Parser