| WinBatch Commands | Winbatch Descriptions | Corresponding AutoIT Commands |
| About( ) | Displays the About message box. | MsgBox( ) |
| Abs( integer ) | Returns the absolute value of a number. | Abs( ) |
| Acos( fp_num ) | Calculates the arccosine. | Acos( ) |
| AddExtender(filename [,version… ]) | Installs a WIL extender Dll. | N/A |
| AppExist( program-name [, current-session-only]) | Tells if an application is running. | ProcessExist( ) |
| AppWaitClose( program-name [, current-session-only]) | Suspends WIL program execution until a specified application has been closed. | UDF |
| ArrayFileGet (filename [, null-char [, extra-alloc]]) | Converts a file to a one-dimension array. | UDF |
| ArrayFileGetCsv (filename, flags [, delimiter [, extra-rows [, extra-cols]]]) | Converts a CSV file to a two-dimension array. | UDF |
| ArrayFilePut (filename, array [, write-undef]) | Writes a one-dimension array to a file. | UDF |
| ArrayFilePutCsv (filename, array [, delimiter [, write-undef [, flags]]) | Writes a two-dimension array to a file. | UDF |
| Arrayize(list, delimiter) | Converts a delimited list to an array. | StringSplit( ) |
| ArrDimension(dim1, dim2, dim3, dim4, dim5) | Creates an array. | DIM |
| ArrInfo(array, request) | Gets information about an array. | Ubound( ) |
| ArrInitialize(array, value) | Initializes an array. | $Array[Section] = ""Value"" |
| Asin( fp_num ) | Calculates the arcsine. | Asin( ) |
| AskFileName( title, directory, filetypes, default filename, flag ) | Returns the filename as selected by a FileOpen dialog box. | FileOpenDialog( ) |
| AskFileText( title, filename, sort mode, select mode ) | Allows the user to choose an item from a list box initialized with data from a file. | AutoV3 + Au3GUI |
| AskItemList( title, list, delimiter, sort mode, select mode ) | Allows the user to choose an item from a list box initialized with a list variable. | AutoITV3 + Au3GUI |
| AskLine( title, prompt, default answer ) | Lets the user enter a line of information. | InputBox( ) |
| AskPassword( title, prompt ) | Prompts the user for a password. | InputBox( ) |
| AskTextBox( title, prompt, default, flags, reserved) | Prompts the user for multiple lines of input. | AutoITV3 + Au3GUI |
| AskYesNo( title, question ) | Lets the user choose from Yes, No, or Cancel. | MsgBox( ) |
| Atan( fp_num ) | Calculates the arc tangent. | Atan( ) |
| Average( number [ ,number... ] ) | Returns the average of a list of numbers. | ($Num1 + $Num2 + $Num3 ) / 3 |
| Beep | Beeps at the user. | SoundPlay( ) |
| BinaryAlloc( buffsize ) | Allocates a memory buffer of the desired size. | N/A |
| BinaryClipGet( handle, format) | Reads the contents of the Windows clipboard into a binary buffer. | N/A |
| BinaryClipPut( handle, format) | Writes a binary buffer to the Windows clipboard. | N/A |
| BinaryCompare ( handle1, offset1, handle2, offset2, count) | Compares portions of two binary buffers. | N/A |
| BinaryConvert( handle, source-type, target-type, code-page, flags) | Converts a binary buffer. | N/A |
| BinaryCopy(handle targ, offset targ, handle src, offset src, bytecount ) | Copies bytes of data from one binary buffer to another. | N/A |
| BinaryEodGet( handle ) | Returns the offset of the free byte just after the last byte of stored data. | N/A |
| BinaryEodSet( handle, offset ) | Sets the EOD value of a buffer. | N/A |
| BinaryFree( handle ) | Frees a buffer previously allocated with Binary Alloc. | N/A |
| BinaryHashRec(handle, recsize, key offset, key size, key value ) | Returns a pointer to a record in a binary buffer. | N/A |
| BinaryIncr( handle, offset ) | Peeks at a 8 bit value, increments the value by 1 then pokes the value back into the buffer. | N/A |
| BinaryIncr2( handle, offset ) | Increments a 16 bit value. | N/A |
| BinaryIncr4( handle, offset ) | Increments a 32 bit value. | N/A |
| BinaryIncrFlt( handle, offset ) | Increments a 64 bit value. | N/A |
| BinaryIndex( handle, offset, search string, direction ) | Searches a buffer for a string. | N/A |
| BinaryIndexEx(handle, offset, string, direction, match-case) | Searches a buffer for a string. This function is very similar to BinaryIndex and BinaryIndexNc, except this function will return -1, if the specified string was not found. | N/A |
| BinaryIndexNC(handle, offset, string, direction) | Searches a buffer for a string. (case insensitive) | N/A |
| BinaryOleType(handle, type, reserved-1, reserved-2, reserved-3) | Specifies how a binary buffer will be used by OLE functions. | N/A |
| BinaryPeek( handle, offset ) | Returns a 8 bit value from a binary buffer. | N/A |
| BinaryPeek2( handle, offset ) | Returns a 16 bit value from a binary buffer. | N/A |
| BinaryPeek4( handle, offset ) | Returns a 32 bit value from a binary buffer. | N/A |
| BinaryPeekFlt( handle, offset ) | Peeks a 64 bit floating point number. | N/A |
| BinaryPeekHex( handle, offset, count ) | Extracts a hex string from a binary buffer. | N/A |
| BinaryPeekStr( handle, offset, maxsize ) | Extracts a string from a binary buffer. | N/A |
| BinaryPoke( handle, offset, value ) | Pokes a new value into a binary buffer at offset. | N/A |
| BinaryPoke2( handle, offset, value ) | Pokes a 16 bit value into a binary buffer at offset. | N/A |
| BinaryPoke4( handle, offset, value ) | Pokes a 32 bit value into a binary buffer at offset. | N/A |
| BinaryPokeFlt( handle, offset, value ) | Pokes a 64 bit value into a binary buffer at offset. | N/A |
| BinaryPokeHex( handle, offset, hex-string ) | Writes data in a hex string form into a binary buffer. | N/A |
| BinaryPokeStr( handle, offset, string ) | Writes a string into a binary buffer. | N/A |
| BinaryRead( handle, filename ) | Reads a file into a binary buffer. | N/A |
| BinaryReadEx ( handle, binary-offset, filename, file-offset, count) | Reads a portion of a file into a binary buffer. | N/A |
| BinaryReplace( bin-handle, search-string, replacement-string, match-case) | Replaces strings in a binary buffer. | N/A |
| BinarySort( handle, recsize, key offset, key size, flags ) | Sorts records in a binary buffer. | N/A |
| BinaryStrCnt( handle, start-offset, end-offset, string ) | Counts the occurrences of a string in some or all of a binary buffer. | N/A |
| BinaryTagInit( buffer, start-tag, end-tag) | Initializes a binary tag operation. | N/A |
| BinaryTagFind( tag-struct) | Finds the next binary tag. | N/A |
| BinaryTagExtr( tag-struct, flags) | Returns the text between the last-returned pair of binary tags. | N/A |
| BinaryTagRepl( tag-struct, new-string) | Replaces a binary tag with text. | N/A |
| BinaryWrite( handle, filename ) | Writes a binary buffer to a file. | N/A |
| BinaryPeekHex( handle, offset, count ) | Extracts a hex string from a binary buffer. | N/A |
| BinaryPeekStr( handle, offset, maxsize ) | Extracts a string from a binary buffer. | N/A |
| BinaryPoke( handle, offset, value ) | Pokes a new value into a binary buffer at offset. | N/A |
| BinaryPoke2( handle, offset, value ) | Pokes a 16 bit value into a binary buffer at offset. | N/A |
| BinaryPoke4( handle, offset, value ) | Pokes a 32 bit value into a binary buffer at offset. | N/A |
| BinaryPokeFlt( handle, offset, value ) | Pokes a 64 bit value into a binary buffer at offset. | N/A |
| BinaryPokeHex( handle, offset, hex-string ) | Writes data in a hex string form into a binary buffer. | N/A |
| BinaryPokeStr( handle, offset, string ) | Writes a string into a binary buffer. | N/A |
| BinaryRead( handle, filename ) | Reads a file into a binary buffer. | N/A |
| BinaryReadEx ( handle, binary-offset, filename, file-offset, count) | Reads a portion of a file into a binary buffer. | N/A |
| BinaryReplace( bin-handle, search-string, replacement-string, match-case) | Replaces strings in a binary buffer. | N/A |
| BinarySort( handle, recsize, key offset, key size, flags ) | Sorts records in a binary buffer. | N/A |
| BinaryStrCnt( handle, start-offset, end-offset, string ) | Counts the occurrences of a string in some or all of a binary buffer. | N/A |
| BinaryTagInit( buffer, start-tag, end-tag) | Initializes a binary tag operation. | N/A |
| BinaryTagFind( tag-struct) | Finds the next binary tag. | N/A |
| BinaryTagExtr( tag-struct, flags) | Returns the text between the last-returned pair of binary tags. | N/A |
| BinaryTagRepl( tag-struct, new-string) | Replaces a binary tag with text. | N/A |
| BinaryWrite( handle, filename ) | Writes a binary buffer to a file. | N/A |
| BinaryWriteEx(handle, binary-offset, filename, file-offset, count) | Writes a portion of a binary buffer to a file. | N/A |
| Break | Used to exit a conditional flow control statement. | ExitLoop |
| ButtonNames( Ok-name, Cancel-name ) | Changes the names of the buttons which appear in WIL dialogs. | N/A |
| Call( WIL filename, parameters ) | Calls a WIL batch file as a subroutine. | Call( ) |
| Ceiling( fp_num ) | Calculates the ceiling of a value. | Round( ) |
| Char2Num( string ) | Returns the ANSI code of a string's first character. | Asc( ) |
| ClipAppend( string ) | Appends a string to the end of the Clipboard. | UDF |
| ClipGet( ) | Returns the Clipboard contents into a string. | ClipGet( ) |
| ClipGetEx( format ) | Returns the contents of the Windows clipboard in a specified format. | N/A |
| ClipHasFormat ( format ) | Determines if the clipboard contains a particular format. | N/A |
| ClipPut( string ) | Replaces the Clipboard contents with a string. | ClipPut( ) |
| Continue | Transfers control to the beginning of a For or While loop or to a different case statement. | Continue |
| Cos( fp_num ) | Calculates the cosine. | Cos( ) |
| Cosh( fp_num ) | Calculates the hyperbolic cosine. | UDF |
| CurrentFile ( ) {*M} | Returns the filename of the selected item. | AutoITV3 + Au3GUI |
| CurrFilePath( ) {*M} | Returns the full path plus filename of the currently-selected file. | AutoITV3 + Au3GUI |
| CurrentPath ( ) {*M} | Returns the path of the selected item. | AutoITV3 + Au3GUI |
| DDEExecute( channel, [commandstring] ) | Sends commands to a DDE server application. | N/A |
| DDEInitiate( app name, topic name ) | Opens a DDE channel. | N/A |
| DDEPoke( channel, item name, item value ) | Sends data to a DDE server application. | N/A |
| DDERequest( channel, item name ) | Gets data from a DDE server application. | N/A |
| DDETerminate( channel ) | Closes a DDE channel. | N/A |
| DDETimeout( value in seconds ) | Sets the DDE time-out value. | N/A |
| Debug( mode [, init-string] ) | Turns the Debug mode on or off. | N/A |
| DebugData( string, string ) | Writes data via the Windows OutputDebugString function to the default destination. | N/A |
| DebugTrace( mode, filename) | Creates and writes a line by line debugging file of each statement executed in a script. | N/A |
| Decimals( #digits ) | Sets the number of decimal points used with floating point numbers. | UDF |
| Dialog( dialog-name ) | Displays a user-defined dialog box. | MsgBox( ) |
| DirAttrGet( [d:]path ) | Gets directory attributes. | FileGetAttrib( ) |
| DirAttrSet(dir-list, settings) | Sets directory attributes. | FileSetAttrib( ) |
| DirChange( [d:]path ) | Changes the current directory. | Not Necessary |
| DirExist( pathname ) | Determines if a directory exists. | FileExist( ) |
| DirGet( ) | Returns the current directory path. | @ScriptDir |
| DirHome( ) | Returns the initial directory path. | N/A |
| DirItemize( dir-list ) | Builds a list of directories. | N/A |
| DirMake( [d:]path ) | Creates a new directory. | DirCreate( ) |
| DirRemove( dir-list ) | Removes an existing directory. | DirRemove( ) |
| DirRename( [d:]oldpath, [d:]newpath ) | Renames a directory. | DirMove( ) |
| DirSize ( dir-name, flags [, format]) | Finds the total size of a directory. | N/A |
| DirWindows( request# ) | Returns the name of the Windows or Windows System directory. | @WindowsDir/@SystemDir |
| DiskExist( drive letter ) | Tests for the existence of a drive. | DriveStatus(“Drive”) = “Ready” |
| DiskFree(drive-list [, format]) | Finds the total available (unused) disk space on a group of drives. | DriveSpaceFree( ) |
| DiskInfo ( request# ) | Returns information on the specified disk drive. | N/A |
| DiskScan ( request# ) | Returns a list of drives. | DriveGetDrive( ) |
| DiskSize(drive-list [, format]) | Finds the total size of the specified drive(s). | DriveSpaceTotal( ) |
| DiskVolInfo ( root-path, request# ) | Returns information on a file system volume. | Some: DriveGetFileSystem( )/Drive GetLabel( )/DriveGetSerial( ) |
| Display( seconds, title, text ) | Momentarily displays a string. | MsgBox( ) |
| DllCall( dllfilename/dllhandle, returntype:entrypoint [ ,paramtype: param... ]) | Calls an external Dll. | N/A |
| DllFree( dllhandle ) | Frees a Dll that was loaded via the DllLoad function. | N/A |
| DllHinst( partial-winname ) | Obtains an application instance handle for use in DllCall's when required. | N/A |
| DllHwnd( partial-winname ) | Obtains a window handle for use in DllCall's when required. | N/A |
| DllLoad( dllname ) | Loads a Dll for later use via the DllCall function. | N/A |
| DOSVersion( level ) | Returns the version numbers of the current version of DOS. | N/A |
| Drop (varname [,varname...] ) | Deletes variables to recover their memory. | $Var = “” |
| DropWild (variable/wildcard ) | Removes variables from memory. | N/A |
| EndSession( ) | Ends the current Windows session. | Shutdown( ) |
| Environment( env-variable ) | Gets a DOS environment variable. | EnvGet( ) |
| EnvironSet( env-varname, newvalue ) | Changes LOCAL Environment variables. | EnvSet( ) |
| EnvItemize( ) | Returns a delimited list of the current environment. | UDF |
| ErrorMode( mode ) | Sets what happens in the event of an error. | N/A |
| Exclusive( mode ) | Controls whether or not other Windows programs will get any time to execute. | N/A |
| Execute statement | Directly executes a WIL statement. | N/A |
| ExeTypeInfo( exefilename ) | Returns an integer describing the type of EXE file specified. | N/A |
| Exit | Unconditionally ends a WIL program. | Exit |
| Exp( fp_num ) | Calculates the exponential. | Exp( ) |
| Fabs( fp_num ) | Calculates the absolute value of a floating-point argument. | Abs( ) |
| FileAppend( source-list, destination ) | Appends one or more files to another file. | FileWriteLine( ) |
| FileAttrGet( filename ) | Returns file attributes. | FileGetAttrib( ) |
| FileAttrSet( file-list, settings ) | Sets file attributes. | FileSetAttrib( ) |
| FileBaseName (filename [, flag]) | Extracts the base filename from a full file path. | StringSplit( ) |
| FileClose( filehandle ) | Closes a file. | FileClose( ) |
| FileCompare( filename1, filename2 ) | Compares two files. | UDF |
| FileCopy( source-list, destination, warning ) | Copies files. | FileCopy( ) |
| FileCopyAttr (source-list, destination, warning, attributes) | Copies files, and sets file attributes. | UDF |
| FileCreateTemp ( prefix ) | Creates a temporary file. | UDF |
| FileDelete( file-list ) | Deletes files. | FileDelete( ) |
| FileExist( filename ) | Test for the existence of files. | FileExist( ) |
| FileExtension( filename ) | Returns the extension of a file. | UDF |
| FileFullName( partial filename ) | Returns a file name with drive and path information. | UDF |
| FileGet(filename [, null-char]) | Converts a file to a string variable. | UDF |
| FileItemize( file-list ) | Builds a list of files. | N/A |
| FileItemPath( file-list) | Returns a delimited list of file paths. | N/A |
| FileLocate( filename ) | Finds a file within the current DOS path. | FileFindFirstFile( ) |
| FileMapName( filename, mapping-data ) | Transforms a filename with a file wild-card mask and returns a new filename. | UDF |
| FileMove( source-list, destination, warning ) | Moves files to another set of path names. | FileMove( ) |
| FileMoveAttr(source-list, destination, warning, attributes) | Moves files, and sets file attributes. | UDF |
| FileNameLong(filename) | Returns the long version of a filename. | FileGetLongName( ) |
| FileNameShort(filename) | Returns the short (ie, 8.3) version of a filename. | FileGetShortName( ) |
| FileOpen( filename, mode ) | Opens a STANDARD ASCII (only) file for reading or writing. | FileOpen( ) |
| FilePath( filename ) | Returns path of a file. | UDF |
| FilePut( filename, string ) | Writes a string to a file. | FileWriteLine( ) |
| FileRead( filehandle ) | Reads data from a file. | FileReadLine( ) |
| FileRename( source-list, destination ) | Renames files to another set of names. | N/A |
| FileRoot( filename ) | Returns root of a file. | N/A |
| FileSize( file-list [, format]) | Adds up the total size of a set of files. | FileGetSize( )/UDF |
| FileSizeEx( file-list [, format]) | Adds up the total size of a set of files (including open files). | FileGetSize( )/UDF |
| FileTimeCode( filename ) | Returns a machine readable/computable code for a file time. | N/A |
| FileTimeGet( filename ) | Returns file date and time. | FileGetTime( ) |
| FileTimeGetEx(filename, time-field) | Gets extended time information for a file or directory. | FileGetTime( ) |
| FileTimeSet( list, datetime) | Sets the date and time of one or more files. | FileSetTime( ) |
| FileTimeSetEx(file-list, datetime, time-field) | Sets extended time information for one or more files. | FileSetTime( ) |
| FileTimeTouch( file-list ) | Sets file(s) to current time. | FileSetTime( ) |
| FileVerInfo(filename, language-key, resource-string) | Returns a version resource string from a binary file. | FileGetVersion( ) |
| FileWrite( handle, output-data ) | Writes data to a file. | FileWriteLine( ) |
| FileYmdHms( filename ) | Returns a file time in the YmdHms datetime format. | FileGetTime( ) |
| FindWindow(window class name) | Returns a window title matching a specified class name. | N/A |
| Floor( fp_num ) | Calculates the floor of a value. | Int( ) |
| For varname = initial value to final value [ by increment ] | Controls the looping of a block of code base in an incrementing index. | For |
| GetExactTime( ) | Returns the current time in hundredths of a second. | N/A |
| GetTickCount( ) | Returns the number of clock ticks used by Windows since Windows started. | N/A |
| GoSub | Transfers control of WIL processing while saving location of the next statement. | User Defined Functions |
| Goto label | Changes the flow of control in a WIL program. | Any Other Loop |
| IconReplace( filename, iconfilename ) | Replaces an existing icon with a new icon. | N/A |
| If… Else… Endif expression | Conditionally performs a function. | If... Else... ElseIF...EndIf |
| IniDelete( section, keyname ) | Removes a line or section from WIN.INI. | IniDelete( ) |
| IniDeletePvt( section, keyname, filename ) | Removes a line or section from a private INI file. | N/A |
| IniItemize( section ) | Lists keywords or sections in WIN.INI file. | N/A |
| IniItemizePvt( section, filename ) | List keywords or sections in a private INI file. | N/A |
| IniRead( section, keyname, default ) | Reads a string from the WIN.INI file. | IniRead( ) |
| IniReadPvt( section, keyname, default, filename ) | Reads a string from a private INI file. | N/A |
| IniWrite( section, keyname, data ) | Writes a string to the WIN.INI file. | IniWrite( ) |
| IniWritePvt( section, keyname, data, filename ) | Writes a string to a private INI file. | N/A |
| InstallFile(filename, targname, default-targdir, delete-old, flags) | Installs a file. | FileInstall( ) |
| Int( string/fp_num ) | Converts a floating point number or a string to an integer. | Int( ) |
| IntControl( request#, p1, p2, p3, p4 ) | Special function which permits an internal operation. | N/A |
| IsDefined ( variable name ) | Determines if a variable name is currently defined. | N/A |
| IsFloat( value ) | Tests whether a number can be converted to a floating point number. | IsFloat( ) |
| IsInt( string ) | Tests whether a number can be converted into a valid integer. | IsInt( ) |
| IsKeyDown( keycode ) | Determines if the Shift key or the Ctrl key is currently down. | N/A |
| IsLicensed( ) | Tells if the calling application is licensed. | N/A |
| IsMenuChecked( menuname ) {*M} | Determines if a menu item has a check mark next to it. | ControlCommand( ) |
| IsMenuEnabled( menuname ) {*M} | Determines if a menu item has been enabled. | ControlCommand( ) |
| IsNumber( value ) | Determines if a string represents a valid number. | IsNumber( ) |
| ItemCount( list, delimiter ) | Returns the number of items in a list. | N/A |
| ItemCountCsv( line, flags [, delimiter]) | Returns the number of items in a CSV line. | UDF |
| ItemExtract( index, list, delimiter ) | Returns the selected item from a list. | N/A |
| ItemExtractCsv (index, line, flags [, delimiter]) | Returns the selected item from a CSV line. | N/A |
| ItemInsert( item, index, list, delimiter ) | Adds an item to a list. | N/A |
| ItemLocate( item, list, delimiter ) | Returns the position of an item in a list. | N/A |
| ItemRemove( index, list, delimiter ) | Removes an item from a list. | N/A |
| ItemReplace( item, index, list, delimiter) | Replaces an item in a list. | N/A |
| ItemSort( list, delimiter ) | Sorts a list. | N/A |
| KeyToggleGet( @key ) | Returns the status of a toggle key. | N/A |
| KeyToggleSet( @key, value ) | Sets the state of a toggle key and returns the previous value. | Send( ) |
| LastError( ) | Returns the last error encountered. | N/A |
| Log10( fp_num ) | Calculates the base-10 logarithm. | Log( ) |
| LogDisk( drive letter) | Logs (activates) a disk drive. | N/A |
| LogE( fp_num ) | Calculates the natural logarithm. | N/A |
| Max( number [ ,number... ] ) | Determines the highest number in a list. | UDF |
| MenuChange( menuname, flags ) | Checks, unchecks, enables, or disables a menu item. | ControlFunctions |
| Message( title, text ) | Displays text in a message box. | MsgBox( ) |
| Min( number [ ,number... ] ) | Determines the lowest number in a list. | UDF |
| MouseClick(click-type, modifiers) | Clicks mouse button(s). | MouseClick( ) |
| MouseClickBtn(parent-windowname, child-windowname, button-text) | Clicks on the specified button control. | ControlClick( ) |
| MouseCoords( parent-windowname, child-windowname) | Returns coordinates of the mouse within a window. | MouseGetPos( ) |
| MouseInfo( request# ) | Returns assorted mouse information. | N/A |
| MouseMove(X, Y, parent-windowname, child-windowname) | Moves the mouse to the specified X-Y coordinates. | MouseMove( ) |
| MousePlay(X-Y-coordinates, parent-window, child-window, buttons, delay) | Performs full range of mouse associated activities. | UDF |
| MsgTextGet( window-name ) | Returns the contents of a Windows message box. | WinGetText( ) |
| NetInfo( requestcode ) | Determines network(s) installed. | N/A |
| Num2Char( integer ) | Converts a number to its character equivalent. | Chr( ) |
| ObjectAccess(app.objname, create-flag) | Opens or creates an OLE 2.0 Automation object. | N/A |
| ObjectCollectionClose( enumeration-handle ) | Ends enumeration of an OLE collection object. | N/A |
| ObjectCollectionNext( enumeration-handle ) | Continues enumeration of an OLE collection object. | N/A |
| ObjectCollectionOpen( objecthandle ) | Initializes enumeration of an OLE collection object. | N/A |
| ObjectClose( objecthandle ) | Closes OLE 2.0 automation object. | N/A |
| ObjectOpen( objectname ) | Opens or creates an OLE 2.0 automation object. | N/A |
| ObjectType( variant-type, value) | Creates a WIL variable with a specific OLE variant type. | N/A |
| ObjectTypeGet( variable-name) | Gets the OLE variant type of a WIL variable. | N/A |
| ParseData( string ) | Parses a passed string. | StringSplit( ) |
| Pause( title, text ) | Displays text in a message box. | MsgBox( ) |
| PlayMedia( command-string ) | Controls multimedia devices. | SoundPlay( ) |
| PlayMidi( filename, mode ) | Plays a MID or RMI sound file. | SoundPlay( ) |
| PlayWaveForm( filename, mode ) | Plays a WAV sound file. | SoundPlay( ) |
| Print( data file, directory, display mode, reserved ) | Instructs an application associated to a file to print the file on the default printer. | N/A |
| Random( integer ) | Generates a positive random number. | Random( ) |
| RegApp(program-name, path) | Creates registry entries for a program under ""App Paths"". | RegWrite( ) |
| RegCloseKey( keyhandle ) | Closes a key to the registration database. | N/A |
| RegConnect(computer-name, handle) | Connects to a predefined registry handle on another computer. | N/A |
| RegCreateKey( keyhandle, sub-key string ) | Returns a handle to a new registration database key. | N/A |
| RegDeleteKey( keyhandle, sub-key string ) | Deletes a key and data items associated with the key. | RegDelete( ) |
| RegDelValue(handle, subkey-string) | Deletes a named value data item for the specified subkey from the registry. | RegWrite( ) |
| RegEntryType(handle, subkey-string) | Returns the type of data for the specified subkey. | N/A |
| RegLoadHive( handle, subkey, filename ) | Loads a hive into a registry subkey. | N/A |
| RegOpenKey( keyhandle, sub-key string ) | Returns a handle to an existing registration database key. | N/A |
| RegOpenKeyEx( handle, subkey-string, mode, reserved-1, reserved-2) | Opens a registry key with specified access rights. | N/A |
| RegQueryBin (handle, subkey-string) | Returns binary value at subkey position. | N/A |
| RegQueryDword (handle, subkey-string) | Returns DWORD value at subkey position. | N/A |
| RegQueryEx(handle, subkey-string, delimiter, type) | Retrieves a value from the registry. | N/A |
| RegQueryExpSz (handle, subkey-string) | Retrieves a REG_EXPAND_SZ value from the registry. | N/A |
| RegQueryItem (handle, subkey-string) | Returns a list of named data items for a subkey. | N/A |
| RegQueryKey( keyhandle, index ) | Returns sub keys of the specified key. | N/A |
| RegQueryKeys( handle) | Returns a tab-delimited list of subkey names under a specified key. | N/A |
| RegQueryMulSz (handle, subkey-string, delimiter) | Retrieves a REG_MULTI_SZ value from the registry. | N/A |
| RegQueryValue( keyhandle, keyname ) | Returns data item string at sub-key position. | N/A |
| RegSetBin(handle, subkey-string, value) | Sets a binary value in the Registration Database. | N/A |
| RegSetDword(handle, subkey-string, value) | Sets a DWORD value in the Registration Database. | N/A |
| RegSetEx(handle, subkey-string, value, delimiter, type) | Sets a value in the registry. | RegWrite( ) |
| RegSetExpSz (handle, subkey-string, value) | Sets a REG_EXPAND_SZ value in the registry. | N/A |
| RegSetMulSz (handle, subkey-string, value, delimiter) | Sets a REG_MULTI_SZ value in the registry. | RegWrite( ) |
| RegSetValue( keyhandle, sub-key string, value ) | Sets the value of a data item in the registration database. | RegWrite( ) |
| RegUnloadHive( handle, subkey ) | Unloads a hive from the registry. | N/A |
| Reload {*M} | Reloads menu file(s). | N/A |
| Return | Returns from a Call to the calling program or from a GoSub :label. | Return( ) |
| Run( program-name, parameters ) | Runs a program as a normal window. | Run( ) |
| RunEnviron( program-name, parameters, displaymode, waitflag ) | Launches a program in the current environment as set with the EnvironSet command. | Run( ) |
| RunHide( program-name, parameters ) | Runs a program as a hidden window. | Run( ) |
| RunHideWait( program-name, parameters ) | Runs a program in a hidden window and waits for it to close. | RunWait( ) |
| RunIcon( program-name, parameters ) | Runs a program as an icon. | Run( ) |
| RunIconWait( program-name, parameters ) | Runs a program as an icon and waits for it to close. | RunWait( ) |
| RunShell( program-name, params, directory, displaymode, waitflag ) | An advanced form of the Run function that even allows the specification of a working directory, along with the window view mode and whether or not to wait for completion of the run program in a single function. | Run( )/RunWait( ) |
| RunWait( program-name, parameters ) | Runs a program as a normal window and waits for it to close. | RunWait( ) |
| RunZoom( program-name, parameters ) | Runs a program in a maximized window. | Run( ) |
| RunZoomWait( program-name, parameters) | Runs a program in a maximized window and waits for it to close. | RunWait( ) |
| Select varname | Allows selection among multiple blocks of statements. | Select |
| SendKey( sendkey-string ) | Sends keystrokes to the currently active window. | Send( ) |
| SendKeysChild( partial-parent-windowname, partial-child-windowname,sendkey-string ) | Sends keystrokes to the active child window. | Send( ) |
| SendKeysTo( partial-parent-windowname, sendkey-string ) | Sends keystrokes to a ""windowname"". | Send( ) |
| SendMenusTo( partial-parent-windowname, menuname ) | Activates a window and sends a specified menu option. | ControlSend( ) |
| ShellExecute (program-name, params, directory, display mode, operation) | Runs a program via the Windows ShellExecute command | N/A |
| ShortcutDir( name [, source [, add-slash]]) | Returns the name of the directory where shortcuts of type ""name"" are stored. | N/A |
| ShortcutEdit(link-name, target, params, start-dir, show-mode [, shortcut-type]) | Modifies the specified shortcut file. | N/A |
| ShortcutExtra(link-name, description, hotkey, icon-file, icon-index [, shortcuttype]) | Sets additional information for the specified shortcut file. | N/A |
| ShortcutInfo(link-name[, shortcut-type]) | Returns information on the specified shortcut file. | N/A |
| ShortcutMake(link-name, target, params, start-dir, show-mode[, shortcuttype]) | Creates a shortcut for the specified filename or directory. | FileCreateShortcut( ) |
| Sin( fp_num ) | Calculates the sine. | Sin( ) |
| Sinh( fp_num ) | Calculates the hyperbolic sine. | UDF |
| SnapShot( request# ) | Takes a snapshot of the screen and pastes it to the clipboard. | Send(“!{PRINTSCREEN}”) |
| Sounds( request# ) | Turns sounds on or off. | N/A |
| Sqrt( fp_num ) | Calculates the square root. | Sqrt( ) |
| StrCat( string [ ,string ] ) | Concatenates strings together. | & |
| StrCharCount( string ) | Counts the number of characters in a string. | StringLen( ) |
| StrClean( source-string, characters, replacement, match-case, mode) | Removes or replaces characters in a string. | StringReplace( ) |
| StrCmp( string1, string2 ) | Compares two strings. | “==”/”=” |
| StrFill( filler, length ) | Builds a string from a repeated smaller string. | UDF |
| StrFix( base-string, pad-string, length ) | Pads or truncates a string to a fixed length. | UDF |
| StrFixChars( base-string, pad-string, length ) | Pads or truncates a string To a fixed length using characters. | UDF |
| StrFixCharsL( base-string, pad-string, size ) | Pads or truncates the left side of a string to a fixed length using characters. | UDF |
| StrFixLeft(base-string, pad-string, length) | Pads or truncates the left side of a string to a fixed length using bytes. | UDF |
| StriCmp( string1, string2 ) | Compares two strings without regard to case. | “==” |
| StrIndex( base-string, sub-string, start, direction ) | Locates a string within a larger string. | StringInStr( ) |
| StrIndexNc (base-string, sub-string, start, direction ) | Locates a string within a larger string, ignoring case. | StringInStr( ) |
| StrLen (string ) | Returns the length of a string. | StringLen( ) |
| StrLenWild (string, pattern, start) | Finds wildcarded text within a larger string. | N/A |
| StrLower (string ) | Converts a string to all lower-case characters. | StringLower( ) |
| StrReplace (string, old, new ) | Replaces all occurrences of a sub-string with another. | StringReplace( ) |
| StrScan (string, delimiters, startpos, direction ) | Finds an occurrence of one or more delimiter characters in a string. | StringInStr( ) |
| StrSub (string, startpos, length ) | Returns a sub-string from within a string. | StringMid( ) |
| StrTrim (string ) | Trims leading and trailing blanks from a string. | StringTrimRight/StringTrimLeft |
| StrUpper (string ) | Converts a string to all upper-case characters. | StringUpper( ) |
| Switch varname | Allows selection among multiple blocks of statements. | Select |
| Tan (fp_num ) | Calculates the tangent. | Tan( ) |
| Tanh( fp_num ) | Calculates the hyperbolic tangent. | UDF |
| Terminate( expression, title, message ) | Conditionally ends a WIL program. | Exit |
| TimeAdd( datetime1, datetime2) | Adds two YmdHms datetime variables. | UDF |
| TimeDate( ) | Provides the current date and time in a readable format. | @Hour/@Min/@Sec/@Day/@Mon/@Year |
| TimeDelay( seconds ) | Pauses execution for a specified amount of time. | Sleep( ) |
| TimeDiff( datetime1, datetime2) | Returns the difference between two points in time. | UDF |
| TimeDiffDays( datetime1, datetime2) | Returns the difference in days between the two dates. | UDF |
| TimeDiffSecs( datetime1, datetime2 ) | Returns the time difference in seconds between the two date times. | UDF |
| TimeJulianDay( datetime) | Returns the julian day given a datetime. | N/A |
| TimeJulToYmd(julian-date) | Returns the datetime given a Julian day. | N/A |
| TimeSubtract( datetime, datetime-difference) | Subtracts one YmdHms datetime variable from another. | UDF |
| TimeWait( datetime) | Pauses execution and waits for the datetime to pass. | UDF |
| TimeYmdHms( ) | Returns current date and time in the datetime format. | @Hour/@Min/@Sec/@Day/@Mon/@Year |
| VarType(varname) | Gets the type of a WIL variable. | N/A |
| Version( ) | Returns the version of the parent program currently running. | @AutoITVersion |
| VersionDLL( ) | Returns the version of the WIL interpreter currently running. | N/A |
| WaitForKey( key, key, key, key, key ) | Waits for a specific key to be pressed. | HotKeySet( ) |
| WaitForKeyEx( keycode, timeout) | Waits for a specific key to be pressed within timeout period. | HotKeySet( ) |
| WallPaper( bmp-filename, tilemode ) | Changes the Windows wallpaper. | N/A |
| While expression | Conditionally and/or repeatedly executes a series of statements. | While |
| WinActivate( partial-winname ) | Makes an application window the active window. | WinActivate( ) |
| WinActiveChild(partial-parent-windowname, partial-child-windowname ) | Activates a previously running child window. | WinActivate( ) |
| WinArrange( style ) | Arranges all running application windows on the screen. | UDF |
| WinClose( partial-winname ) | Closes an application window. | WinClose( ) |
| WinExeName( partial-winname ) | Returns the name of the executable file which created a specified window. | N/A |
| WinExist( partial-winname ) | Tells if a window exists. | WinExists( ) |
| WinExistChild( partial-parent-windowname, partial-child-windowname ) | Tells if a specified child window exists. | WinExists( ) |
| WinGetActive( ) | Gets the title of the active window. | WinGetTitle( ) |
| WinHelp( helpfile, function, keyword ) | Calls a Windows help file. | Run( )/RunWait( ) |
| WinHide( partial-winname ) | Hides an application window. | WinShow( ) |
| WinIconize( partial-winname ) | Turns an application window into an icon. | WinShow( ) |
| WinIdGet(partial-winname) | Returns a unique ""Window ID"" (pseudo-handle) for the specified window name. | WinGetHandle( ) |
| WinIsDOS( partial-winname ) | Tells whether or not a particular window is a DOS or console-type window. | N/A |
| WinItemChild( partial-parent-windowname ) | Returns a list of all the child windows under this parent. | N/A |
| WinItemize( ) | Lists all the main windows currently running. | N/A |
| WinItemizeEx (partial-winname, multiple, hidden) | Returns the full name of window(s) matching a partial window name. | N/A |
| WinItemNameId( ) | Returns a list of all open windows and their Window ID's. | N/A |
| WinItemProcID( process-id, flags, return-type) | Returns a list of windows for the specified process. | N/A |
| WinMetrics( request# ) | Returns Windows system information. | N/A |
| WinName( ) | Returns the name of the window calling the WIL Interpreter. | N/A |
| WinParmGet( request# ) | Returns system information. | N/A |
| WinParmSet( request#, new-value, ini-control ) | Sets system information. | N/A |
| WinPlace( x-ulc, y-ulc, x-brc, y-brc, partial-winname ) | Changes the size and position of an application window on the screen. | WinMove( ) |
| WinPlaceGet( win-type partial-winname ) | Returns window coordinates. | WinGetPos( ) |
| WinPlaceSet( win-type, partial-winname, position -string ) | Sets window coordinates. | WinMove( ) |
| WinPosition( partial-winname ) | Returns window position. | WinGetPos( ) |
| WinResources( request#) | Returns information on available memory and resources. | N/A |
| WinShow( partial-winname ) | Shows a window in its ""normal"" state. | WinShow( ) |
| WinState( partial-winname ) | Returns the current state of a window. | WinGetState( ) |
| WinSysInfo( ) | Returns system configuration information. | Some variables |
| WinTitle( old-partial-winname, new-winname ) | Changes the title of an application window. | WinSetTitle( ) |
| WinVersion( level ) | Returns the version of Windows that is currently running. | @OsVersion |
| WinWaitChild(partial parent winname, partial child winname, timeout) | Waits for a child window to exist. | UDF |
| WinWaitClose( partial-winname [, timeout] ) | Waits until an application window is closed. | WinWaitClose( ) |
| WinWaitExist(partial-winname, timeout) | Waits for a window to exist. | UDF |
| WinZoom( partial-winname ) | Maximizes an application window to full-screen. | WinMaximize( ) |
| Yield | Pauses WIL processing so other applications can process some messages. | N/A |
| Yields | Provides time for other windows to do processing. | N/A |
| N/A | Disables the adlib functionality. | AdlibDisable () |
| N/A | Enables Adlib functionality. | AdlibEnable () |
| N/A | Changes the operation of various AutoIt functions/parameters. | AutoItSetOption () |
| N/A | Retrieves the title of the AutoIt window. | AutoItWinGetTitle () |
| N/A | Changes the title of the AutoIt window. | AutoItWinSetTitle () |
| N/A | Performs a bitwise AND operation. | BitAND () |
| N/A | Performs a bitwise NOT operation. | BitNOT () |
| N/A | Performs a bitwise OR operation. | BitOR () |
| N/A | Performs a bit shifting operation. | BitShift () |
| N/A | Performs a bitwise exclusive OR (XOR) operation. | BitXOR () |
| N/A | Disable/enable the mouse and keyboard. | BlockInput () |
| N/A | Enables or disables the users ability to exit a script from the tray icon menu. | Break () |
| N/A | Opens or closes the CD tray. | CDTray () |
| N/A | Disables or grays-out a control. | ControlDisable () |
| N/A | Enables a grayed-out control. | ControlEnable () |
| N/A | Sets input focus to a given control on a window. | ControlFocus () |
| N/A | Returns the ControlRef# of the control that has keyboard focus within a specified window. | ControlGetFocus () |
| N/A | Retrieves the position and size of a control relative to its window. | ControlGetPos () |
| N/A | Retrieves text from a control. | ControlGetText () |
| N/A | Hides a control. | ControlHide () |
| N/A | Moves a control within a window. | ControlMove () |
| N/A | Sets text of a control. | ControlSetText () |
| N/A | Shows a control that was hidden. | ControlShow () |
| N/A | Returns a numeric representation of a hexidecimal string. | Dec () |
| N/A | Copies a directory and all sub-directories and files (Similar to xcopy). | DirCopy () |
| N/A | Returns Volume Label of a drive, if it has one. | DriveGetLabel () |
| N/A | Returns Serial Number of a drive. | DriveGetSerial () |
| N/A | Returns drive type. | DriveGetType () |
| N/A | Sets the Volume Label of a drive. | DriveSetLabel () |
| N/A | Refreshes the OS environment. | EnvUpdate () |
| N/A | Return the value of the variable whose name is given by the expression. | Eval () |
| N/A | Changes the current working directory. | FileChangeDir () |
| N/A | Checks if a file or directory exists. | FileExists () |
| N/A | Returns a filename according to a previous call to FileFindFirstFile. | FileFindNextFile () |
| N/A | Sends a file or directory to the recycle bin, if possible | FileRecycle () |
| N/A | Initiates a Save File Dialog. | FileSaveDialog () |
| N/A | Initiates a Browse For Folder GUI. | FileSelectFolder () |
| N/A | Returns a string representation of an integer converted to hexadecimal. | Hex () |
| N/A | Checks if the current user has administrator privileges. | IsAdmin () |
| N/A | Checks if a variable is an array type. | IsArray () |
| N/A | Check is a variable has been declared. | IsDeclared () |
| N/A | Checks if a variable is a string type. | IsString () |
| N/A | Performs the modulus operation. | Mod () |
| N/A | Perform a mouse click and drag operation. | MouseClickDrag () |
| N/A | Perform a mouse down event at the current mouse position. | MouseDown () |
| N/A | Returns a cursor ID Number of the current Mouse Cursor. | MouseGetCursor () |
| N/A | Perform a mouse up event at the current mouse position. | MouseUp () |
| N/A | Returns a pixel color according to x,y pixel coordinates. | PixelGetColor () |
| N/A | Searches a rectangle of pixels for the pixel color provided. | PixelSearch () |
| N/A | Terminates a named process. | ProcessClose () |
| N/A | Checks to see if a specified process exists. | ProcessExists () |
| N/A | Pauses script execution until a given process exists. | ProcessWait () |
| N/A | Pauses script execution until a given process does not exist. | ProcessWaitClose () |
| N/A | Turns Progress window off. | ProgressOff () |
| N/A | Creates a customizable progress bar window. | ProgressOn () |
| N/A | Sets the position and/or text of a previously created Progress bar window. | ProgressSet () |
| N/A | Reads a value from the registry. | RegRead () |
| N/A | Initialise a set of user credentials to use during Run and RunWait operations. 2000/XP or later ONLY. | RunAsSet () |
| N/A | Manually set the value of the @error macro. | SetError () |
| N/A | Sets the system wave volume by percent. | SoundSetWaveVolume () |
| N/A | Creates a customizable image popup window. | SplashImageOn () |
| N/A | Turns SplashText or SplashImage off. | SplashOff () |
| N/A | Creates a customizable text popup window. | SplashTextOn () |
| N/A | Retrieves the text from a standard status bar control. | StatusbarGetText () |
| N/A | Takes a string and prefixes all linefeed characters ( Chr(10) ) with a carriage return character ( Chr(13) ). | StringAddCR () |
| N/A | Returns a formatted string (similar to the C sprintf() function). | StringFormat () |
| N/A | Checks if a string contains only alphanumeric characters. | StringIsAlNum () |
| N/A | Checks if a string contains only alphabetic characters. | StringIsAlpha () |
| N/A | Checks if a string contains only ASCII characters in the range 0x00 - 0x7f (0 - 127). | StringIsASCII () |
| N/A | Checks if a string contains only digit (0-9) characters. | StringIsDigit () |
| N/A | Checks if a string is a floating point number. | StringIsFloat () |
| N/A | Checks if a string is an integer. | StringIsInt () |
| N/A | Checks if a string contains only lowercase characters. | StringIsLower () |
| N/A | Checks if a string contains only whitespace characters. | StringIsSpace () |
| N/A | Checks if a string contains only uppercase characters. | StringIsUpper () |
| N/A | Checks if a string contains only hexadecimal digit (0-9, A-F) characters. | StringIsXDigit () |
| N/A | Returns a number of characters from the left-hand side of a string. | StringLeft () |
| N/A | Returns a number of characters from the right-hand side of a string. | StringRight () |
| N/A | Removes all carriage return values ( Chr(13) ) from a string. | StringStripCR () |
| N/A | Strips the white space in a string. | StringStripWS () |
| N/A | Returns a timestamp (in milliseconds). | TimerStart () |
| N/A | Returns a difference in time from a previous call to StartTimer(). | TimerStop () |
| N/A | Creates a tooltip anywhere on the screen | ToolTip () |
| N/A | Displays a balloon tip from the AuotIt Icon. (2000/XP only) | TrayTip () |
| N/A | Downloads a file from the internet. | URLDownloadToFile () |
| N/A | Checks to see if a specified window exists and is currently active. | WinActive () |
| N/A | Returns the coordinates of the caret in the foreground window | WinGetCaretPos () |
| N/A | Retrieves the classes from a window. | WinGetClassList () |
| N/A | Retrieves the size of a given windows client area. | WinGetClientSize () |
| N/A | Forces a window to close. | WinKill () |
| N/A | Invokes a menu item of a window. | WinMenuSelectItem () |
| N/A | Minimizes all windows. | WinMinimizeAll () |
| N/A | Undoes a previous WinMinimizeAll function. | WinMinimizeAllUndo () |
| N/A | Change a windows Always On Top attribute. | WinSetOnTop () |
| N/A | Pauses execution of the script until the requested window is active. | WinWaitActive () |
| N/A | Pauses execution of the script until the requested window is not active. | WinWaitNotActive () |