function ADD_TO_API(sFunc,sArgs,sDesc) --if not sFunc then Application.ExitScript() end if not sArgs then sArgs="" end if not sDesc then sDesc="" end if not tbAMSAPI then tbAMSAPI={} end local nNext=Table.Count(tbAMSAPI)+1 Table.Insert(tbAMSAPI,nNext,{}) tbAMSAPI[nNext].Func=sFunc tbAMSAPI[nNext].Args=sArgs tbAMSAPI[nNext].Desc=sDesc end ADD_TO_API("Application.Exit","( nReturnCode )","Exits the application and returns an optional return code.") ADD_TO_API("Application.ExitScript","( )","Breaks out of the current block of script being executed.") ADD_TO_API("Application.GetCurrentDialog","( )","Returns the name of the current dialog in the application.") ADD_TO_API("Application.GetCurrentPage","( )","Returns the name of the current page in the application.") ADD_TO_API("Application.GetDialogProperties","( sDialogName )","Returns a table containing the properties of the specified dialog.") ADD_TO_API("Application.GetDialogs","( )","Returns a table containing the names of all of the dialogs in the application.") ADD_TO_API("Application.GetDialogScript","( sDialogName, sEventName )","Returns a string containing the script from a dialog's event.") ADD_TO_API("Application.GetLastError","( )","Returns the last error code.") ADD_TO_API("Application.GetMenu","( )","Returns the application's menu bar structure in a table.") ADD_TO_API("Application.GetPageProperties","( sPageName )","Returns a table containing the properties of the specified page.") ADD_TO_API("Application.GetPages","( )","Returns a table containing the names of all of the pages in the application.") ADD_TO_API("Application.GetPageScript","( sPageName, sEventName )","Returns the script on an event of a page.") ADD_TO_API("Application.GetWndHandle","( )","Returns the numeric window handle for the application window.") ADD_TO_API("Application.LoadValue","( sSection, sKey )","Loads a value that was saved with the Application.SaveValue action.") ADD_TO_API("Application.LoadActionPlugin","( sFilename )","Loads an action plugin file (.lmd) .") ADD_TO_API("Application.LoadScript","( sFilename )","Loads and executes an external script file (.lua) if it hasn't been loaded already.") ADD_TO_API("Application.MakeKeywordIndex","( bSortPages = true )","Scans all pages in the project for keywords and returns a table that is indexed by keyword.") ADD_TO_API("Application.Minimize","( )","Minimizes the application's window to the task bar.") ADD_TO_API("Application.Restore","( )","Restores the application's window to the size and position it had before it was minimized.") ADD_TO_API("Application.RunScriptFile","( sFilename )","Executes the contents of an external script file (.lua) .") ADD_TO_API("Application.SaveValue","( sSection, sKey, sValue )","Saves a value to the user's system so it can be retrieved later with an Application.LoadValue action.") ADD_TO_API("Application.SearchKeywords","( sSearchFor, bAllowPartialMatch = true, bCaseSensitive = true )","Searches all keywords in all pages in the project and returns a table of search results.") ADD_TO_API("Application.SetDialogProperties","( sDialogName, tProperties )","Sets the properties of a dialog.") ADD_TO_API("Application.SetDialogScript","( sDialogName, sEventName, sScript )","Sets the script on an event of a dialog.") ADD_TO_API("Application.SetLastError","( nErrorCode )","Changes the last error code.") ADD_TO_API("Application.SetMenu","( tMenu )","Sets the application's main menu.") ADD_TO_API("Application.SetMenuBarActive","( bActivate = true )","Activates or deactivates the applications menu bar.") ADD_TO_API("Application.SetPageProperties","( sPageName, tProperties )","Sets the properties of a page.") ADD_TO_API("Application.SetPageScript","( sPageName, sEventName, sScript )","Sets the script on an event of a page.") ADD_TO_API("Application.SetRedraw","( bRedraw = true )","Sets whether or not the application will redraw objects.") ADD_TO_API("Application.SetSysTrayIcon","( sIconPath = , nIconIndex = 0 )","Sets the application's system tray icon using an icon file or executable, or reverts back to the original icon.") ADD_TO_API("Application.ShowPopupMenu","( nX, nY, tMenu, nHAlign = TPM_LEFTALIGN, nVAlign = TPM_TOPALIGN, bWaitForReturn = true, bClientCoordinates = true )","Shows a popup menu.") ADD_TO_API("Application.Sleep","( nTime )","Causes the application to sleep for a desired period of time.") ADD_TO_API("Audio.GetCurrentPos","( nChannel )","Retrieves the current time position of an audio channel, in seconds.") ADD_TO_API("Audio.GetLength","( nChannel )","Retrieves the length","(in seconds)","of the audio track in a channel.") ADD_TO_API("Audio.GetFilename","( nChannel )","Returns the path to the file that is loaded in an audio channel.") ADD_TO_API("Audio.GetOggTags","( nChannel )","Returns a table containing the standard tag information of the specified Ogg Vorbis file.") ADD_TO_API("Audio.GetVolume","( nChannel )","Retrieves the current volume of an audio channel. The volume is represented as a number between 0 and 255.") ADD_TO_API("Audio.IsLooping","( nChannel )","Returns true if an audio channel is set to loop when it reaches the end.") ADD_TO_API("Audio.Load","( nChannel, sFilename, bPlayAutomatic = false, bLoop = false )","Loads an audio file into an audio channel.") ADD_TO_API("Audio.Pause","( nChannel )","Pauses an audio channel's playback.") ADD_TO_API("Audio.Play","( nChannel )","Plays the audio currently loaded in the channel.") ADD_TO_API("Audio.Seek","( nChannel, nSeekType, nSeekTime = 0 )","Seeks to a time position in an audio file.") ADD_TO_API("Audio.SetVolume","( nChannel, nVolume )","Sets the volume level of an audio channel.") ADD_TO_API("Audio.SetLooping","( nChannel, bLooping = true )","Turns looping on or off for an audio channel.") ADD_TO_API("Audio.Stop","( nChannel )","Stops playing an audio channel.") ADD_TO_API("Audio.ToggleMute","( nChannel )","Toggles the sound on or off for the specified audio channels.") ADD_TO_API("Audio.TogglePlay","( nChannel )","Toggles an audio channel's playback between playing and paused.") ADD_TO_API("Button.GetPos","( sObjectName )","Returns the X and Y page coordinates of a button object in pixels.") ADD_TO_API("Button.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Button.GetSize","( sObjectName )","Returns the pixel dimensions of a button object.") ADD_TO_API("Button.GetState","( sObjectName )","Returns the up/down state of a button object.") ADD_TO_API("Button.GetText","( sObjectName )","Returns the text displayed on a button object.") ADD_TO_API("Button.IsEnabled","( sObjectName )","Returns true if a specific button object is enabled, or false if it's disabled.") ADD_TO_API("Button.IsVisible","( sObjectName )","Returns true if a specific button object is visible, or false if it isn't.") ADD_TO_API("Button.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a button object.") ADD_TO_API("Button.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a button object relative to the page.") ADD_TO_API("Button.SetProperties","( sObjectName, tProperties )","Sets the properties of a button object on the page.") ADD_TO_API("Button.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a button object.") ADD_TO_API("Button.SetState","( sObjectName, nState = BTN_UP )","Sets the up/down state of a button object.") ADD_TO_API("Button.SetText","( sObjectName, sText )","Sets the text displayed on a button object.") ADD_TO_API("Button.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a button object.") ADD_TO_API("CheckBox.GetChecked","( sObjectName )","Returns the checked state of a checkbox object.") ADD_TO_API("CheckBox.GetPos","( sObjectName )","Returns the X and Y page coordinates of a checkbox object in pixels.") ADD_TO_API("CheckBox.GetProperties","( sObjectName )","Returns a table containing the properties of a checkbox object.") ADD_TO_API("CheckBox.GetText","( sObjectName )","Returns the text displayed in a checkbox object.") ADD_TO_API("CheckBox.GetSize","( sObjectName )","Returns the pixel dimensions of a checkbox object.") ADD_TO_API("CheckBox.IsEnabled","( sObjectName )","Returns true if a specific checkbox object is enabled, or false if it's disabled.") ADD_TO_API("CheckBox.IsVisible","( sObjectName )","Returns true if a specific checkbox object is visible, and false if it isn't.") ADD_TO_API("CheckBox.SetChecked","( sObjectName, bChecked = true )","Sets the checked state of a checkbox object.") ADD_TO_API("CheckBox.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a checkbox object.") ADD_TO_API("CheckBox.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a checkbox object relative to the page.") ADD_TO_API("CheckBox.SetProperties","( sObjectName, tProperties )","Sets the properties of a checkbox object on the page.") ADD_TO_API("CheckBox.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a checkbox object.") ADD_TO_API("CheckBox.SetText","( sObjectName, sText )","Sets the text displayed in a checkbox object.") ADD_TO_API("CheckBox.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a checkbox object.") ADD_TO_API("ComboBox.AddItem","( sObjectName, sText, sData = \"\" )","Adds an item to a combobox object.") ADD_TO_API("ComboBox.DeleteItem","( sObjectName, nIndex )","Removes an item from a combobox object.") ADD_TO_API("ComboBox.FindItem","( sObjectName, nStartAfter, nSearchType, sSearchText )","Searches through the items in a combobox object for a specific string and returns the index (line number) where it was found.") ADD_TO_API("ComboBox.GetCount","( sObjectName )","Returns the number of items in a specific combobox object.") ADD_TO_API("ComboBox.GetItemData","( sObjectName, nIndex )","Returns the item data associated to a specific item in a combobox object.") ADD_TO_API("ComboBox.GetItemText","( sObjectName, nIndex )","Returns the item text associated to a specific item in a combobox object.") ADD_TO_API("ComboBox.GetPos","( sObjectName )","Returns the X and Y page coordinates of a combobox object in pixels.") ADD_TO_API("ComboBox.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("ComboBox.GetSelected","( sObjectName )","Returns the index of the selected combobox item.") ADD_TO_API("ComboBox.GetSize","( sObjectName )","Returns the pixel dimensions of a combobox object.") ADD_TO_API("ComboBox.GetText","( sObjectName )","Returns text currently displayed in the combobox object.") ADD_TO_API("ComboBox.InsertItem","( sObjectName, nIndex, sText, sData = \"\" )","Inserts a new item into a combobox object at a specific index.") ADD_TO_API("ComboBox.IsEnabled","( sObjectName )","Returns true if a specific combobox object is enabled, or false if it's disabled.") ADD_TO_API("ComboBox.IsVisible","( sObjectName )","Returns true if a specific combobox object is visible, and false if it isn't.") ADD_TO_API("ComboBox.ResetContent","( sObjectName )","Removes all items from the specified combobox.") ADD_TO_API("ComboBox.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a combobox object.") ADD_TO_API("ComboBox.SetItemData","( sObjectName, nIndex, sData )","Sets the text of a combobox item's associated data.") ADD_TO_API("ComboBox.SetItemText","( sObjectName, nIndex, sText )","Sets the item text for a specific item in a combobox object.") ADD_TO_API("ComboBox.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a combobox object relative to the page.") ADD_TO_API("ComboBox.SetProperties","( sObjectName, tProperties )","Sets the properties of a combobox object on the page.") ADD_TO_API("ComboBox.SetSelected","( sObjectName, nIndex )","Selects the specified item in the combobox object, -1 to clear the selection.") ADD_TO_API("ComboBox.SetSize","( sObjectName, nWidth )","Sets the width of a combobox object (The height is controlled by the font size) .") ADD_TO_API("ComboBox.SetText","( sObjectName, sText )","Sets the displayed text in the combobox object (Dropdown Edit style only) .") ADD_TO_API("ComboBox.SetUpdate","( sObjectName, bEnabled = true )","Sets the enabled/disabled update state of a combobox object.") ADD_TO_API("ComboBox.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a combobox object.") ADD_TO_API("Crypto.Base64DecodeFromFile","( sSource, sDestination )","Decodes a base64-encoded text file and stores the result as a binary file.") ADD_TO_API("Crypto.Base64DecodeFromString","( sText, sFilename )","Decodes a base64-encoded string and stores the result as a binary file.") ADD_TO_API("Crypto.Base64EncodeToFile","( sSource, sDestination, nLineLen = 76 )","Stores the contents of a binary file as a base64-encoded text file.") ADD_TO_API("Crypto.Base64EncodeToString","( sSource, nLineLen = 76 )","Returns the contents of a binary file as a base64-encoded string.") ADD_TO_API("Crypto.BlowfishDecrypt","( sSource, sDestination, sKey )","Creates a decrypted copy of a blowfish-encrypted file.") ADD_TO_API("Crypto.BlowfishDecryptString","( sText, sKey )","Decrypts a string that was encrypted using the BlowfishEncryptString action.") ADD_TO_API("Crypto.BlowfishEncrypt","( sSource, sDestination, sKey )","Creates a blowfish-encrypted copy of a file.") ADD_TO_API("Crypto.BlowfishEncryptString","( sText, sKey, nLineLen = 0 )","Blowfish encrypts a string and returns a base64-encoded string containing the encrypted data.") ADD_TO_API("Crypto.MD5DigestFromString","( sText )","Creates an MD5 message digest for a given text string.") ADD_TO_API("Crypto.MD5DigestFromFile","( sFilename )","Creates an MD5 message digest for a given file.") ADD_TO_API("Crypto.Rot13","( sText )","Applies a simple Ceaser-cypher (\"rot13\") encryption to the text.") ADD_TO_API("Debug.Clear","( )","Clears the contents of the debug window.") ADD_TO_API("Debug.GetEventContext","( )","Returns a string describing the current event context, e.g. \"Page 4 -> Label 2 -> On Click\".") ADD_TO_API("Debug.GetTraceMode","( )","Returns the current debug trace mode.") ADD_TO_API("Debug.Print","( sText )","Appends text to the bottom of the debug window.") ADD_TO_API("Debug.SetTraceMode","( bEnable )","Turns debug trace mode on or off.") ADD_TO_API("Debug.ShowWindow","( bShow )","Shows or hides the debug window.") ADD_TO_API("Dialog.FileBrowse","( bFileOpen, sTitle, sDefaultFolder, sFileFilters = \"All Files","(*.*)","|*.*|\", sFilename = \"\", sFileExtension = \"\", bMultipleSelect = false, bFileMustExist = false )","Presents a file browse dialog to the user to collect the paths to one or more files.") ADD_TO_API("Dialog.FolderBrowse","( sPrompt, sDefaultFolder )","Presents a folder browse dialog to the user to collect the path to a folder.") ADD_TO_API("Dialog.Input","( sTitle, sPrompt, sDefaultText = \"\", nIcon = MB_ICONQUESTION )","Presents an input dialog to collect information from the user.") ADD_TO_API("Dialog.MaskedInput","( sTitle, sPrompt, sMask, sDefaultText = \"\", nIcon = MB_ICONQUESTION, sPlaceHolder = \" \" )","Presents an input dialog to collect information from the user in a specific format.") ADD_TO_API("Dialog.Message","( sTitle, sText, nType = MB_OK, nIcon = MB_ICONINFORMATION, nDefaultButton = MB_DEFBUTTON1 )","Presents a dialog to the user with an informative message on it.") ADD_TO_API("Dialog.PageSearch","( tDialogText = nil )","Presents a dialog that allows the user to search for pages by keyword.") ADD_TO_API("Dialog.PasswordInput","( sTitle, sPrompt, nIcon = MB_ICONQUESTION )","Presents a \"hidden input\" dialog to collect a password from the user.") ADD_TO_API("Dialog.TimedMessage","( sTitle, sText, nTime, nIcon = MB_ICONINFORMATION )","Presents a timed dialog to the user with an informative message on it.") ADD_TO_API("Dialog.SplashFlash","( sFlashFile, nTime = 0, bAllowClickToSkip = true )","Presents a splash dialog containing a flash movie to the end user.") ADD_TO_API("Dialog.SplashImage","( sMediaFile, nTime = 0, bAllowClickToSkip = true )","Displays a splash dialog containing an image.") ADD_TO_API("Dialog.SplashVideo","( sVideoFile, nTime = 0, bAllowClickToSkip = true )","Displays a splash dialog containing a video.") ADD_TO_API("DialogEx.ClickObject","( sObjectName )","Fires the On Click event of the specified object on the current dialog.") ADD_TO_API("DialogEx.Close","( nReturnCode = 0 )","Closes the current dialog with a specific return code.") ADD_TO_API("DialogEx.CreateObject","( nObjectType, sObjectName, tProperties )","Creates a new object on the current dialog.") ADD_TO_API("DialogEx.DeleteObject","( sObjectName )","Deletes an object from the current dialog.") ADD_TO_API("DialogEx.EnumerateObjects","( )","Returns a table containing the names of all the objects on the current dialog.") ADD_TO_API("DialogEx.GetFocus","( )","Returns the name of the object that currently has focus.") ADD_TO_API("DialogEx.GetObjectScript","( sObjectName, sEventName )","Returns the script on an event of an object.") ADD_TO_API("DialogEx.GetObjectType","( sObjectName )","Returns the \"type\" of a given object on the current dialog.") ADD_TO_API("DialogEx.GetRadioValue","( sGroupID = \"\", nType = RADIOGROUP_VALUE )","Gets the checked value of the specified radiobutton group on the current dialog.") ADD_TO_API("DialogEx.GetSize","( )","Returns the pixel dimensions of the current dialog.") ADD_TO_API("DialogEx.GetWndHandle","( )","Returns the numeric window handle for the current dialog window.") ADD_TO_API("DialogEx.Print","( bShowPrintDialog = true, bScaleToFit = true )","Prints the current dialog.") ADD_TO_API("DialogEx.Redraw","( )","Causes the current dialog to redraw itself.") ADD_TO_API("DialogEx.SetFocus","( sObjectName )","Sets focus to an object on the current dialog.") ADD_TO_API("DialogEx.SetObjectScript","( sObjectName, sEventName, sScript )","Sets the script on an event of an object on the current dialog.") ADD_TO_API("DialogEx.SetObjectZOrder","( sObjectName, nPosition, sReferenceObject = \"\" )","Sets an object's position in the zorder relative to other objects on the current dialog.") ADD_TO_API("DialogEx.SetRadioValue","( sValue, sGroupID = \"\", nType = RADIOGROUP_VALUE )","Selects a radio button item in a group by value, object name or radio button text on the current dialog.") ADD_TO_API("DialogEx.SetRedraw","( bRedraw = true )","Sets whether or not the current dialog will redraw objects.") ADD_TO_API("DialogEx.Show","( sDialogName, bParentCoordinates = true, nX = nil, nY = nil )","Shows a specific dialog in your application at an optional position.") ADD_TO_API("DialogEx.StartTimer","( nInterval )","Starts the dialog timer for the current dialog.") ADD_TO_API("DialogEx.StopTimer","( )","Stops the dialog timer for the current dialog.") ADD_TO_API("DLL.CallFunction","( sFilename, sFunctionName, sParameters = \"\", nReturnType = 0, nCallConvention = 0 )","Calls a function in a dynamically linked library (DLL) . It can be used to extend AutoPlay's functionality with your own functions.") ADD_TO_API("Drive.Eject","( sDrive )","Ejects a CD or DVD-ROM drive when given a valid drive letter.") ADD_TO_API("Drive.Enumerate","( )","Returns a numerically indexed table containing all of the drives on the user's system.") ADD_TO_API("Drive.GetFreeSpace","( sDrive )","Gets the amount of free disk space of a specific drive and returns it's numeric size in Megabytes.") ADD_TO_API("Drive.GetInformation","( sDrive )","Returns a table of information about a given drive.") ADD_TO_API("Drive.GetSize","( sDrive )","Gets the disk size of a specific hard drive and returns it's numeric size in Megabytes.") ADD_TO_API("Drive.GetType","( sDrive )","Gets the type of a specific drive.") ADD_TO_API("Drive.GetUsedSpace","( sDrive )","Gets the amount of used disk space of a specific drive and returns it's numeric size in Megabytes.") ADD_TO_API("File.Copy","( sSource, sDestination, bRecurse = true, bOverwrite = true, bAbortOnFail = false, bIncludeHiddenFiles = true, fCallbackFunction = nil )","Copies a file to another location.") ADD_TO_API("File.Delete","( sSource, bRecurse = false, bAbortOnFail = false, bIncludeHiddenFiles = false, fCallbackFunction = nil )","Deletes a file.") ADD_TO_API("File.DeleteOnReboot","( sFilename )","Deletes a file on the next system reboot.") ADD_TO_API("File.DoesExist","( sFilename )","Returns true if a file exists at a specific location or false if it does not.") ADD_TO_API("File.ExploreFolder","( sPath, nWindowMode = SW_SHOWNORMAL )","Explores a folder on the user's system.") ADD_TO_API("File.Find","( sFolder, sFilename, bRecurse = false, bIncludeFolders = false, fCallbackFunction = nil, fFileFoundCallbackFunction = nil )","Searches for files on the local system.") ADD_TO_API("File.GetAttributes","( sFilename )","Returns a table containing all of the attributes for a specific file.") ADD_TO_API("File.GetCRC","( sFilename )","Returns the CRC value for a specific file.") ADD_TO_API("File.GetDefaultViewer","( sFileExtension )","Returns the path to the default viewer application associated with a specific file extension.") ADD_TO_API("File.GetShortName","( sFilename )","Gets the \"8.3\" version of the full path and filename of a file.") ADD_TO_API("File.GetSize","( sFilename )","Returns the size of a file in bytes.") ADD_TO_API("File.GetVersionInfo","( sFilename )","Returns a table containing the all of the version information for a specific file.") ADD_TO_API("File.Install","( sFilename, sDestination, nOverwrite = 0, bCreateBackup = false, bSharedSystem = false, fProgressCallbackFunction = nil, fOverwriteCallbackFunction = nil )","Installs a file onto the user's system.") ADD_TO_API("File.IsInUse","( sFilename )","Determines if a specific file is in use. If a file is in use it cannot be copied over or deleted.") ADD_TO_API("File.Move","( sSource, sDestination, bRecurse = true, bOverwrite = true, bAbortOnFail = false, bIncludeHiddenFiles = false, fCallbackFunction = nil )","Moves a file to another location.") ADD_TO_API("File.MoveOnReboot","( sSource, sDestination )","Moves a file from one location to another on the next system reboot.") ADD_TO_API("File.Open","( sFilename, sWorkingFolder = \"\", nWindowMode = SW_SHOWNORMAL )","Opens a document file with its default viewer application.") ADD_TO_API("File.OpenEmail","( sEmailAddress, nWindowMode = SW_SHOWNORMAL )","Opens the user's default email client with an email address in the \"To\" field.") ADD_TO_API("File.OpenURL","( sURL, nWindowMode = SW_SHOWNORMAL )","Opens a local file or web-based URL in the user's default Web browser.") ADD_TO_API("File.Print","( sFilename )","Prints a document on the user's default printer.") ADD_TO_API("File.Rename","( sOldName, sNewName )","Renames a file on the user's system.") ADD_TO_API("File.Run","( sFilename, sArgs = \"\", sWorkingFolder = \"\", nWindowMode = SW_SHOWNORMAL, bWaitForReturn = false )","Runs an executable.") ADD_TO_API("File.RunAs","( sFilename, sArgs = \"\", sWorkingFolder = \"\", nWindowMode = SW_SHOWNORMAL, bWaitForReturn = false, sUserName = \"\", sPassword = \"\", sDomain = \"\", nLogonFlag = 0, tCreationOptions = nil, tExtendedErrorInfo = nil )","Runs an executable as a different user.") ADD_TO_API("File.RunOnReboot","( sFilename, sArgs = \"\" )","Runs an executable the next time the system is rebooted.") ADD_TO_API("File.SetAttributes","( sFilename, tAttributes )","Sets the attributes of a file.") ADD_TO_API("Flash.GetFilename","( sObjectName )","Returns the path to the file that is currently loaded in a Flash object.") ADD_TO_API("Flash.GetFlashVariable","( sObjectName, sFlashVariable )","Returns the value of a Flash variable in a Flash object's actionscript code.") ADD_TO_API("Flash.GetPos","( sObjectName )","Returns the X and Y page coordinates of a Flash object in pixels.") ADD_TO_API("Flash.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Flash.GetSize","( sObjectName )","Returns the pixel dimensions of a Flash object.") ADD_TO_API("Flash.GetState","( sObjectName )","Returns the current state of a Flash object.") ADD_TO_API("Flash.IsEnabled","( sObjectName )","Returns true if a specific Flash object is enabled, or false if it's disabled.") ADD_TO_API("Flash.IsVisible","( sObjectName )","Returns true if a specific Flash object is visible, and false if it isn't.") ADD_TO_API("Flash.Load","( sObjectName, sFilename, bPlayAutomatic = false, bLoop = false )","Loads a Flash file into a Flash object.") ADD_TO_API("Flash.Play","( sObjectName )","Plays the Flash file currently loaded in a Flash object.") ADD_TO_API("Flash.Seek","( sObjectName, nSeekType, nSeekFrame = 0 )","Seeks to a position in a Flash file in a Flash object.") ADD_TO_API("Flash.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a Flash object.") ADD_TO_API("Flash.SetFlashVariable","( sObjectName, sFlashVariable, sValue )","Sets the value of a Flash variable in a Flash object's actionscript code.") ADD_TO_API("Flash.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a Flash object relative to the page.") ADD_TO_API("Flash.SetProperties","( sObjectName, tProperties )","Sets the properties of a flash object on the page.") ADD_TO_API("Flash.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a Flash object.") ADD_TO_API("Flash.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a Flash object.") ADD_TO_API("Flash.Stop","( sObjectName )","Stops playing the Flash file in a Flash object.") ADD_TO_API("Folder.Create","( sFolder )","Creates a new folder on the user's system.") ADD_TO_API("Folder.Delete","( sFolder )","Deletes a folder from the user's system.") ADD_TO_API("Folder.DeleteTree","( sFolderName, fCallbackFunction = nil )","Deletes the specified folder, sub folders, and all files contained within.") ADD_TO_API("Folder.SetCurrent","( sFolder )","Sets the application's \"current folder\" (working directory)",". ") ADD_TO_API("Folder.GetCurrent","( )","Returns the \"current folder\" (working directory) for the application. ") ADD_TO_API("Folder.DoesExist","( sFolder )","Returns true if a specific folder exists and false if it doesn't.") ADD_TO_API("Folder.Find","( sStartFolder, sFolder, bRecurse = false, fCallbackFunction = nil )","Searches for folders on the local system.") ADD_TO_API("Folder.Rename","( sOldName, sNewName )","Renames a folder on the user's system.") ADD_TO_API("Grid.AutoSize","( sObjectName, nResizeMode = GVS_DEFAULT, bRedraw = true )","Auto sizes all rows and column according to the ResizeMode setting.") ADD_TO_API("Grid.AutoSizeColumn","( sObjectName, nColumn, nResizeMode = GVS_DEFAULT, bResetScroll = true, bRedraw = true )","Auto sizes the column according to the ResizeMode setting. If ResetScroll is TRUE then the scroll bars will be reset.") ADD_TO_API("Grid.AutoSizeColumns","( sObjectName, nResizeMode = GVS_DEFAULT, bRedraw = true )","Auto sizes all columns according to the ResizeMode setting. If ResetScroll is TRUE then the scroll bars will be reset.") ADD_TO_API("Grid.AutoSizeRow","( sObjectName, nRow, bResetScroll = true, bRedraw = true )","Auto sizes the row to the size of the largest item. If ResetScroll is TRUE then the scroll bars will be reset.") ADD_TO_API("Grid.AutoSizeRows","( sObjectName, bRedraw = true )","Auto size all rows in the grid.") ADD_TO_API("Grid.DeleteAllItems","( sObjectName )","Deletes all cells from the grid.") ADD_TO_API("Grid.DeleteColumn","( sObjectName, nColumn, bRedraw = true )","Deletes a column.") ADD_TO_API("Grid.DeleteNonFixedRows","( sObjectName, bRedraw = true )","Deletes all non-fixed rows from the grid.") ADD_TO_API("Grid.DeleteRow","( sObjectName, nRow, bRedraw = true )","Deletes a row.") ADD_TO_API("Grid.EditCopy","( sObjectName )","Copies contents of selected cells to clipboard. (Ctrl-C) ") ADD_TO_API("Grid.EditCut","( sObjectName )","Cuts contents of selected cells to clipboard and deletes the contents of the selected cells. (Ctrl-X) ") ADD_TO_API("Grid.EditPaste","( sObjectName )","Pastes the contents of the clipboard to the grid. (Ctrl-V) ") ADD_TO_API("Grid.EnsureVisible","( sObjectName, nRow, nColumn )","Ensures that the specified cell is visible.") ADD_TO_API("Grid.ExpandColumnsToFit","( sObjectName, bExpandFixed = true, bRedraw = true )","Expands columns to fit the grid area.") ADD_TO_API("Grid.ExpandLastColumn","( sObjectName, bRedraw = true )","Expands the last column width to fill the grid area.") ADD_TO_API("Grid.ExpandRowsToFit","( sObjectName, bExpandFixed = true, bRedraw = true )","Expands rows to fit the grid area.") ADD_TO_API("Grid.ExpandToFit","( sObjectName, bExpandFixed = true, bRedraw = true )","Expands the rows and columns to fit the grid area.") ADD_TO_API("Grid.GetCellColors","( sObjectName, nRow, nColumn )","Gets the background and text colors of a cell as a table with indexes Background and Text.") ADD_TO_API("Grid.GetCellText","( sObjectName, nRow, nCol )","Gets the text of a grid cell.") ADD_TO_API("Grid.GetColumnCount","( sObjectName )","Gets the number of columns in the grid.") ADD_TO_API("Grid.GetColumnHiding","( sObjectName )","Gets whether or not columns can be contracted to 0 width via mouse.") ADD_TO_API("Grid.GetColumnResize","( sObjectName )","Gets whether columns are resizable or not.") ADD_TO_API("Grid.GetColumnWidth","( sObjectName, nColumn )","Gets the width (in pixels) of a column in the grid.") ADD_TO_API("Grid.GetDragAndDrop","( sObjectName )","Get whether drag and drop is allowed.") ADD_TO_API("Grid.GetEditable","( sObjectName )","Gets whether the grid is editable.") ADD_TO_API("Grid.GetFixedColumnCount","( sObjectName )","Gets the number of fixed columns in the grid.") ADD_TO_API("Grid.GetFixedColumnSelection","( sObjectName )","Gets whether or not clicking on a fixed column selects the cells underneath.") ADD_TO_API("Grid.GetFixedRowCount","( sObjectName )","Gets the number of fixed rows in the grid.") ADD_TO_API("Grid.GetFixedRowSelection","( sObjectName )","Get whether or not clicking on a fixed row selects the cells next to it.") ADD_TO_API("Grid.GetFocusCell","( sObjectName )","Gets the cell that has focus. Returns it as a table with indexes Row and Column.") ADD_TO_API("Grid.GetFrameFocusCell","( sObjectName )","Gets whether or not the focus cell is highlighted with a framed border.") ADD_TO_API("Grid.GetGridColors","( sObjectName )","Gets the background, grid line, and tooltip colors of the grid as a table with indexes GridBackground, GridLines, TooltipBackground and TooltipText.") ADD_TO_API("Grid.GetGridLines","( sObjectName )","Gets whether the grid lines are displayed. Returns 0 for none, 1 for horizontal only, 2 for vertical only and 3 for both.") ADD_TO_API("Grid.GetHeaderSort","( sObjectName )","Gets whether or not rows are sorted on column header clicks in list mode.") ADD_TO_API("Grid.GetListMode","( sObjectName )","Gets whether the grid is in list mode.") ADD_TO_API("Grid.GetModified","( sObjectName, nRow = -1, nColumn = -1 )","Gets the modified flag for a cell, or if no cell, it returns the status for the entire grid.") ADD_TO_API("Grid.GetNextItem","( sObjectName, nRow, nColumn, nSearchType, nSearchDirection )","Searches for a cell that has the specified properties and that bears the specified relationship to a given item.") ADD_TO_API("Grid.GetPos","( sObjectName )","Returns the X and Y page coordinates of a grid object in pixels.") ADD_TO_API("Grid.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Grid.GetRowCount","( sObjectName )","Gets the number of rows in the grid.") ADD_TO_API("Grid.GetRowHeight","( sObjectName, nRow )","Gets the height (in pixels) of a row in the grid.") ADD_TO_API("Grid.GetRowHiding","( sObjectName )","Gets whether or not rows can be contracted to 0 height via mouse.") ADD_TO_API("Grid.GetRowResize","( sObjectName )","Gets whether or not rows can be resized.") ADD_TO_API("Grid.GetSelectable","( sObjectName )","Gets whether the grid is selectable.") ADD_TO_API("Grid.GetSelectedCount","( sObjectName )","Gets the number of cells selected.") ADD_TO_API("Grid.GetSingleColumnSelection","( sObjectName )","Get whether or not the grid is in single column selection mode.") ADD_TO_API("Grid.GetSingleRowSelection","( sObjectName )","Get whether or not the grid is in single row selection mode.") ADD_TO_API("Grid.GetSize","( sObjectName )","Returns the pixel dimensions of a grid object.") ADD_TO_API("Grid.GetSortAscending","( sObjectName )","Gets whether the current sort column is sorted ascending.") ADD_TO_API("Grid.GetSortColumn","( sObjectName )","Gets the index of the currently sorted column. Returns -1 if there is no currently sorted column.") ADD_TO_API("Grid.GetTabEnabled","( sObjectName )","Gets whether or not the TAB key is used to move the cell selection.") ADD_TO_API("Grid.GetToolTipsEnabled","( sObjectName )","Gets whether tooltips are displayed.") ADD_TO_API("Grid.GetTrackFocusCell","( sObjectName )","Gets whether or not the fixed cells on the same row/column as the current focus cell are highlighted with a sunken border.") ADD_TO_API("Grid.GetUnhideColumn","( sObjectName )","Gets whether or not 0 width columns can be resized via mouse.") ADD_TO_API("Grid.GetUnhideRow","( sObjectName )","Gets whether or not 0 height rows can be resized via mouse.") ADD_TO_API("Grid.InsertColumn","( sObjectName, nInsertPosition, bRedraw = true )","Inserts a column into the grid. Returns the index of the inserted column.") ADD_TO_API("Grid.InsertRow","( sObjectName, nInsertPosition, bRedraw = true )","Inserts a row into the grid. Returns the index of the inserted row.") ADD_TO_API("Grid.IsCellEditable","( sObjectName, nRow, nColumn )","Whether the cell is a editable cell") ADD_TO_API("Grid.IsCellValid","( sObjectName, nRow, nColumn )","Determines whether a cell at a given row and column is valid.") ADD_TO_API("Grid.IsCellFixed","( sObjectName, nRow, nCol )","Whether the cell is a fixed cell") ADD_TO_API("Grid.IsCellSelected","( sObjectName, nRow, nColumn )","Whether the cell is a selected") ADD_TO_API("Grid.IsCellVisible","( sObjectName, nRow, nColumn )","Whether the cell is visible or not.") ADD_TO_API("Grid.IsEnabled","( sObjectName )","Returns true if a specific grid object is enabled, or false if it's disabled.") ADD_TO_API("Grid.IsVisible","( sObjectName )","Returns true if a specific grid object is visible, and false if it isn't.") ADD_TO_API("Grid.LoadFromFile","( sObjectName, sFullPath, sSeparatorCharacter = \",\", bAutoSize = true )","Loads items from a file into a grid object using a specified delimiter.") ADD_TO_API("Grid.MakeColorRGB","( nRed, nGreen, nBlue )","Makes a color value from red, green and blue values.") ADD_TO_API("Grid.Print","( sObjectName, bWYSIWYG = false, bShadedPrintOut = true, tMarginInfo )","Prints the contents of the grid.") ADD_TO_API("Grid.RedrawCell","( sObjectName, nRow, nColumn )","redraw the specified cell.") ADD_TO_API("Grid.RedrawColumn","( sObjectName, nColumn )","redraw the specified column.") ADD_TO_API("Grid.RedrawRow","( sObjectName, nRow )","redraw the specified row.") ADD_TO_API("Grid.Refresh","( sObjectName )","Refreshes","(redraws)","the grid.") ADD_TO_API("Grid.SaveToFile","( sObjectName, sFullPath, sSeparatorCharacter = \",\" )","Saves items from a grid object to a file using a specified delimiter.") ADD_TO_API("Grid.SelectAll","( sObjectName )","This routine selects all cells in the grid. (Ctrl-A) ") ADD_TO_API("Grid.SetCellColors","( sObjectName, nRow, nColumn, tColors, bRedraw = true )","Sets the background, and text colors of a cell.") ADD_TO_API("Grid.SetCellFont","( sObjectName, nRow, nColumn, tFontData = nil, bRedraw = true )","Sets the font of a cell.") ADD_TO_API("Grid.SetCellText","( sObjectName, nRow, nColumn, sText, bRedraw = true )","Sets the text of a grid cell.") ADD_TO_API("Grid.SetColumnCount","( sObjectName, nColumnCount )","Sets the number of columns in the grid.") ADD_TO_API("Grid.SetColumnHiding","( sObjectName, bAllowHiding )","Sets whether or columns can be contracted to 0 width via mouse.") ADD_TO_API("Grid.SetColumnResize","( sObjectName, bResizable )","Sets whether a column is resizable.") ADD_TO_API("Grid.SetColumnWidth","( sObjectName, nColumn, nWidth, bRedraw = true )","Sets the width","(in pixels)","of a column in the grid.") ADD_TO_API("Grid.SetDragAndDrop","( sObjectName, bEnable )","Sets whether drag and drop is enabled.") ADD_TO_API("Grid.SetEditable","( sObjectName, bEditable )","Sets if the grid is editable.") ADD_TO_API("Grid.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a grid object.") ADD_TO_API("Grid.SetFixedColumnCount","( sObjectName, nColumnCount )","Sets the number of fixed columns in the grid.") ADD_TO_API("Grid.SetFixedColumnSelection","( sObjectName, bEnable )","Set whether or not clicking on a fixed column selects the cells underneath.") ADD_TO_API("Grid.SetFixedRowCount","( sObjectName, nRowCount )","Sets the number of fixed rows in the grid.") ADD_TO_API("Grid.SetFixedRowSelection","( sObjectName, bEnable )","Set whether or not clicking on a fixed row selects the cells next to it.") ADD_TO_API("Grid.SetFocusCell","( sObjectName, nRow, nColumn )","Sets the focus to a cell.") ADD_TO_API("Grid.SetFrameFocusCell","( sObjectName, bEnable, bRedraw = true )","Sets whether or not the cell with the focus is highlighted with a framed border.") ADD_TO_API("Grid.SetGridColors","( sObjectName, tColors )","Sets the background, grid line, and tooltip colors.") ADD_TO_API("Grid.SetGridLines","( sObjectName, nGridLines )","Sets the appearance of grid lines.") ADD_TO_API("Grid.SetHeaderSort","( sObjectName, bSortOnClick )","Sets whether or not rows are sorted on column header clicks in list mode.") ADD_TO_API("Grid.SetListMode","( sObjectName, bListMode )","Sets the grid into","(or out of)","list mode. When the grid is in list mode, full row selection is enabled.") ADD_TO_API("Grid.SetModified","( sObjectName, bModified = true, nRow, nColumn )","Sets the modified flag for a cell. If no row and column are -1, then change affects the entire grid.") ADD_TO_API("Grid.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a grid object relative to the page.") ADD_TO_API("Grid.SetProperties","( sObjectName, tProperties )","Sets the properties of a grid object on the page.") ADD_TO_API("Grid.SetRedraw","( sObjectName, bRedraw = true, bRedrawScrollbars = true )","Stops/starts redraws on things like changing the number of rows and columns and autosizing, but not for user-intervention such as resizes.") ADD_TO_API("Grid.SetRowCount","( sObjectName, nRowCount )","Sets the number of rows in the grid.") ADD_TO_API("Grid.SetRowHeight","( sObjectName, nRow, nHeight, bRedraw = true )","Sets the height (in pixels) of a row in the grid.") ADD_TO_API("Grid.SetRowHiding","( sObjectName, bAllowHiding )","Sets whether or rows can be contracted to 0 width via mouse.") ADD_TO_API("Grid.SetRowResize","( sObjectName, bResizable )","Sets whether or not rows can be resized.") ADD_TO_API("Grid.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a grid object.") ADD_TO_API("Grid.SetTabEnabled","( sObjectName, bUseTabKey )","Sets whether or not the TAB key is used to move the cell selection.") ADD_TO_API("Grid.SetSelectable","( sObjectName, bSelectable )","Sets whether the grid is selectable.") ADD_TO_API("Grid.SetSelectedRange","( sObjectName, nMinRow, nMinColumn, nMaxRow, nMaxColumn, bSelectCells = true, bRedraw = true )","Sets the range of selected cells.") ADD_TO_API("Grid.SetSingleColumnSelection","( sObjectName, bSingleColumnSelection )","Sets the grid into (or out of) single column selection mode. This mode is only effective when in list mode.") ADD_TO_API("Grid.SetSingleRowSelection","( sObjectName, bSingleRowSelection )","When turned on you can only select one row in the grid at a time. This mode is only effective when in list mode.") ADD_TO_API("Grid.SetSortAscending","( sObjectName, bAscending )","Sets whether the current sort column is sorted ascending.") ADD_TO_API("Grid.SetToolTipsEnabled","( sObjectName, bTooltips )","Sets whether the tooltips are displayed.") ADD_TO_API("Grid.SetTrackFocusCell","( sObjectName, bTrackFocus, bRedraw = true )","Sets whether or not the fixed cells on the same row/column as the current focus cell are highlighted with a sunken border.") ADD_TO_API("Grid.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a grid object.") ADD_TO_API("Grid.SortTextItems","( sObjectName, nColumn, bAscending, bRedraw )","Sorts the grid on the given column based on cell text.") ADD_TO_API("Grid.SetUnhideColumn","( sObjectName, bAllowUnhide )","Sets whether or not hidden","(0-width)","columns can be unhidden by the user resizing the column.") ADD_TO_API("Grid.SetUnhideRow","( sObjectName, bAllowUnhide )","Sets whether or not hidden","(0-width)","rows can be unhidden by the user resizing the row.") ADD_TO_API("Hotspot.GetPos","( sObjectName )","Returns the X and Y page coordinates of a hotspot object in pixels.") ADD_TO_API("Hotspot.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Hotspot.GetSize","( sObjectName )","Returns the pixel dimensions of a hotspot object.") ADD_TO_API("Hotspot.IsEnabled","( sObjectName )","Returns true if a specific hotspot object is enabled, or false if it's disabled.") ADD_TO_API("Hotspot.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a hotspot object relative to the page.") ADD_TO_API("Hotspot.SetProperties","( sObjectName, tProperties )","Sets the properties of a hotspot object on the page.") ADD_TO_API("Hotspot.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a hotspot object.") ADD_TO_API("Hotspot.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a hotspot object.") ADD_TO_API("HTTP.Download","( sURL, sFilename, nMode = MODE_BINARY, nTimeout = 20, nPort = 80, tAuthData = nil, tProxyData = nil, fCallbackFunction = nil )","Downloads a file from an Internet Web site.") ADD_TO_API("HTTP.DownloadSecure","( sURL, sFilename, nMode = MODE_BINARY, nTimeout = 20, nPort = 443, tAuthData = nil, tProxyData = nil, fCallbackFunction = nil )","Downloads a file from an Internet Web site using HTTPS (secure hypertext transfer protocol) .") ADD_TO_API("HTTP.GetConnectionState","( )","Retrieves the user's Internet connection state.") ADD_TO_API("HTTP.GetFileSize","( sURL, nMode = MODE_BINARY, nTimeout = 20, nPort = 80, tAuthData = nil, tProxyData = nil, fCallbackFunction = nil )","Gets the size (in bytes) of a file located on an Internet Web site.") ADD_TO_API("HTTP.GetFileSizeSecure","( sURL, nMode = MODE_BINARY, nTimeout = 20, nPort = 443, tAuthData = nil, tProxyData = nil, fCallbackFunction = nil )","Gets the size of a file (in bytes) located on an Internet Web site using HTTPS (secure hypertext transfer protocol).") ADD_TO_API("HTTP.GetHTTPErrorInfo","( )","Retrieves HTTP specific information about the last error that occurred.") ADD_TO_API("HTTP.Submit","( sURL, tValues, nMethod = SUBMITWEB_GET, nTimeout = 20, nPort = 80, tAuthData = nil, tProxyData = nil )","Submits data to a web site and returns the response from the server.") ADD_TO_API("HTTP.SubmitSecure","( sURL, tValues, nMethod = SUBMITWEB_GET, nTimeout = 20, nPort = 443, tAuthData = nil, tProxyData = nil )","Submits data to an Internet Web site using HTTPS (secure hypertext transfer protocol) and returns the response from the server.") ADD_TO_API("HTTP.TestConnection","( sURL, nTimeout = 20, nPort = 80, tAuthData = nil, tProxyData = nil )","Check the users Internet connection.") ADD_TO_API("Image.GetFileInfo","( sFilename )","Returns image specific information from the specified image file.") ADD_TO_API("Image.GetFilename","( sObjectName )","Returns the full path to the image file currently displayed in an image object.") ADD_TO_API("Image.GetOpacity","( sObjectName )","Returns the opacity of an image object. (0..100) ") ADD_TO_API("Image.GetPos","( sObjectName )","Returns the X and Y page coordinates of an image object in pixels.") ADD_TO_API("Image.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Image.GetSize","( sObjectName )","Returns the pixel dimensions of an image object.") ADD_TO_API("Image.IsEnabled","( sObjectName )","Returns true if a specific image object is enabled, or false if it's disabled.") ADD_TO_API("Image.IsVisible","( sObjectName )","Returns true if a specific image object is visible, and false if it isn't.") ADD_TO_API("Image.Load","( sObjectName, sFilename )","Loads an image file into an image object.") ADD_TO_API("Image.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of an image object.") ADD_TO_API("Image.SetOpacity","( sObjectName, nOpacity = 100 )","Sets the opacity of an image object. (0..100) ") ADD_TO_API("Image.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of an image object relative to the page.") ADD_TO_API("Image.SetProperties","( sObjectName, tProperties )","Sets the properties of an image object on the page.") ADD_TO_API("Image.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of an image object.") ADD_TO_API("Image.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of an image object.") ADD_TO_API("INIFile.DeleteSection","( sFilename, sSection )","Deletes a \"section\" in a specified INI file.") ADD_TO_API("INIFile.DeleteValue","( sFilename, sSection, sValue )","Deletes a \"value\" in a specified INI file.") ADD_TO_API("INIFile.GetSectionNames","( sFilename )","Returns all of the \"section\" names within an INI file.") ADD_TO_API("INIFile.GetValue","( sFilename, sSection, sValue )","Returns the data associated with a \"value\" in a specified INI file.") ADD_TO_API("INIFile.GetValueNames","( sFilename, sSection )","Returns all of the \"value\" names within in a section of an INI file.") ADD_TO_API("INIFile.SetValue","( sFilename, sSection, sValue, sData )","Sets the data for an INI file value.") ADD_TO_API("Input.CanUndo","( sObjectName )","Returns whether the input field can undo.") ADD_TO_API("Input.Copy","( sObjectName )","Copies any selected text in a specific input object to the clipboard.") ADD_TO_API("Input.Cut","( sObjectName )","Cuts any selected text in a specific input object to the clipboard.") ADD_TO_API("Input.Delete","( sObjectName )","Deletes any selected text in a specific input object.") ADD_TO_API("Input.GetPos","( sObjectName )","Returns the X and Y page coordinates of an input object in pixels.") ADD_TO_API("Input.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Input.GetSelection","( sObjectName )","Returns the start and end positions of text that is selected in an input object.") ADD_TO_API("Input.GetText","( sObjectName )","Returns the text displayed in an input object.") ADD_TO_API("Input.GetSize","( sObjectName )","Returns the pixel dimensions of an input object.") ADD_TO_API("Input.IsEnabled","( sObjectName )","Returns true if a specific input object is enabled, or false if it's disabled.") ADD_TO_API("Input.IsVisible","( sObjectName )","Returns true if a specific input object is visible, and false if it isn't.") ADD_TO_API("Input.Paste","( sObjectName )","Pastes text from the clipboard into an input object at the current insertion point.") ADD_TO_API("Input.ScrollLines","( sObjectName, nLines )","Scrolls the text in an input object with multiline enabled.") ADD_TO_API("Input.ScrollToLine","( sObjectName, nLine )","Scrolls the text to a specific line in an input object with multiline enabled.") ADD_TO_API("Input.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of an input object.") ADD_TO_API("Input.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of an input object relative to the page.") ADD_TO_API("Input.SetProperties","( sObjectName, tProperties )","Sets the properties of an input object on the page.") ADD_TO_API("Input.SetSelection","( sObjectName, nStart, nEnd )","Selects a range of text in an input object. This is just like highlighting the text with the mouse.") ADD_TO_API("Input.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a input object.") ADD_TO_API("Input.SetText","( sObjectName, sText )","Sets the text displayed in a input object.") ADD_TO_API("Input.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a input object.") ADD_TO_API("Input.Undo","( sObjectName )","Undoes the last edit.") ADD_TO_API("Label.GetPos","( sObjectName )","Returns the X and Y page coordinates of a label object in pixels. This coordinate refers to the upper left hand corner of the object's bounding box relative to the page.") ADD_TO_API("Label.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Label.GetSize","( sObjectName )","Returns the pixel dimensions of a label object.") ADD_TO_API("Label.GetText","( sObjectName )","Gets the text that is currently displayed in a label object.") ADD_TO_API("Label.IsEnabled","( sObjectName )","Returns true if a specific label object is enabled, or false if it's disabled.") ADD_TO_API("Label.IsVisible","( sObjectName )","Returns true if a specific label object is visible, and false if it isn't.") ADD_TO_API("Label.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a label object.") ADD_TO_API("Label.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of label object relative to the page.") ADD_TO_API("Label.SetProperties","( sObjectName, tProperties )","Sets the properties of a label object on the page.") ADD_TO_API("Label.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a label object.") ADD_TO_API("Label.SetText","( sObjectName, sText )","Sets the text displayed in a label object.") ADD_TO_API("Label.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a label object.") ADD_TO_API("ListBox.AddItem","( sObjectName, sText, sData = \"\" )","Adds an item to a listbox object.") ADD_TO_API("ListBox.DeleteItem","( sObjectName, nIndex )","Removes an item from a listbox object.") ADD_TO_API("ListBox.DeselectItem","( sObjectName, nIndex )","Deselects a currently selected item in a listbox object.") ADD_TO_API("ListBox.FindItem","( sObjectName, nStartAfter, nSearchType, sSearchText )","Searches through the items in a listbox object for a specific string and returns the index (line number) where it was found.") ADD_TO_API("ListBox.GetCount","( sObjectName )","Returns the number of items in a specific listbox object.") ADD_TO_API("ListBox.GetItemData","( sObjectName, nIndex )","Returns the item data associated to a specific item in a listbox object.") ADD_TO_API("ListBox.GetItemText","( sObjectName, nIndex )","Returns the item text associated with a specific item in a listbox object.") ADD_TO_API("ListBox.GetPos","( sObjectName )","Returns the X and Y page coordinates of a listbox object in pixels.") ADD_TO_API("ListBox.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("ListBox.GetSelected","( sObjectName )","Returns a table containing the indexes","(line numbers)","of all of the selected items in a specific listbox object.") ADD_TO_API("ListBox.GetSelectedCount","( sObjectName )","Returns the number of currently selected items in a specific listbox object.") ADD_TO_API("ListBox.GetSize","( sObjectName )","Returns the pixel dimensions of a listbox object.") ADD_TO_API("ListBox.InsertItem","( sObjectName, nIndex, sText, sData = \"\" )","Inserts a new item into a listbox object at a specific index.") ADD_TO_API("ListBox.IsEnabled","( sObjectName )","Returns true if a specific listbox object is enabled, or false if it's disabled.") ADD_TO_API("ListBox.IsItemSelected","( sObjectName, nIndex )","Returns true if a specific listbox item is selected, or false if it's not selected.") ADD_TO_API("ListBox.IsVisible","( sObjectName )","Returns true if a specific listbox object is visible, and false if it isn't.") ADD_TO_API("ListBox.SelectItem","( sObjectName, nIndex )","Selects an item in a specific listbox object.") ADD_TO_API("ListBox.SetItemData","( sObjectName, nIndex, sData )","Sets the text of a listbox item's associated data.") ADD_TO_API("ListBox.SetItemText","( sObjectName, nIndex, sText )","Sets the item text for a specific item in a listbox object.") ADD_TO_API("ListBox.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a listbox object relative to the page.") ADD_TO_API("ListBox.SetProperties","( sObjectName, tProperties )","Sets the properties of a listbox object on the page.") ADD_TO_API("ListBox.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a listbox object.") ADD_TO_API("ListBox.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a listbox object.") ADD_TO_API("ListBox.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a listbox object.") ADD_TO_API("ListBox.SetUpdate","( sObjectName, bEnabled = true )","Sets the enabled/disabled update state of a listbox object.") ADD_TO_API("Math.Abs","( nNum )","Returns the absolute, positive value of a given number.") ADD_TO_API("Math.Acos","( nNum )","Returns the arccosine of a number (in radians) .") ADD_TO_API("Math.Asin","( nNum )","Returns the arcsine of a number (in radians) .") ADD_TO_API("Math.Atan","( nNum )","Returns the arctangent of a number (in radians) .") ADD_TO_API("Math.Atan2","( nNum1, nNum2 )","Returns the arctangent of Num1/Num2 (in radians) .") ADD_TO_API("Math.Ceil","( nNum )","Returns the ceiling of a number.") ADD_TO_API("Math.Cos","( nNum )","Returns the cosine (cos) of a number.") ADD_TO_API("Math.Deg","( nRadian )","Converts a number from radians to degrees.") ADD_TO_API("Math.Exp","( nNum )","Returns the exponential value of a number.") ADD_TO_API("Math.Floor","( nNum )","Returns the floor of a number.") ADD_TO_API("Math.Frexp","( nNum )","Returns a table containing the mantissa (m) and exponent (n) of a number (x) in the equation x = m * 2^n.") ADD_TO_API("Math.HexColorToNumber","( sHexValue )","Returns a decimal color value (for use with SetProperties, etc.) given a hexadecimal color value.") ADD_TO_API("Math.HexToNumber","( sHexValue )","Returns a decimal value given a hexadecimal value.") ADD_TO_API("Math.Ldexp","( nMantissa, nExponent )","Returns a number (x) , given a mantissa (m) and an exponent (n) in the equation x = m * 2^n.") ADD_TO_API("Math.Log","( nNum )","Returns the logarithm of a number.") ADD_TO_API("Math.Log10","( nNum )","Returns the base-10 logarithm of a number.") ADD_TO_API("Math.Max","( nNum1, nNum2 )","Compares two numbers and returns the largest.") ADD_TO_API("Math.Min","( nNum1, nNum2 )","Compares two numbers and returns the smallest.") ADD_TO_API("Math.Mod","( nNum1, nNum2 )","Returns the modulus of Num1/Num2.") ADD_TO_API("Math.Pow","( nBase, nExponent )","Returns the calcualtion of Base raised to the power of Exponent.") ADD_TO_API("Math.Rad","( nDegree )","Converts a number from degrees to radians.") ADD_TO_API("Math.Random","( nRand1 = nil, nRand2 = nil )","Generates a random number.") ADD_TO_API("Math.RandomSeed","( nSeed )","Seeds the random number generator used by Math.Random.") ADD_TO_API("Math.RGBToNumber","( nRed, nGreen, nBlue )","Returns a decimal color value (for use with SetProperties, etc.) given red, green and blue values.") ADD_TO_API("Math.Round","( nNum, nDecimalPlaces )","Returns the \"rounded\" version of a given number to the specified number of decimal places.") ADD_TO_API("Math.Sin","( nNum )","Returns the sine of a radian value.") ADD_TO_API("Math.Sqrt","( nNum )","Returns the square root of a number.") ADD_TO_API("Math.Tan","( nNum )","Returns the tangent of a radian value.") ADD_TO_API("MSI.ApplyPatch","( sPatchPath, sInstallPackage, nInstallType, sCommandLine = \"\" )","Calls the MsiApplyPatch function to invoke an installation and set the PATCH property to the path of the patch package for each product listed by the patch package as eligible to receive it.") ADD_TO_API("MSI.CloseHandle","( nMSIHandle )","Calls the MsiCloseHandle function to close an open installation handle.") ADD_TO_API("MSI.ConfigureFeature","( sProductCode, sFeatureID, nInstallState )","Calls the MsiConfigureFeature function to configure the installed state for a product feature.") ADD_TO_API("MSI.ConfigureProduct","( sProductCode, nInstallLevel, nInstallState )","Calls the MsiConfigureProduct function to install or uninstall a product.") ADD_TO_API("MSI.ConfigureProductEx","( sProductCode, nInstallLevel, nInstallState, sCommandLine = \"\" )","Calls the MsiConfigureProduct function to install or uninstall a product.") ADD_TO_API("MSI.EnableLog","( nLogMode, sLogFile, bAppend = false, bFlushEachLine = false )","Calls the MsiEnableLog function to set the log mode for all subsequent installations that are initiated in the calling process.") ADD_TO_API("MSI.EnumClients","( sComponentGUID )","Calls the MsiEnumClients function to get an enumerated table of clients for a given installed component.") ADD_TO_API("MSI.EnumComponents","( )","Calls the MsiEnumComponents function to get an enumerated table of the installed components for all products.") ADD_TO_API("MSI.EnumFeatures","( sProductCode )","Calls the MsiEnumFeatures function to get an enumerated table of the published features for a given product.") ADD_TO_API("MSI.EnumPatches","( sProductCode )","Calls the MsiEnumPatches function to enumerate all of the patches that have been applied to a product, returning the patch code GUIDs for each patch that has been applied, and a list of transforms from each patch that apply to the product.") ADD_TO_API("MSI.EnumProducts","( )","Calls the MsiEnumProducts function to get an enumerated table of all the products currently advertised or installed. Both per-user and per-machine installations and advertisements are enumerated.") ADD_TO_API("MSI.EnumRelatedProducts","( sUpgradeCode )","Calls the MsiEnumRelatedProducts function to get an enumerated table of products with a specified upgrade code. This function lists the currently installed and advertised products that have the specified UpgradeCode property in their Property table.") ADD_TO_API("MSI.GetComponentPath","( sProductCode, sComponentGUID )","Calls the MsiGetComponentPath function to get the full path to an installed component. If the key path for the component is a registry key then the registry key is returned.") ADD_TO_API("MSI.GetFeatureInfo","( nMSIHandle, sFeatureID, nAttributes )","Calls the MsiGetFeatureInfo function to get descriptive information for a feature.") ADD_TO_API("MSI.GetFeatureUsage","( sProductCode, sFeatureID )","Calls the MsiGetFeatureUsage function to get the usage metrics for a product feature.") ADD_TO_API("MSI.GetFileVersion","( sFilePath )","Calls the MsiGetFileVersion function to get the version and language strings in the format that the installer expects to find them in the database.") ADD_TO_API("MSI.GetMSIVersion","( )","Gets the version of the Windows Installer that is installed on the user's system.") ADD_TO_API("MSI.GetPatchInfo","( sPatchCode, sAttribute )","Calls the MsiGetPatchInfo function to get information about a patch.") ADD_TO_API("MSI.GetProductCode","( sComponentGUID )","Calls the MsiGetProductCode function to get the product code of an application by using the component GUID of an installed or advertised component of the application.") ADD_TO_API("MSI.GetProductInfo","( sProductCode, sProperty )","Calls the MsiGetProductInfo function to get product information for published and installed products given a specified property.") ADD_TO_API("MSI.GetProductProperty","( nMSIHandle, sProperty )","Calls the MsiGetProductProperty function to retrieve a product property. These are the properties in the product database.") ADD_TO_API("MSI.GetShortcutTarget","( sShortcutTarget )","Calls the MsiGetShortcutTarget function to examine a shortcut and get its product, feature name, and component if available.") ADD_TO_API("MSI.GetUserInfo","( sProductCode )","Calls the MsiGetUserInfo function to get the registered user information for an installed product.") ADD_TO_API("MSI.InstallMissingComponent","( sProductCode, sComponentGUID, nInstallState )","Calls the MsiInstallMissingComponent function to install a component that is unexpectedly missing.") ADD_TO_API("MSI.InstallMissingFile","( sProductCode, sFile )","Calls the MsiInstallMissingFile function to install a file that is unexpectedly missing.") ADD_TO_API("MSI.InstallProduct","( sPackagePath, sCommandLine )","Calls the MsiInstallProduct function to install or uninstall a product.") ADD_TO_API("MSI.LocateComponent","( sComponentGUID )","Calls the MsiLocateComponent function to get the full path to an installed component without a product code.") ADD_TO_API("MSI.OpenPackage","( sPackagePath )","Calls the MsiOpenPackage function to open a package for use with the actions that access the product database. You must call the MSI.CloseHandle action with the handle when it is no longer needed.") ADD_TO_API("MSI.OpenProduct","( sProductCode )","Calls the MsiOpenProduct function to open a product for use with the actions that access the product database. You must call the MSI.CloseHandle action with the handle when it is no longer needed.") ADD_TO_API("MSI.QueryFeatureState","( sProductCode, sFeature )","Calls the MsiQueryFeatureState function to get the installed state for a product feature.") ADD_TO_API("MSI.QueryProductState","( sProductCode )","Calls the MsiQueryProductState function to get the installed state for a product.") ADD_TO_API("MSI.ReinstallFeature","( sProductCode, sFeatureID, nReinstallMode )","Calls the MsiReinstallFeature function to reinstall a feature.") ADD_TO_API("MSI.ReinstallProduct","( sProductCode, nReinstallMode )","Calls the MsiReinstallProduct function to reinstall a product.") ADD_TO_API("MSI.RunMsiexec","( sArguments, bWaitForReturn = true )","Runs the Windows Installer program \"msiexec.exe\" with the specified arguments.") ADD_TO_API("MSI.SetInternalUI","( nUILevel, nWindowHandle )","Calls the MsiSetInternalUI function to enable the installer's internal user interface. Then this user interface is used for all subsequent calls to user-interface-generating installer functions in this process.") ADD_TO_API("MSI.VerifyPackage","( sPackagePath )","Calls the MsiOpenPackage function to open a package for use with the actions that access the product database. You must call the MSI.CloseHandle action with the handle when it is no longer needed.") ADD_TO_API("Page.ClickObject","( sObjectName )","Fires the On Click event of the specified object.") ADD_TO_API("Page.CreateObject","( nObjectType, sObjectName, tProperties )","Creates a new object on the current page.") ADD_TO_API("Page.DeleteObject","( sObjectName )","Deletes an object from the current page.") ADD_TO_API("Page.EnumerateObjects","( )","Returns a table containing the names of all the objects on the current page.") ADD_TO_API("Page.GetFocus","( )","Returns the name of the object that currently has focus.") ADD_TO_API("Page.GetObjectScript","( sObjectName, sEventName )","Returns the script on an event of an object.") ADD_TO_API("Page.GetObjectType","( sObjectName )","Returns the \"type\" of a given object on a page.") ADD_TO_API("Page.GetRadioValue","( sGroupID = \"\", nType = RADIOGROUP_VALUE )","Get checked value of the specified radiobutton group.") ADD_TO_API("Page.GetSize","( )","Returns the pixel dimensions of the current page.") ADD_TO_API("Page.Jump","( sPageName )","Jumps to a page in your application.") ADD_TO_API("Page.Navigate","( nNavigateType )","Navigates to a relative page.") ADD_TO_API("Page.Print","( bShowPrintDialog = true, bScaleToFit = true )","Prints the current page.") ADD_TO_API("Page.Redraw","( )","Causes the current page to redraw itself.") ADD_TO_API("Page.SetFocus","( sObjectName )","Sets focus to an object on the current page.") ADD_TO_API("Page.SetObjectScript","( sObjectName, sEventName, sScript )","Sets the script on an event of an object.") ADD_TO_API("Page.SetObjectZOrder","( sObjectName, nPosition, sReferenceObject = \"\" )","Sets an object's position in the zorder relative to other objects on the page.") ADD_TO_API("Page.SetRadioValue","( sValue, sGroupID = \"\", nType = RADIOGROUP_VALUE )","Selects a radio button item in a group by value, object name or radio button text.") ADD_TO_API("Page.StartTimer","( nInterval )","Starts the page timer for the current page.") ADD_TO_API("Page.StopTimer","( )","Stops the page timer for the current page.") ADD_TO_API("Paragraph.GetPos","( sObjectName )","Returns the X and Y page coordinates of a paragraph object in pixels.") ADD_TO_API("Paragraph.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Paragraph.GetScrollPos","( sObjectName, bVertical = true )","Returns the scroll position of a paragraph object.") ADD_TO_API("Paragraph.GetScrollRange","( sObjectName, bVertical = true )","Returns the scroll range (Min, Max) of a paragraph object.") ADD_TO_API("Paragraph.GetSize","( sObjectName )","Returns the pixel dimensions of a paragraph object.") ADD_TO_API("Paragraph.GetText","( sObjectName )","Gets the text that is currently displayed in a paragraph object.") ADD_TO_API("Paragraph.IsEnabled","( sObjectName )","Returns true if a specific paragraph object is enabled, or false if it's disabled.") ADD_TO_API("Paragraph.IsVisible","( sObjectName )","Returns true if a specific paragraph object is visible, and false if it isn't.") ADD_TO_API("Paragraph.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a paragraph object.") ADD_TO_API("Paragraph.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a paragraph object relative to the page.") ADD_TO_API("Paragraph.SetProperties","( sObjectName, tProperties )","Sets the properties of a paragraph object on the page.") ADD_TO_API("Paragraph.SetScrollPos","( sObjectName, nScrollPos, bVertical = true )","Sets the scroll position of a paragraph object.") ADD_TO_API("Paragraph.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a paragraph object.") ADD_TO_API("Paragraph.SetText","( sObjectName, sText )","Sets the text to be displayed in a paragraph object.") ADD_TO_API("Paragraph.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a paragraph object.") ADD_TO_API("Plugin.GetPos","( sObjectName )","Returns the X and Y page coordinates of a plugin object in pixels.") ADD_TO_API("Plugin.GetSize","( sObjectName )","Returns the pixel dimensions of a plugin object.") ADD_TO_API("Plugin.IsEnabled","( sObjectName )","Returns true if a specific plugin object is enabled, or false if it's disabled.") ADD_TO_API("Plugin.IsVisible","( sObjectName )","Returns true if a specific plugin object is visible, and false if it isn't.") ADD_TO_API("Plugin.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a plugin object relative to the page.") ADD_TO_API("Plugin.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a plugin object.") ADD_TO_API("Plugin.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a plugin object.") ADD_TO_API("Plugin.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a plugin object.") ADD_TO_API("Progress.GetCurrentPos","( sObjectName )","Gets the current position of the progress within the progress bar.") ADD_TO_API("Progress.GetPos","( sObjectName )","Returns the X and Y page coordinates of a progress object in pixels.") ADD_TO_API("Progress.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Progress.GetRange","( sObjectName )","Returns the range of the progress bar in a table.") ADD_TO_API("Progress.GetSize","( sObjectName )","Returns the pixel dimensions of a progress object.") ADD_TO_API("Progress.GetText","( sObjectName )","Returns the text currently displayed on the progress object.") ADD_TO_API("Progress.IsEnabled","( sObjectName )","Returns true if a specific progress object is enabled, or false if it's disabled.") ADD_TO_API("Progress.IsVisible","( sObjectName )","Returns true if a specific progress object is visible, and false if it isn't.") ADD_TO_API("Progress.SetCurrentPos","( sObjectName, nPos )","Sets the position of the progress within the progress bar.") ADD_TO_API("Progress.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a progress object relative to the page.") ADD_TO_API("Progress.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a progress object.") ADD_TO_API("Progress.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a progress object.") ADD_TO_API("Progress.SetProperties","( sObjectName, tProperties )","Sets the properties of a progress object on the page.") ADD_TO_API("Progress.SetRange","( sObjectName, nBegin, nEnd )","Sets the range of the progress bar.") ADD_TO_API("Progress.SetStep","( sObjectName, nStep )","Sets the step value that will be used when Progress.StepIt() is called.") ADD_TO_API("Progress.SetText","( sObjectName, sText )","Sets the text currently displayed on the progress object.") ADD_TO_API("Progress.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a progress object.") ADD_TO_API("Progress.StepIt","( sObjectName )","Increments the current progress by the step amount specified in the Progress.SetStep() action.") ADD_TO_API("RadioButton.GetChecked","( sObjectName )","Returns true if a specific radiobutton object is checked, or false if it's unchecked.") ADD_TO_API("RadioButton.GetPos","( sObjectName )","Returns the X and Y page coordinates of a radiobutton object in pixels.") ADD_TO_API("RadioButton.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("RadioButton.GetSize","( sObjectName )","Returns the pixel dimensions of an radiobutton object.") ADD_TO_API("RadioButton.GetText","( sObjectName )","Returns the text displayed on a radiobutton object.") ADD_TO_API("RadioButton.IsEnabled","( sObjectName )","Returns true if a specific radiobutton object is enabled, or false if it's disabled.") ADD_TO_API("RadioButton.IsVisible","( sObjectName )","Returns true if a specific radiobutton object is visible, and false if it isn't.") ADD_TO_API("RadioButton.SetChecked","( sObjectName, bChecked = true )","Sets the checked/unchecked state of an radiobutton object.") ADD_TO_API("RadioButton.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of an radiobutton object.") ADD_TO_API("RadioButton.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of an radiobutton object relative to the page.") ADD_TO_API("RadioButton.SetProperties","( sObjectName, tProperties )","Sets the properties of a radiobutton object on the page.") ADD_TO_API("RadioButton.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a radiobutton object.") ADD_TO_API("RadioButton.SetText","( sObjectName, sText )","Sets the text displayed on a radiobutton object.") ADD_TO_API("RadioButton.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a radiobutton object.") ADD_TO_API("Registry.CreateKey","( nMainKey, sSubKey )","Creates a \"key\" in the user's Registry.") ADD_TO_API("Registry.DeleteKey","( nMainKey, sSubKey )","Deletes a \"key\" from the user's Registry.") ADD_TO_API("Registry.DeleteValue","( nMainKey, sSubKey, sValue )","Deletes a \"value\" from the user's Registry.") ADD_TO_API("Registry.DoesKeyExist","( nMainKey, sSubKey )","Determines whether or not a particular Registry key exists and returns either true or false.") ADD_TO_API("Registry.GetAccess","( nMainKey, sSubKey, nRights = ACCESS_ALL )","Checks to see if a Registry key has specific access rights and returns either true or false.") ADD_TO_API("Registry.GetKeyNames","( nMainKey, sSubKey )","Returns a table containing the names of all of the sub keys for a particular key.") ADD_TO_API("Registry.GetValue","( nMainKey, sSubKey, sValue, bAutoExpand = true )","Returns a specific Registry value's data.") ADD_TO_API("Registry.GetValueNames","( nMainKey, sSubKey )","Returns the names of all of the values within a specific sub key.") ADD_TO_API("Registry.GetValueType","( nMainKey, sSubKey, sValue )","Returns a Registry value's type.") ADD_TO_API("Registry.SetValue","( nMainKey, sSubKey, sValue, sData, nType = REG_SZ )","Sets the data of a specific Registry value.") ADD_TO_API("RichText.CanPaste","( sObjectName )","Returns true if the contents of the clipboard can be pasted into a RichText object.") ADD_TO_API("RichText.CanUndo","( sObjectName )","Returns true if the last editing operation in the RichText object can be undone.") ADD_TO_API("RichText.Copy","( sObjectName )","Copies the current selection in a RichText object to the clipboard.") ADD_TO_API("RichText.Cut","( sObjectName )","Cuts the current selection in a RichText object to the clipboard.") ADD_TO_API("RichText.Delete","( sObjectName )","Deletes the currently selected text in a RichText object.") ADD_TO_API("RichText.EmptyUndoBuffer","( sObjectName )","Resets","(clears)","the undo buffer in a RichText object.") ADD_TO_API("RichText.FindText","( sObjectName, sSearchFor, nStart = 1, nEnd = -1, bCaseSensitive = false, bWholeWord = false )","Searches for text in a RichText object.") ADD_TO_API("RichText.GetLine","( sObjectName, nLine )","Returns a line of text from a RichText object.") ADD_TO_API("RichText.GetParagraphFormat","( sObjectName, bOnlyConsistentAttributes = true )","Returns a table describing the paragraph format of the current selection in a RichText object.") ADD_TO_API("RichText.GetPos","( sObjectName )","Returns the X and Y page coordinates of a RichText object in pixels.") ADD_TO_API("RichText.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("RichText.GetSelection","( sObjectName )","Returns a table containing the start and end positions of the current selection in a RichText object.") ADD_TO_API("RichText.GetSelectionFormat","( sObjectName, bOnlyConsistentAttributes = true )","Returns a table describing the character format of the current selection in a RichText object.") ADD_TO_API("RichText.GetSize","( sObjectName )","Returns the pixel dimensions of a RichText object.") ADD_TO_API("RichText.GetText","( sObjectName, bRawRTF = true )","Returns the text displayed in a RichText object.") ADD_TO_API("RichText.GetTextLength","( sObjectName )","Returns the length of text displayed in a RichText object.") ADD_TO_API("RichText.IsEnabled","( sObjectName )","Returns true if a specific RichText object is enabled, or false if it's disabled.") ADD_TO_API("RichText.IsVisible","( sObjectName )","Returns true if a specific RichText object is visible, or false if it isn't.") ADD_TO_API("RichText.LoadFromFile","( sObjectName, sFilename )","Loads text from an RTF file into a RichText object.") ADD_TO_API("RichText.Paste","( sObjectName )","Inserts the contents of the clipboard into the rich text object.") ADD_TO_API("RichText.SaveToFile","( sObjectName, sFilename )","Saves the current text in a RichText object to an RTF file.") ADD_TO_API("RichText.ScrollLines","( sObjectName, nLines )","Scrolls the text in a RichText object.") ADD_TO_API("RichText.ScrollToLine","( sObjectName, nLine )","Scrolls the text to a specific line in a RichText object.") ADD_TO_API("RichText.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a RichText object.") ADD_TO_API("RichText.SetParagraphFormat","( sObjectName, tParagraphFormat )","Sets the paragraph format of the current selection in a RichText object.") ADD_TO_API("RichText.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a RichText object relative to the page.") ADD_TO_API("RichText.SetProperties","( sObjectName, tProperties )","Sets the properties of a RichText object on the page.") ADD_TO_API("RichText.SetSelection","( sObjectName, nStart, nEnd )","Selects a range of text in a RichText object. This is just like highlighting the text with the mouse.") ADD_TO_API("RichText.SetSelectionFormat","( sObjectName, tCharacterFormat, bApplyToWord = false )","Sets the character formatting of the current selection in a RichText object.") ADD_TO_API("RichText.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a RichText object.") ADD_TO_API("RichText.SetText","( sObjectName, sText, bRawRTF = true )","Sets the text displayed in a RichText object.") ADD_TO_API("RichText.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a RichText object.") ADD_TO_API("RichText.Undo","( sObjectName )","Reverses","(undoes)","the last editing operation in a RichText object.") ADD_TO_API("Shell.CreateShortcut","( sFolder, sDescription, sTarget, sCmdLine = \"\", sWorkingFolder = \"\", sIconPath = \"\", nIconIndex = 0, nWindowMode = SW_SHOWNORMAL, tHotKey = nil )","Creates a shortcut on the user's system.") ADD_TO_API("Shell.DeleteShortcut","( sFolder, sDescription )","Removes a shortcut from the user's system.") ADD_TO_API("Shell.Execute","( sFilename, sVerb = \"open\", sArguments = \"\", sWorkingFolder = \"\", nWindowMode = SW_SHOWNORMAL, bWaitForReturn = false )","Performs a shell execute on a target with a given shell verb.") ADD_TO_API("Shell.GetFolder","( nType )","Returns the path to a common folder on the local system, such as \"My Documents\" or the user's Startup folder.") ADD_TO_API("SlideShow.AddSlide","( sObjectName, sFilePath, nPosition = -1 )","Adds a slide to a slideshow object.") ADD_TO_API("SlideShow.DeleteSlide","( sObjectName, nPosition )","Deletes a slide from a slideshow object.") ADD_TO_API("SlideShow.FillFromFolder","( sObjectName, sFolderPath, bEmptyFirst = false, bRecurse = false )","Fills a slideshow object's slides from a folder.") ADD_TO_API("SlideShow.GetCurrentSlide","( sObjectName )","Get the index of the current slide in a slideshow object.") ADD_TO_API("SlideShow.GetImagePath","( sObjectName, nPosition )","Gets the path to an image in a slideshow object.") ADD_TO_API("SlideShow.GetPos","( sObjectName )","Returns the X and Y page coordinates of a slideshow object in pixels.") ADD_TO_API("SlideShow.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("SlideShow.GetSize","( sObjectName )","Returns the pixel dimensions of a slideshow object.") ADD_TO_API("SlideShow.GetSlideCount","( sObjectName )","Returns the number of slides in a slideshow object.") ADD_TO_API("SlideShow.GoToSlide","( sObjectName, nPosition )","Navigate to a specific slide in a slideshow object.") ADD_TO_API("SlideShow.IsEnabled","( sObjectName )","Returns true if a specific slideshow object is enabled, or false if it's disabled.") ADD_TO_API("SlideShow.IsVisible","( sObjectName )","Returns true if a specific slideshow object is visible, and false if it isn't.") ADD_TO_API("SlideShow.Navigate","( sObjectName, nPosition )","Navigates to a slide in a slideshow object.") ADD_TO_API("SlideShow.Pause","( sObjectName )","Pauses a slideshow object.") ADD_TO_API("SlideShow.Play","( sObjectName )","Plays a slideshow object.") ADD_TO_API("SlideShow.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a slideshow object.") ADD_TO_API("SlideShow.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a slideshow object relative to the page.") ADD_TO_API("SlideShow.SetProperties","( sObjectName, tProperties )","Sets the properties of a slideshow object on the page.") ADD_TO_API("SlideShow.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a slideshow object.") ADD_TO_API("SlideShow.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a slideshow object.") ADD_TO_API("StatusDlg.GetAutoSize","( )","Returns the status dialog's current auto-size setting.") ADD_TO_API("StatusDlg.GetMeterPos","( )","Returns the status dialog's current status meter position.") ADD_TO_API("StatusDlg.Hide","( )","Hides the built-in status dialog.") ADD_TO_API("StatusDlg.IsCancelled","( )","Returns true if the cancel button on the built-in status dialog has been clicked, or false if it hasn't.") ADD_TO_API("StatusDlg.SetAutoSize","( bAutoSize )","Sets whether or not the built-in status dialog will automatically resize when its settings change.") ADD_TO_API("StatusDlg.SetMessage","( sText )","Sets the main description message on the built-in status dialog.") ADD_TO_API("StatusDlg.SetMeterPos","( nPosition )","Sets the status meter position on the built-in status dialog.") ADD_TO_API("StatusDlg.SetMeterRange","( nBegin, nEnd )","Sets the range of the built-in status dialog's status meter.") ADD_TO_API("StatusDlg.SetStatusText","( sText )","Sets the status text on the built-in status dialog. This is the text that appears right above the status meter.") ADD_TO_API("StatusDlg.SetTitle","( sText )","Sets the title bar text on the built-in status dialog.") ADD_TO_API("StatusDlg.SetCancelled","( bCancelled )","Sets the clicked/unclicked state of the cancel button on the built-in status dialog.") ADD_TO_API("StatusDlg.Show","( nIcon = 0, bCancelled = false )","Displays the built-in status dialog.") ADD_TO_API("StatusDlg.ShowCancelButton","( bShowCancel = true, sButtonText = \"Cancel\" )","Shows or hides the cancel button on the built-in status dialog.") ADD_TO_API("StatusDlg.ShowProgressMeter","( bShow = true )","Shows or hides the progress meter on the built-in status dialog.") ADD_TO_API("String.AbbreviateFilePath","( sFilePath, nCharacters )","Returns an abbreviated file path given a maximum number of characters.") ADD_TO_API("String.Asc","( sChar )","Returns the ASCII code of a character (in decimal format).") ADD_TO_API("String.Char","( nASCII )","Returns the character value of a specific ASCII code (in decimal format).") ADD_TO_API("String.Compare","( sText, sCompareTo )","Performs a case sensitive comparison between two strings.") ADD_TO_API("String.CompareFileVersions","( sVersion, sCompareTo )","Performs a comparison on two file versions.") ADD_TO_API("String.CompareNoCase","( sText, sCompareTo )","Performs a case insensitive comparison between two strings.") ADD_TO_API("String.Concat","( sStartString, sEndString )","Adds (or \"concatenates\") two strings together and returns the result as a new string.") ADD_TO_API("String.Find","( sSearchString, sPattern, nStartAt = 1, bCaseSensitive = false )","Finds the first occurrence of a sub-string within a string.") ADD_TO_API("String.GetFormattedSize","( nSizeInBytes, nFormat = FMTSIZE_AUTOMATIC, bShowCommas = true )","Given a number of bytes, returns a formatted string that converts to bytes, KB, MB or GB and optionally inserts commas.") ADD_TO_API("String.Left","( sLeftString, nNumChar )","Creates a new string from the left-most x characters of an existing string.") ADD_TO_API("String.Length","( sLengthString )","Returns the number of characters in a string.") ADD_TO_API("String.Lower","( sToLower )","Returns an all lowercase version of a string.") ADD_TO_API("String.MakePath","( tPathParts )","Returns a path based upon elements in the specified table.") ADD_TO_API("String.Mid","( sMidString, nCharStart, nNumChar )","Returns a specified range of characters from a string.") ADD_TO_API("String.Repeat","( sRepeatString, nNumRepeat )","Repeats a string a given number of times.") ADD_TO_API("String.Replace","( sSearchString, sPattern, sReplaceString, bCaseSensitive = false )","Searches a string for a sub-string and replaces every occurrence of it with a new sub-string.") ADD_TO_API("String.ReverseFind","( sSearchString, sPattern, bCaseSensitive = false )","Finds the first occurrence of a sub-string within a string by searching it from right to left.") ADD_TO_API("String.Right","( sRightString, nNumChar )","Creates a new string from the right-most x characters of an existing string.") ADD_TO_API("String.ToNumber","( sNumericString )","Converts a numeric string into a numeric value.") ADD_TO_API("String.SplitPath","( sPath )","Splits the specified path up into its drive, folders, filename, and file extension.") ADD_TO_API("String.TrimLeft","( sSourceString, sCharactersToTrim = nil )","Trims the specified characters from the left of the source string.") ADD_TO_API("String.TrimRight","( sSourceString, sCharactersToTrim = nil )","Trims the specified characters from the right of the source string.") ADD_TO_API("String.Upper","( sToUpper )","Returns an all uppercase version of a string.") ADD_TO_API("System.EnumerateProcesses","( )","Returns a table containing a list of all of the currently running processes and the paths to the programs that spawned them.") ADD_TO_API("System.GetDate","( nDateType )","Gets the current date in a variety of formats.") ADD_TO_API("System.GetDisplayInfo","( )","Returns a table containing the display information of the user's system.") ADD_TO_API("System.GetMemoryInfo","( )","Returns a table containing the system's memory information.") ADD_TO_API("System.GetMousePosition","( bClientCoordinates = true, nWndHandle = nil )","Gets the position of the mouse.") ADD_TO_API("System.GetOSName","( )","Gets the name of the operating system the user is running, such as \"Windows 2000.\"") ADD_TO_API("System.GetOSProductInfo","( )","Gets the product type for the operating system. Only supported on Windows Vista, Windows Server 2008, or later.") ADD_TO_API("System.GetOSVersionInfo","( )","Returns a table containing the version information of the operating system the user is running.") ADD_TO_API("System.GetTime","( nTimeType )","Gets the current time in a variety of formats.") ADD_TO_API("System.GetDefaultLangID","( )","Returns a table containing the primary and secondary language ID code for the language on the local system.") ADD_TO_API("System.GetLANInfo","( )","Returns a table containing the user's LAN information.") ADD_TO_API("System.GetUserInfo","( )","Returns a table containing the current user's information.") ADD_TO_API("System.Is64BitOS","( )","Determines if the current operating system is 64 bit.") ADD_TO_API("System.IsKeyDown","( nKey )","Determines if a specific key on the keyboard or mouse button is down or up.") ADD_TO_API("System.Reboot","( )","Reboots the user's system.") ADD_TO_API("System.RegisterActiveX","( sFilename )","Registers an ActiveX control on the local system.") ADD_TO_API("System.RegisterFont","( sFilename, sFontname = , bPermanent = true )","Registers a TrueType font (.ttf file) on the local system.") ADD_TO_API("System.RegisterTypeLib","( sFilename )","Registers a type library file (.tlb) on the local system.") ADD_TO_API("System.TerminateProcess","( nProcessID )","Terminates a process given its process ID.") ADD_TO_API("System.UnregisterActiveX","( sFilename )","Unregisters an ActiveX control on the local system.") ADD_TO_API("System.UnregisterFont","( sFilename, sFontname, bPermanent = true )","Unregisters a TrueType font (.ttf file) on the local system. This removes the font's registration with the system font table.") ADD_TO_API("Table.Concat","( tSourceTable, sSeparator, nStart = 1, nEnd = TABLE_ALL )","Returns a string containing some or all of the values in a table. The values will be separated by the delimiter of your choice.") ADD_TO_API("Table.Count","( tSourceTable )","Returns the total number of items in a table.") ADD_TO_API("Table.Sort","( tSourceTable, fCompare = nil )","Sorts the items of a numerically indexed table.") ADD_TO_API("Table.Insert","( tSourceTable, nPosition, vValue )","Inserts an item into a numerically indexed table at a specific position.") ADD_TO_API("Table.Remove","( tSourceTable, nPosition )","Removes a specific item from a numerically indexed table and returns it's value.") ADD_TO_API("TextFile.ReadToString","( sFilename )","Reads the contents of a text file and returns it as a string.") ADD_TO_API("TextFile.ReadToTable","( sFilename )","Reads the contents of a text file into a table.") ADD_TO_API("TextFile.WriteFromString","( sFilename, sText, bAppend = false )","Writes a string of text to a text file.") ADD_TO_API("TextFile.WriteFromTable","( sFilename, tTable, bAppend = false )","Writes a table's contents out to a text file. The table should consist of one line of text per table item.") ADD_TO_API("Tree.CollapseNode","( sObjectName, sNodeIndex )","Collapses the specified node.") ADD_TO_API("Tree.EnsureVisible","( sObjectName, sNodeIndex )","Ensures the specified node is visible.") ADD_TO_API("Tree.ExpandNode","( sObjectName, sNodeIndex )","Expands the specified node.") ADD_TO_API("Tree.FindNodeByData","( sObjectName, sStartNodeIndex, sData )","Searched the tree for a node based on the data.") ADD_TO_API("Tree.FindNodeByText","( sObjectName, sStartNodeIndex, sText )","Searched the tree for a node based on the text.") ADD_TO_API("Tree.GetChildCount","( sObjectName, sParentNodeIndex )","Returns the child count of a node.") ADD_TO_API("Tree.GetChildren","( sObjectName, sParentNodeIndex )","Returns a table containing child data tables.") ADD_TO_API("Tree.GetNode","( sObjectName, sNodeIndex )","Returns a table containing the nodes information.") ADD_TO_API("Tree.GetPos","( sObjectName )","Returns the X and Y page coordinates of a tree object in pixels.") ADD_TO_API("Tree.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Tree.GetSelectedNode","( sObjectName )","Returns the node index of the seleted node.") ADD_TO_API("Tree.GetSize","( sObjectName )","Returns the pixel dimensions of a tree object.") ADD_TO_API("Tree.InsertNode","( sObjectName, sNodeIndex, tNodeData )","Inserts a node into the tree object.") ADD_TO_API("Tree.IsEnabled","( sObjectName )","Returns true if a specific tree object is enabled, or false if it's disabled.") ADD_TO_API("Tree.IsVisible","( sObjectName )","Returns true if a specific tree object is visible, or false if it isn't.") ADD_TO_API("Tree.RemoveNode","( sObjectName, sNodeIndex )","Removes a node from a tree object.") ADD_TO_API("Tree.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a tree object.") ADD_TO_API("Tree.SetNode","( sObjectName, sNodeIndex, tNodeData )","Sets a nodes information.") ADD_TO_API("Tree.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a tree object relative to the page.") ADD_TO_API("Tree.SetProperties","( sObjectName, tProperties )","Sets the properties of a tree object on the page.") ADD_TO_API("Tree.SetSelectedNode","( sObjectName, sNodeIndex )","Selects a node in the tree object.") ADD_TO_API("Tree.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a tree object.") ADD_TO_API("Tree.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a tree object.") ADD_TO_API("Video.GetCurrentPos","( sObjectName )","Retrieves the current time position of a video in a video object, in seconds.") ADD_TO_API("Video.GetFilename","( sObjectName )","Returns the path to the file that is currently loaded in a video object.") ADD_TO_API("Video.GetLength","( sObjectName )","Retrieves the length","(in seconds)","of the video file in a video object.") ADD_TO_API("Video.GetPos","( sObjectName )","Returns the X and Y page coordinates of a video object in pixels.") ADD_TO_API("Video.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Video.GetSize","( sObjectName )","Returns the pixel dimensions of a video object.") ADD_TO_API("Video.GetState","( sObjectName )","Returns the current state of a video object.") ADD_TO_API("Video.GetVolume","( sObjectName )","Retrieves the current volume level of a video object. The volume is represented as a number between 0 and 100.") ADD_TO_API("Video.IsEnabled","( sObjectName )","Returns true if a specific video object is enabled, or false if it's disabled.") ADD_TO_API("Video.IsFullScreen","( sObjectName )","Returns true if a specific video object is currently in full screen mode, or false if it isn't.") ADD_TO_API("Video.IsVisible","( sObjectName )","Returns true if a specific video object is visible, and false if it isn't.") ADD_TO_API("Video.Load","( sObjectName, sFilename, bPlayAutomatic = false, bLoop = false )","Loads a video file into a video object.") ADD_TO_API("Video.Pause","( sObjectName )","Pauses the video's playback in a video objectt.") ADD_TO_API("Video.Play","( sObjectName )","Starts playing the video currently loaded in a video object.") ADD_TO_API("Video.Seek","( sObjectName, nSeekType = 0, nSeekTime = 0 )","Seeks to a position in a video that is loaded in a video object.") ADD_TO_API("Video.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a video object.") ADD_TO_API("Video.SetFullScreen","( sObjectName, bFullscreen = true )","Controls whether a video object will play in full screen mode or at its normal size.") ADD_TO_API("Video.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a video object relative to the page.") ADD_TO_API("Video.SetProperties","( sObjectName, tProperties )","Sets the properties of a video object on the page.") ADD_TO_API("Video.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a video object.") ADD_TO_API("Video.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a video object.") ADD_TO_API("Video.SetVolume","( sObjectName, nVolume )","Sets the volume level of a video object.") ADD_TO_API("Video.Stop","( sObjectName )","Stops the playback of the video in a video object.") ADD_TO_API("Web.Back","( sObjectName )","Navigates one page back in a web object.") ADD_TO_API("Web.Forward","( sObjectName )","Navigates one page forward in a web object.") ADD_TO_API("Web.GetPos","( sObjectName )","Returns the X and Y page coordinates of a web object in pixels.") ADD_TO_API("Web.GetProperties","( sObjectName )","Returns a table containing the properties of the specified object.") ADD_TO_API("Web.GetSize","( sObjectName )","Returns the pixel dimensions of a web object.") ADD_TO_API("Web.GetURL","( sObjectName )","Gets the URL that is currently displayed in a web object.") ADD_TO_API("Web.IsEnabled","( sObjectName )","Returns true if a specific web object is enabled, or false if it's disabled.") ADD_TO_API("Web.IsVisible","( sObjectName )","RReturns true if a specific web object is visible, and false if it isn't.") ADD_TO_API("Web.LoadURL","( sObjectName, sURL )","Loads a local file or web-based URL into a web object.") ADD_TO_API("Web.Print","( sObjectName, bDefaultPrinter = true )","Prints the web page currently displayed in the web object.") ADD_TO_API("Web.Refresh","( sObjectName )","Refreshes a web object.") ADD_TO_API("Web.SetEnabled","( sObjectName, bEnabled = true )","Sets the enabled/disabled state of a web object.") ADD_TO_API("Web.SetPos","( sObjectName, nX, nY )","Sets the X and Y pixel coordinates of a web object relative to the page.") ADD_TO_API("Web.SetProperties","( sObjectName, tProperties )","Sets the properties of a web object on the page.") ADD_TO_API("Web.SetSize","( sObjectName, nWidth, nHeight )","Sets the size of a web object.") ADD_TO_API("Web.SetVisible","( sObjectName, bVisible = true )","Sets the visibility of a web object.") ADD_TO_API("Web.Stop","( sObjectName )","Stops a web object.") ADD_TO_API("Window.Close","( nWndHandle, nMethod = CLOSEWND_SENDMESSAGE )","Closes a specific window on the user's desktop.") ADD_TO_API("Window.EnumerateProcesses","( bTopLevel = true )","Returns a table containing a list of all the currently running processes and their associated window handles.") ADD_TO_API("Window.EnumerateTitles","( bTopLevel = true )","Returns a table containing the window titles and window handles of all of the open windows on the system.") ADD_TO_API("Window.GetPos","( nWndHandle )","Returns the X and Y screen coordinates of a window in pixels.") ADD_TO_API("Window.GetSize","( nWndHandle )","Returns the pixel dimensions of a window.") ADD_TO_API("Window.Hide","( nWndHandle )","Hides a specific window given it's window handle.") ADD_TO_API("Window.Maximize","( nWndHandle )","Maximizes a specific window given it's window handle. This is the same as clicking the \"Maximize\" button on the title bar of a window.") ADD_TO_API("Window.Minimize","( nWndHandle )","Minimizes a specific window given it's window handle. This is the same as clicking the \"Minimize\" button on the title bar of a window.") ADD_TO_API("Window.Restore","( nWndHandle )","Restores a specific window given it's window handle. Restoring means that if the window is currently maximized or minimized, the window will be re-sized to it's original size and position.") ADD_TO_API("Window.SetMask","( nWindowHandle, sMaskFile, bFitToWindow = true, nTransparentColor = 0 )","Applies a \"transparency mask\" to a window in order to create a custom window shape.") ADD_TO_API("Window.SetOrder","( nWndHandle, nInsertAfter )","Sets the Z-Order of a window relative to other visible windows on the system.") ADD_TO_API("Window.SetPos","( nWndHandle, nX, nY )","Sets the X and Y pixel coordinates of a specific window relative to the screen.") ADD_TO_API("Window.SetSize","( nWndHandle, nWidth, nHeight )","Sets the size of a specific window given it's window handle.") ADD_TO_API("Window.SetText","( nWndHandle, sText )","Sets the title text for a specific window. This text will be displayed in the window's title bar and task bar.") ADD_TO_API("Window.Show","( nWndHandle )","Shows a specific window given it's window handle. This action can be used to \"show\" a window after a Window.Hide action was performed.") ADD_TO_API("XML.Count","( sXMLPath, sElementName )","Counts the number of elements below a given XML path that match a specific element name.") ADD_TO_API("XML.GetAttribute","( sXMLPath, sAttributeName )","Returns the value of an element's attribute.") ADD_TO_API("XML.GetAttributeNames","( sXMLPath )","Returns the names of an element's attributes in a numerically indexed table.") ADD_TO_API("XML.GetElementNames","( sXMLPath, bFullPaths = false, bIncludeIndices = false )","Returns a numerically indexed table containing the names of all child elements contained within a specific element.") ADD_TO_API("XML.GetElementXML","( sXMLPath )","Returns the raw XML of an element, i.e. the plain-text XML code for the element and all of its children.") ADD_TO_API("XML.GetValue","( sXMLPath )","Returns the value of an element.") ADD_TO_API("XML.GetXML","( )","Returns the currently loaded XML document as a string.") ADD_TO_API("XML.InsertXML","( sXMLPath, sText, nInsertionMode )","Inserts raw XML code into a specific location in the currently loaded document.") ADD_TO_API("XML.Load","( sFilename )","Loads an XML file into memory so it can be processed.") ADD_TO_API("XML.RemoveAttribute","( sXMLPath, sAttributeName )","Removes a specific attribute from an element.") ADD_TO_API("XML.RemoveElement","( sXMLPath )","Removes a specific element","(and its children)","from the currently loaded XML document.") ADD_TO_API("XML.Save","( sFilename )","Saves the currently loaded XML document to a file.") ADD_TO_API("XML.SetAttribute","( sXMLPath, sAttributeName, sAttributeValue )","Sets the value of an element's attribute.") ADD_TO_API("XML.SetValue","( sXMLPath, sValue, bWriteCDATA = false )","Sets the value of an element.") ADD_TO_API("XML.SetXML","( sText )","Loads an XML document into memory from a string.") ADD_TO_API("Zip.Add","( sZipFile, tFiles, bIncludeFolderNames = true, sPassword = \"\", nCompFactor = 5, fCallbackFunction = nil, bRecurse = false )","Adds files to a zip archive.") ADD_TO_API("Zip.Extract","( sZipFile, tFiles, sDestination, bRecurse = true, bUseInternalFolders = true, sPassword = \"\", nOverwrite = 0, fCallbackFunction = nil )","Extracts files from a Zip archive.") ADD_TO_API("Zip.GetContents","( sZipFile, bIncludeFolderNames = true )","Returns the list of files within a given Zip file.") ADD_TO_API("SQLite.Close","( dbHandle )","Closes a SQLite database.") ADD_TO_API("SQLite.Compile","( dbHandle, sQuery )","Compiles a query so it can be stepped through one row at a time using SQLite.Step.") ADD_TO_API("SQLite.Finalize","( dbHandle )","Completes a compiled query and frees the associated memory.") ADD_TO_API("SQLite.GetChanges","( dbHandle )","Returns the number of rows modified by the last query.") ADD_TO_API("SQLite.GetEncoding","( )","Returns the character encoding that the SQLite database engine is using.") ADD_TO_API("SQLite.GetErrorString","( nErrorCode )","Returns the error string that corresponds to a specific SQLite error code.") ADD_TO_API("SQLite.GetLastErrorString","( )","Returns the error string for the last internal error that occurred.") ADD_TO_API("SQLite.GetLastInsertRowID","( dbHandle )","Returns the row ID of the most recent insert in the database.") ADD_TO_API("SQLite.GetNullString","( )","Returns the string that will be used to represent NULL values in query results.") ADD_TO_API("SQLite.GetRowColumnNamesArray","( dbHandle )","Returns the column names for the current row of data from a compiled query as a numerically indexed table.") ADD_TO_API("SQLite.GetRowColumnTypesArray","( dbHandle )","Returns the column types for the current row of data from a compiled query as a numerically indexed table.") ADD_TO_API("SQLite.GetRowColumnTypesAssoc","( dbHandle )","Returns the column types for the current row of data from a compiled query as an associative table indexed by column name.") ADD_TO_API("SQLite.GetRowDataArray","( dbHandle )","Returns the current row of data from a compiled query as a numerically indexed table.") ADD_TO_API("SQLite.GetRowDataAssoc","( dbHandle )","Returns the current row of data from a compiled query as an associative table indexed by column name.") ADD_TO_API("SQLite.GetVersion","( )","Returns the version of the plugin's SQLite database engine.") ADD_TO_API("SQLite.Interrupt","( dbHandle )","Aborts the query presently running in the database.") ADD_TO_API("SQLite.Open","( sFileName )","Opens a SQLite database. If the database does not exist, it is created.") ADD_TO_API("SQLite.Query","( dbHandle, sQuery, fCallbackFunction)","Performs a query on an SQLite database.") ADD_TO_API("SQLite.QueryToTable","( dbHandle, sQuery )","Performs a query on an SQLite database and returns a table containing the results.") ADD_TO_API("SQLite.SetBusyTimeout","( dbHandle, nTimeout )","Sets the busy timeout for the database.") ADD_TO_API("SQLite.SetNullString","( sNullString )","Sets the string that will be used to represent NULL values in query results.") ADD_TO_API("SQLite.Step","( dbHandle )","Advances a compiled query to the next row.") ADD_TO_API("CDAudio.GetCurrentPos","( )","Retrieves the current time position (in seconds) of the current audio CD track.") ADD_TO_API("CDAudio.GetNumTracks","( sDrive )","Determines how many tracks are on an audio CD.") ADD_TO_API("CDAudio.GetPlayMode","( )","Retrieves the current play mode of the audio CD.") ADD_TO_API("CDAudio.GetTrack","( )","Retrieves the current track on the currently loaded audio CD.") ADD_TO_API("CDAudio.GetTrackLength","( nTrack )","Retrieves the length of the specified track on the currently loaded audio CD.") ADD_TO_API("CDAudio.GetVolume","( )","Retrieves the current volume of the audio CD, as a number between 0 and 255.") ADD_TO_API("CDAudio.IsPaused","( )","Determines whether the audio CD is currently paused.") ADD_TO_API("CDAudio.LoadCD","( sDrive )","\"Loads\" an audio CD so that it can be played, paused, etc. Use this action to select a CD-ROM drive for future CDAudio operations.") ADD_TO_API("CDAudio.Pause","( )","Paused the audio CD.") ADD_TO_API("CDAudio.Play","( )","Plays the current track on the audio CD.") ADD_TO_API("CDAudio.Seek","( nSeekType, nSeekTime)","Seeks to a different time in the current track of the audio CD.") ADD_TO_API("CDAudio.SetPlayMode","( nPlayMode )","Sets the play mode for the audio CD.") ADD_TO_API("CDAudio.SetTrack","( nTrack )","Sets the current track on the currently loaded audio CD.") ADD_TO_API("CDAudio.SetVolume","( nVolume )","Sets the volume of the audio CD.") ADD_TO_API("CDAudio.Stop","( )","Stops playing the current track on the audio CD.") ADD_TO_API("CDAudio.TogglePlay","( )","Toggles the audio CD between playing and pausing.") ADD_TO_API("Clipboard.CopyText","( sText )","Copies a string of text to the Windows clipboard.") ADD_TO_API("Clipboard.GetText","( )","Retrieves text from the Windows clipboard.") ADD_TO_API("Clipboard.IsTextAvailable","( )","Determines whether text is available on the Windows clipboard.") ADD_TO_API("FTP.CdUp","( )","Moves up one directory level on the FTP server.") ADD_TO_API("FTP.ChangeDir","( sPath )","Changes the current directory on the FTP server.") ADD_TO_API("FTP.ClearLog","( )","Clears","(empties)","the command/response log. Use this to \"reset\" the log of commands sent to the FTP server and the response messages received from it.") ADD_TO_API("FTP.Command","( sCommand )","Performs a custom FTP command on the FTP server.") ADD_TO_API("FTP.Connect","( sHostname, sUsername = \"anonymous\", sPassword = \"anonymous@anonymous.com\", sAccount = \"\", bHidePassword = true)","Connects to an FTP server.") ADD_TO_API("FTP.Delete","( sFilename )","Deletes a file in the current directory on the FTP server.") ADD_TO_API("FTP.Disconnect","( )","Disconnects from the FTP server.") ADD_TO_API("FTP.Download","( sSource, sDestination, fCallbackFunction)","Downloads a file from the current directory on the FTP server. ") ADD_TO_API("FTP.GetConnectTimeout","( )","Returns the number of seconds that the application will wait while attempting to establish a connection with the FTP server.") ADD_TO_API("FTP.GetControlPort","( )","Returns the control port being used for communication with the FTP server.") ADD_TO_API("FTP.GetCurrentDir","( )","Returns the path to the current directory on the FTP server.") ADD_TO_API("FTP.GetDataPort","( )","Returns the data port being used for communication with the FTP server.") ADD_TO_API("FTP.GetFileInfo","( sFilename )","Returns a table containing information about a specific file in the current directory on the FTP server.") ADD_TO_API("FTP.GetHelp","( )","Returns the help text for a command from the FTP server.") ADD_TO_API("FTP.GetLastResponse","( )","Returns the text received from the FTP server as a result of the most recent FTP action.") ADD_TO_API("FTP.GetLog","( )","Returns a log of the interaction with the FTP server, including commands sent to the server and responses received from it.") ADD_TO_API("FTP.GetPassiveMode","( )","Returns true if the FTP actions will communicate with the server in passive mode","(where control and data connections are both originated by the client)",".") ADD_TO_API("FTP.GetTransferType","( )","Returns the transfer type (FTP.ASCII or FTP.BINARY) being used for data transfer and storage.") ADD_TO_API("FTP.IsConnected","( )","Returns true if there is currently a connection with an FTP server.") ADD_TO_API("FTP.IsValidHostname","( sHoseName )","Returns true if the given hostname or IP address is valid (formatted properly) .") ADD_TO_API("FTP.List","( )","Returns a numerically indexed table of tables with information about each file or folder in the current directory on the FTP server.") ADD_TO_API("FTP.ListFiles","( )","Returns a numerically indexed table of tables with information about each file in the current directory on the FTP server.") ADD_TO_API("FTP.ListFolders","( )","Returns a numerically indexed table of tables with information about each folder in the current directory on the FTP server.") ADD_TO_API("FTP.MakeDir","( sDirName )","Creates a new folder in the current directory on the FTP server.") ADD_TO_API("FTP.NoOp","( )","Performs a \"no-op\" operation","(a NOOP command)",".") ADD_TO_API("FTP.RemoveDir","( sDirName )","Deletes a specific folder in the current directory on the FTP server. ") ADD_TO_API("FTP.Rename","( sOldname, sNewname)","Renames a file in the current directory on the FTP server.") ADD_TO_API("FTP.Resume","( sSource, sDestination, fCallbackFunction)","Resumes downloading a file from the current directory on the FTP server. (Continues downloading a file whose download was interrupted.) ") ADD_TO_API("FTP.SetCommandCallback","( fCallbackFunction )","Registers a callback function to be called whenever a command is sent to the server.") ADD_TO_API("FTP.SetConnectTimeout","( nTimeout )","Sets the number of seconds that the application will wait while attempting to establish a connection with the FTP server.") ADD_TO_API("FTP.SetControlPort","( nControlPort )","Sets the control port that will be used for communication with the FTP server.") ADD_TO_API("FTP.SetDataPort","( nDataPort )","Sets the data port that will be used for communication with the FTP server.") ADD_TO_API("FTP.SetPassiveMode","( bPassiveMode )","Sets the data transfer mode to use when communicating with the server.") ADD_TO_API("FTP.SetResponseCallback","( fCallbackFunction )","Registers a callback function to be called whenever a command response is received from the server.") ADD_TO_API("FTP.SetTransferType","( TransferType )","Sets the data transfer mode to use when communicating with the server.") ADD_TO_API("FTP.Upload","( sSource, sDestination, fCallbackFunction)","Uploads a file to the current directory on the FTP server.") ADD_TO_API("_G") ADD_TO_API("_VERSION") ADD_TO_API("assert","(v [, message])","error if v nil or false, otherwise returns v") ADD_TO_API("collectgarbage","([limit])","set threshold to limit KBytes, default 0, may run GC") ADD_TO_API("dofile","(filename)","executes as Lua chunk, default stdin, returns value") ADD_TO_API("error","(message [, level])","terminates protected func, never returns, level 1 (default), 2=parent") ADD_TO_API("getfenv","(f)","gets env, f can be a function or number (stack level, default=1), 0=global env") ADD_TO_API("getmetatable","(object)","returns metatable of given object, otherwise nil") ADD_TO_API("ipairs","(t)","returns an iterator function, table t and 0") ADD_TO_API("loadfile","(filename)","loads chunk without execution, returns chunk as function, else nil plus error") ADD_TO_API("loadlib","(libname, funcname)","links to dynamic library libname, returns funcname as a C function") ADD_TO_API("loadstring","(string [, chunkname])","loads string as chunk, returns chunk as function, else nil plus error") ADD_TO_API("pairs","(t)","returns the next function and table t plus a nil, iterates over all key-value pairs") ADD_TO_API("pcall","(f, arg1, arg2, ...)","protected mode call, catches errors, returns status code first","(true=success)","") ADD_TO_API("print","(e1, e2, ...)","prints values to stdout using tostring") ADD_TO_API("rawequal","(v1, v2)","non-metamethod v1==v2, returns boolean") ADD_TO_API("rawget","(table, index)","non-metamethod get value of table[index], index != nil") ADD_TO_API("rawset","(table, index, value)","non-metamethod set value of table[index], index != nil") ADD_TO_API("require","(packagename)","loads package, updates _LOADED, returns boolean") ADD_TO_API("setfenv","(f, table)","sets env, f can be a function or number (stack level, default=1), 0=global env") ADD_TO_API("setmetatable","(table, metatable)","sets metatable, nil to remove metatable") ADD_TO_API("tonumber","(e [, base])","convert to number, returns number, nil if non-convertible, 2<=base<=36") ADD_TO_API("tostring","(e)","convert to string, returns string") ADD_TO_API("type","(v)","returns type of v as a string") ADD_TO_API("unpack","(list)","returns all elements from list") ADD_TO_API("xpcall","(f, err)","pcall function f with new error handler err ") ADD_TO_API("next","(table [, index])","returns next index,value pair, if index=nil (default), returns first index") ADD_TO_API("gcinfo","()","returns dynamic mem in use","(KB)",", and current GC threshold (KB) ") ADD_TO_API("coroutine.create","(f)","creates coroutine from function f, returns coroutine") ADD_TO_API("coroutine.resume","(co, val1, ...)","continues execution of co, returns bool status plus any values") ADD_TO_API("coroutine.status","(co)","returns co status: \"running\", \"suspended\" or \"dead\"") ADD_TO_API("coroutine.wrap","(f)","creates coroutine with body f, returns function that resumes co") ADD_TO_API("coroutine.yield","(val1, ...)","suspend execution of calling coroutine") ADD_TO_API("debug.debug","()","enters interactive debug mode, line with only \"cont\" terminates") ADD_TO_API("debug.gethook","()","returns current hook function, hook mask, hook count") ADD_TO_API("debug.getinfo","(function [, what])","returns table with information about a function") ADD_TO_API("debug.getlocal","(level, local)","returns name and value of local variable with index local at stack level") ADD_TO_API("debug.getupvalue","(func, up)","returns name and value of upvalue with index up of function func") ADD_TO_API("debug.sethook","(hook, mask [, count])","sets given function as a hook, mask=\"[crl]\"") ADD_TO_API("debug.setlocal","(level, local, value)","sets local variable with index local at stack level with value") ADD_TO_API("debug.setupvalue","(func, up, value)","sets upvalue with index up of function func with value") ADD_TO_API("debug.traceback","([message])","returns a string with a traceback of the call stack") ADD_TO_API("file:close","()","closes file") ADD_TO_API("file:flush","()","saves any written data to file") ADD_TO_API("file:lines","()","returns iterator function to return lines, nil ends") ADD_TO_API("file:read","(format1, ...)","reads file according to given formats, returns read values or nil") ADD_TO_API("file:seek","([whence] [, offset])","sets file pos, whence=\"set\"|\"cur\"|\"end\", defaults \"curr\",0, returns file pos") ADD_TO_API("file:write","(value1, ...)","writes strings or numbers to file") ADD_TO_API("io.close","([file])","closes file, or the default output file") ADD_TO_API("io.flush","()","flushes the default output file") ADD_TO_API("io.input","([file])","opens file in text mode, sets as default input file, or returns current default input file") ADD_TO_API("io.lines","([filename])","open file in read mode, returns iterator function to return lines, nil ends") ADD_TO_API("io.open","(filename [, mode])","opens file in specified mode \"[rawb+]\", returns handle or nil") ADD_TO_API("io.output","([file])","opens file in text mode, sets as default output file, or returns current default output file") ADD_TO_API("io.read","(format1, ...)","reads file according to given formats, returns read values or nil") ADD_TO_API("io.stderr","file descriptor for STDERR") ADD_TO_API("io.stdin","file descriptor for STDIN") ADD_TO_API("io.stdout","file descriptor for STDOUT ") ADD_TO_API("io.tmpfile","()","returns a handle for a temporary file, opened in update mode") ADD_TO_API("io.type","(obj)","returns \"file\" if obj is an open file handle, \"close file\" if closed, or nil if not a file handle") ADD_TO_API("io.write","(value1, ...)","writes strings or numbers to file") ADD_TO_API("math.abs","(v)","returns absolute value of v") ADD_TO_API("math.acos","(v)","returns arc cosine value of v in radians") ADD_TO_API("math.asin","(v)","returns arc sine value of v in radians") ADD_TO_API("math.atan","(v)","returns arc tangent value of v in radians") ADD_TO_API("math.atan2","(v1, v2)","returns arc tangent value of v1/v2 in radians") ADD_TO_API("math.ceil","(v)","returns smallest integer >= v") ADD_TO_API("math.cos","(rad)","returns cosine value of angle rad") ADD_TO_API("math.deg","(rad)","returns angle in degrees of radians rad") ADD_TO_API("math.exp","(v)","returns e^v") ADD_TO_API("math.floor","(v)","returns largest integer <= v") ADD_TO_API("math.frexp","(v)","returns mantissa [0.5,1) and exponent values of v") ADD_TO_API("math.ldexp","(v1, v2)","returns v1*2^v2") ADD_TO_API("math.log","(v)","returns natural logarithm of v") ADD_TO_API("math.log10","(v)","returns logarithm 10 of v") ADD_TO_API("math.max","(v1, ...)","returns maximum in a list of one or more values") ADD_TO_API("math.min","(v1, ...)","returns minimum in a list of one or more values") ADD_TO_API("math.mod","(v1, v2)","returns remainder of v1/v2 which is v1 - iV2 for some integer i") ADD_TO_API("math.pow","(v1, v2)","returns v1 raised to the power of v2") ADD_TO_API("math.rad","(deg)","returns angle in radians of degrees deg") ADD_TO_API("math.random","([n [, u]])","returns random real [0,1), integer [1,n] or real [1,u] (with n=1) ") ADD_TO_API("math.randomseed","(seed)","sets seed for pseudo-random number generator") ADD_TO_API("math.sin","(rad)","returns sine value of angle rad ") ADD_TO_API("math.sqrt","(v)","returns square root of v") ADD_TO_API("math.tan","(rad)","returns tangent value of angle rad") ADD_TO_API("os.clock","()","returns CPU time used by program in seconds") ADD_TO_API("os.date","([format [, time]])","returns a string or table containing date and time, \"*t\" returns a table") ADD_TO_API("os.difftime","(t2, t1)","returns number of seconds from time t1 to time t2") ADD_TO_API("os.execute","(command)","executes command using C function system, returns status code") ADD_TO_API("os.exit","([code])","terminates host program with optional code, default is success code") ADD_TO_API("os.getenv","(varname)","returns value of environment variable varname. nil if not defined") ADD_TO_API("os.remove","(filename)","deletes file with given name, nil if fails") ADD_TO_API("os.rename","(oldname, newname)","renames file oldname to newname, nil if fails") ADD_TO_API("os.setlocale","(locale [, category])","set current locale of program, returns name of new locate or nil") ADD_TO_API("os.time","([table])","returns current time (usually seconds) or time as represented by table") ADD_TO_API("os.tmpname","()","returns a string with a filename for a temporary file (dangerous! tmpfile is better)") ADD_TO_API("string.byte","(s [, i])","returns numerical code, nil if index out of range, default i=1") ADD_TO_API("string.char","(i1, i2, ...)","returns a string built from 0 or more integers") ADD_TO_API("string.dump","(function)","returns binary representation of function, used with loadstring") ADD_TO_API("string.find","(s, pattern [, init [, plain]])","matches pattern in s, returns start,end indices, else nil") ADD_TO_API("string.format","(formatstring, e1, e2, ...)","returns formatted string, printf-style") ADD_TO_API("string.gfind","(s, pat)","returns iterator function that returns next captures from pattern pat on s") ADD_TO_API("string.gsub","(s, pat, repl [, n])","returns copy of s with pat replaced by repl, and substitutions made") ADD_TO_API("string.len","(s)","returns string length") ADD_TO_API("string.lower","(s)","returns string with letters in lower case") ADD_TO_API("string.rep","(s, n)","returns string with n copies of string s") ADD_TO_API("string.sub","(s, i [, j])","returns substring from index i to j of s, default j=-1 (string length)") ADD_TO_API("string.upper","(s)","returns string with letters in upper case") ADD_TO_API("table.concat","(table [, sep [, i [, j]]])","returns concatenated table elements i to j separated by sep") ADD_TO_API("table.foreach","(table, f)","executes f(index,value) over all elements of table, returns first non-nil of f") ADD_TO_API("table.foreachi","(table, f)","executes f(index,value) in sequential order 1 to n, returns first non-nil of f") ADD_TO_API("table.getn","(table)","returns size of table, or n field, or table.setn value, or 1 less first index with nil value") ADD_TO_API("table.insert","(table, [pos,] value)","insert value at location pos in table, default pos=n+1") ADD_TO_API("table.remove","(table [, pos])","removes element at pos from table, default pos=n") ADD_TO_API("table.setn","(table, n)","sets size of table, n field of table if it exists") ADD_TO_API("table.sort","(table [, comp])","sorts in-place elements 1 to n, comp(v1,v2) true if v1