Welcome
Action Extension Plugin
1.2.0.0
Pack of actions and functions useful for Autoplay Media Studio
Ceone&rafaxplayer
amsspecialist.info
Autoplay Media Studio 8
AE.AudioSecToTime
AE.GridFindSelected
AE.GridFindCellText
AE.GridResetCellColor
AE.ImageSetCurProgress
AE.ImageGetCurProgress
AE.ImageLoadFadeImage
AE.ImageFadeIn
AE.ImageFadeOut
AE.InputSetWordWrap
AE.InputGetWordWrap
AE.InputSaveToFile
AE.InputLoadFromFile
AE.InputAlignText
AE.ListBoxAddCharacter
AE.ListBoxDelCharacter
AE.ListBoxDeleteItemsRepeat
AE.PageOverObject
AE.PageDragAndDrop
AE.PageMoveGroup
AE.SessionVarExpand
AE.SessionVarGet
AE.SessionVarRemove
AE.SessionVarSet
AE.SessionVarGetAll
AE.StringRandomFromPattern
AE.StringDelimitedToTable
AE.StringGetLastFolder
AE.StringGetAllFolder
AE.SystemFindAndCloseProcess
AE.SystemLogOff
AE.SystemClose
AE.TableDelimitedToString
AE.WindowSetPosAlwais
AE.ZipAddFile
AE.ZipAddFolderTree
AE.TablePrint
AE.InputSetTextAppend
AE.TreeGetNodes
AE.GridGetCells
AE.GridExSaveToFile
AE.GridExLoadFromFile
(table) AE.AudioSecToTime ( | (number) Seconds, (boolean) TableMode = false ) |
It turns seconds into format time. The time is represented as a number based 60. (limited in 86400 Secs = Day). if active table mode return system is, Example: result.Hours or result.Minutes or result.Seconds or result.Complete.
(number) Secons to convert in format time.
(boolean) Table mode is for return table with all values. Example: result.Hours or result.Minutes or result.Seconds or result.Complete.
(table)
(table) AE.GridFindSelected ( | (string) ObjectName ) |
Find selected to return Row and Column.
(string) The name of the object.
(table)
AE.GridFindCellText ( | (string) ObjectName, (string) FindText = "", (number) ColorHighlighted = 10092543, (boolean) ResetColor = true, (table) PropertiesTable ) |
Find the text in the object.
(string) The name of the object.
(string) The text you want in the object.
(number) The color highlighted cell.
(boolean) Reset the color highlighted cell.
(table) The table of properties to set color cells.
This action dose not return any value.
AE.GridResetCellColor ( | (string) ObjectName, (boolean) DefineColors = false, (number) BackgroundColor = 16777215, (number) TextColor = 0 ) |
To Reset the cell colors.
(string) The name of the object.
(boolean) To define colors of items in the object.
(number) The BackgroundColor.
(number) The Text color.
This action dose not return any value.
AE.ImageSetCurProgress ( | (string) ObjectName, (number) SizeImageWidth, (number) ProgressPosition, (function) CallbackFunction = nil ) |
Set current position progress to select image.
(string) The name of the image object.
(number) Width size to select image file.
(number) Current pogress position to select image file.
(function) The name of a function that will be called whenever progress is made in the copy operation.
This action dose not return any value.
(number) AE.ImageGetCurProgress ( | (string) ObjectName, (number) SizeImageWidth ) |
Returns progress from the specified image file.
(string) The name of the image object.
(number) Width size to select image file.
(number)
AE.ImageLoadFadeImage ( | (string) ObjectName, (string) ImageFile, (number) MaximunOpacity, (number) MinimumOpacity, (number) TimeOut, (function) FunctionInBetween = nil ) |
This action loads an image and in the meanwhile it fades the old loaded image out. When loading this image, it will fade in.
(string) Image object, must be a string and ofcourse of type OBJECT_IMAGE
(string) Image File, Must exist, be string and an image file
(number) Maximum Opacity, Must be of type number and lower than 100, higher than 0."OPTIONAL"
(number) Minimum Opacity, Must be of type number and higher than 0, lower than 100."OPTIONAL"
(number) Timeout, The timeout in miliseconds between every opacity change."OPTIONAL"
(function) Function in between, You can parse a function that will be executed between fading out and fading in the image."OPTIONAL"
This action dose not return any value.
(boolean) AE.ImageFadeIn ( | (string) ObjectName, (number) MaximunOpacity, (number) TimeOut ) |
Image Object, Must be of type OBJECT_IMAGE and must be parsed as string.
(string) The name of the image object.
(number) Maximum Opacity, Must be of type number and lower than 100, higher than 0."OPTIONAL"
(number) Timeout, The timeout in miliseconds between every opacity change."OPTIONAL"
(boolean)
(boolean) AE.ImageFadeOut ( | (string) ObjectName, (number) MinimumOpacity, (number) TimeOut ) |
Image Object, Must be of type OBJECT_IMAGE and must be parsed as string.
(string) The name of the image object.
(number) Minimum Opacity, Must be of type number and higher than 0, lower than 100."OPTIONAL"
(number) Timeout, The timeout in miliseconds between every opacity change."OPTIONAL"
(boolean)
AE.InputSetWordWrap ( | (string) ObjectName, (boolean) HorizontalScroll = true ) |
Set Horizontal Scroll to select input.
(string) The name of the input object.
(boolean) Show Horizontal Scroll to input object true or false.
This action dose not return any value.
(boolean) AE.InputGetWordWrap ( | (string) ObjectName ) |
Return if Horizontal Scroll is enable or disable.
(string) The name of the input object.
(boolean)
AE.InputSaveToFile ( | (string) ObjectName, (string) FileName, (boolean) Append = false ) |
For save text to input object in file.
(string) The name of the input object.
(string) The path to the destination file that you want save.
(boolean) Whether to append the string to the end of the text file.
This action dose not return any value.
AE.InputLoadFromFile ( | (string) ObjectName, (string) FileName ) |
For load text and print in input object from file.
(string) The name of the input object.
(string) The path to the destination file that you want load.
This action dose not return any value.
AE.InputAlignText ( | (string) ObjectName, (number) Align = ALIGN_LEFT ) |
For set align text in input object.
(string) The name of the input object.
(number) Set align text.
CONSTANT | VALUE | DESCRIPTION |
ALIGN_LEFT | NA | NA |
ALIGN_CENTER | NA | NA |
ALIGN_RIGHT | NA | NA |
This action dose not return any value.
AE.ListBoxAddCharacter ( | (string) ObjectName, (string) Char = "*", (boolean) OtherChar = false ) |
To add a character predefined or personalized in front of all the items of a listbox.
(string) The name of the listbox object.
(string) The char to add.
CONSTANT | VALUE | DESCRIPTION |
"*" | NA | NA |
"-" | NA | NA |
"~" | NA | NA |
">" | NA | NA |
"#" | NA | NA |
(boolean) Use others char not default.
This action dose not return any value.
AE.ListBoxDelCharacter ( | (string) ObjectName, (string) Char = "*", (boolean) OtherChar = false ) |
To delete a character predefined or personalized of all the item of a listbox
(string) The name of the listbox object.
(string) The char to add.
CONSTANT | VALUE | DESCRIPTION |
"*" | NA | NA |
"-" | NA | NA |
"~" | NA | NA |
">" | NA | NA |
"#" | NA | NA |
(boolean) Use others char not default.
This action dose not return any value.
AE.ListBoxDeleteItemsRepeat ( | (string) ObjectName ) |
To delete the repeated items of an object of listbox.
(string) The name of the listbox object.
This action dose not return any value.
(boolean) AE.PageOverObject ( | (string) ObjectName ) |
Based in IsInRectEX Function. Is to detect if the mouse cursor is inside an object's rectangle of the specified object.
(string) The name of the object.
(boolean)
AE.PageDragAndDrop ( | (string) NamePage, (string) NameObject ) |
Moves object on page.
(string) Name page.
(string) name object
This action dose not return any value.
AE.PageMoveGroup ( | (table) Group Objects = {"Button1", "Button2"}, (number) X Difference = 100, (number) Y Difference = 100, (boolean) Redraw = false ) |
This action moves all of the items in a group by a specific value X and Y.
(table) The name of the items with which to work. (In table Format)
(number) The number of pixles by which to move the group horizontally.
(number) The number of pixles by which to move the group vertically.
(boolean) Whether or not to redraw the application during the process.
This action dose not return any value.
(string) AE.SessionVarExpand ( | (string) Text ) |
Returns a string containing the contents of the given session variable.
(string) The session variable string you want to expand.
(string)
(string) AE.SessionVarGet ( | (string) VariableName ) |
Returns the unexpanded contents of a session variable.
(string) The name of the session variable whose contents you want.
(string)
AE.SessionVarRemove ( | (string) VariableName ) |
Removes the given session variable from the session variable manager at runtime.
(string) The name of the session variable you want to remove (undefine).
This action dose not return any value.
AE.SessionVarSet ( | (string) VariableName, (string) Value ) |
Sets the given session variable to the specified value.
(string) The name of the session variable whose value you want to set.
(string) The value you want to set the session variable to.
This action dose not return any value.
(table) AE.SessionVarGetAll () |
Returns all contents of a session variable.
(table)
(string) AE.StringRandomFromPattern ( | (string) Pattern ) |
To return a random string based on a given pattern.
(string) The pattern to base the random string on. # = (0-9), * = (A-Z), @ = (a-z), ? = (0-9,A-Z), ~ = (0-9,A-Z,a-z). Any other charater is the same. More information: # - A random digit (0-9) * - A random uppercase letter (A-Z) @ - A random lowercase letter (a-z) ? - A random digit or uppercase letter (0-9,A-Z) ~ - A random digit, upppercase or lowercase letter (0-9,A-Z,a-z) Any other charater - Remains the same. Examples: String.RandomFromPattern("###-###"); -- could produce: "6355-0989" String.RandomFromPattern("TEST-***"); -- could produce: "TEST-HAJ" String.RandomFromPattern("~~~~~~~~~~"); -- could produce: "7Hg543fp02"
(string)
(table) AE.StringDelimitedToTable ( | (string) DelimitedString, (string) Delimiter ) |
Breaks up a string given a delimiter into a table. Returns A numerically indexed table with the string elements.
(string) The string to parse.
(string) The delimiter.
(table)
(string) AE.StringGetLastFolder ( | (string) FilePath ) |
Returns a last folder path.
(string) The file path you want the last folder.
(string)
(string) AE.StringGetAllFolder ( | (string) FilePath ) |
Returns all folders in the specified path.
(string) The file path you want to abbreviate.
(string)
AE.SystemFindAndCloseProcess ( | (string) Programname, (boolean) Question = true, (string) Personalizedquestion ) |
Find and close running process on the local system.
(string) The full name of program.
(boolean) To activate question to close the application.
(string) This is for personalized text of question.
This action dose not return any value.
AE.SystemLogOff () |
Log off the user's system.
This action dose not return any value.
AE.SystemClose () |
Close the user's system.
This action dose not return any value.
(variant) AE.TableDelimitedToString ( | (table) Table, (string) Delimiter ) |
Makes a table into a delimited string. Returns a delimited string of the table elements.
(table) The table to make into a string.
(string) The delimiter.
(variant)
AE.WindowSetPosAlwais ( | (variant) Position ) |
Set the position of the application using a predefined parameters, respecting the taskbar.
(variant) Set Application Position.
CONSTANT | VALUE | DESCRIPTION |
TOP_CENTER | NA | NA |
TOP_RIGTH | NA | NA |
TOP_LEFT | NA | NA |
CENTER | NA | NA |
LEFT_CENTER | NA | NA |
RIGTH_CENTER | NA | NA |
BOTTOM_LEFT | NA | NA |
BOTTOM_CENTER | NA | NA |
BOTTOM_RIGTH | NA | NA |
This action dose not return any value.
AE.ZipAddFile ( | (string) ZipFile, (table) FilesToAdd, (boolean) IncludeFolderNames = true, (string) Password = "", (number) CompFactor = 5, (function) CallbackFunction = nil, (boolean) Recurse = false ) |
Adds a file (or multiple files if you use a mask) to a Zip file by filename instead of using a table to specify filenames. Same Arguments as Zip.Add except that the second argument (FileToAdd) is a filename instead of a table.
(string) The full path and file name of the Zip archive file.
(table) A table containing the full paths to all of the files you want to add.
(boolean) Whether to preserve folder names in the archive when adding files.
(string) The password to use to protect the Zip file. This password will be needed to extract the files. This parameter is optional. If you don't want to protect the Zip file, just leave this parameter blank.
(number) The compression factor to use for the Zip file (0-9). 0 is the fastest and compresses the least, 9 is the slowest and compresses the most. The default is 5.
(function) The name of a function that will be called whenever progress is made in adding a file to the Zip archive. (You can use this callback function to display the progress of each file's archiving in your own custom way.).
(boolean) Whether to recurse subfolders when wildcards are used.
This action dose not return any value.
AE.ZipAddFolderTree ( | (string) ZipFile, (table) BaseFolder, (string) Password = "", (number) CompFactor = 5, (function) CallbackFunction = nil ) |
Adds an entire folder tree (a folder, the files it contains and all files in all subfolders.Same as Zip.Add except that the second argument (BaseFolder) is a folder path instead of a table and the IncludeFolderNames and Recurse arguments are not passed in (they are set automatically).
(string) The full path and file name of the Zip archive file.
(table) Full paths to all of the folder you want to add.
(string) The password to use to protect the Zip file. This password will be needed to extract the files. This parameter is optional. If you don't want to protect the Zip file, just leave this parameter blank.
(number) The compression factor to use for the Zip file (0-9). 0 is the fastest and compresses the least, 9 is the slowest and compresses the most. The default is 5.
(function) The name of a function that will be called whenever progress is made in adding a file to the Zip archive. (You can use this callback function to display the progress of each file's archiving in your own custom way.).
This action dose not return any value.
(string) AE.TablePrint ( | (table) tbl ) |
Print tables (thanks webultra)
(table) Table to print
(string) Returns a string with the table
t={"a","b","c","d","e","f","g"};
Debug.ShowWindow(true);
Debug.Print(AE.TablePrint(t));
AE.InputSetTextAppend ( | (string) ObjectName, (string) Text, (boolean) Append = true ) |
Set text to imput and opcion append
Note: add text input even without overwriting
(string) Name of the object
(string) Text to print
(boolean) True append , false not append
Value | Description |
true | (Default) Append |
false | Not Append |
This action dose not return any value.
Input.SetTextAppend("Input1","More text",true);
(table) AE.TreeGetNodes ( | (string) TreeName = "Tree1" ) |
Get de tree nodes contens
(string) The name of tree object
(table) A table containing all node's properties, indexed by the following keys:
t=Tree.GetNodes(TreeName)
Debug.ShowWindow(true);
Debug.Print(AE.TablePrint(t));
(table) AE.GridGetCells ( | (string) strGrid = "Grid1" ) |
Get all properties of cells Object
(string) The Object Name
(table)
sFile= "AutoPlay\\Docs\\Grid.csv"
delimitier = ",";
strObject= "Plugin2";
AE.GridExLoadFromFile(strObject,sFile,delimit
AE.GridExSaveToFile ( | (string) ObjectName, (string) Delimitier = "," ) |
Use to save GridEx Object plugin data to file, delimitier string
(string) Name of te Gridex Object
(string) Delimitier used
This action dose not return any value.
AE.GridExLoadFromFile ( | (string) ObjectName, (string) FilePath, (string) Delimitier ) |
Load gridex data from file
(string) Name of the Object
(string) File path
(string) Delimitier used
This action dose not return any value.
This File Was Generated With AMS ActionFile Editor