Welcome
ABI
3.0.0.1
Action Bank Infusion
This plugin adds some much-needed, functions to the general Action Bank.
New Actions range from DialogEx functions to XML functions and are infused directly into their respective parent tables.
Free to use and distribute.
Centauri Soldier
www.AMSPublic.com
CentauriSoldier@AMSPublic.com
Copyright © 2010 AMSPuclic.com
Place the "ABI" folder in your "AutoPlay Media Studio 8.0/Plugins/Action" folder.
Application.GetPageOrDialog
Application.IsDialog
DialogEx.Close
DialogEx.Show
Folder.Clear
Folder.GetEndFolder
Folder.GetParent
String.Capatalize
String.IsBlank
String.ToTable
Window.Center
(string) Application.GetPageOrDialog () |
Returns the name of the current page or dialog.
(string)
Returns the name of the page or dialog.
(boolean) Application.IsDialog () |
Determines whether or not the current window is a dialog.
(boolean)
Returns true if the current window is a dialog and false if it is a page.
DialogEx.Close ( | (variant) Argument = vRet ) |
Together with the revised, DialogEx.Show() function, this function allows the programmer to return any variable type from a DialogEx window.
Note: This DialogEx code is the combination of code By Centauri Soldier and Shadiku (ShadowUK)
(variant) The argument you wish to return.
Note: This can be of ANY variable type.
This action dose not return any value.
(number) DialogEx.Show ( | (string) Dialog = "MyDialog" ) |
Together with the revised, DialogEx.Close() function, this function allows the programmer to return any variable type from a DialogEx window.
Note: This DialogEx code is the combination of code By Centauri Soldier and Shadiku (ShadowUK)
(string) The name of the Dialog you wish to show.
(number)
Returns any value entered to the variable assigned to DialogEx.Show()
Additional:
This function operates exactly as the original except that you can return any variable type you desire (string, number, table etc.).
(boolean) Folder.Clear () |
Removes all files and sub folders from the specifed folder.
(boolean)
Returns 0 if the action was successful.
Returns -1 if the folder does not exist.
Returns the error number if a different error occured.
(string) Folder.GetEndFolder ( | (string) Path = "C:\\Test" ) |
Gets the name of the last folder in a folder path.
(string) The folder path to search.
(string)
Returns the last folder in the path.
If an error occurs or there is no end folder, a blank string is returned.
(string) Folder.GetParent ( | (string) Path = "C:\\Test\\New Folder" ) |
Gets the parent folder of the specified folder path.
(string) The file/folder path.
(string)
Returns the path to the parent folder.
If an error occurs then a blank string is returned.
(string) String.Capatalize ( | (string) Input = "i wish I could write properly!" ) |
Capatalizes the first letter of a string.
(string) The string to capatalize.
(string)
Returns the input string with the first word capatalized.
(boolean) String.IsBlank ( | (string) Input = " ", (boolean) Remove Spaces = true ) |
Determines whether or not the input string is blank.
(string) The input string to check.
(boolean) Whether or not all spaces should be removed when checking the string.
Note: This is very useful for instances such as getting a string from an input object that may contain only spaces.
(boolean)
Returns true if the string is blank and false if it is not.
(table) String.ToTable ( | (string) String = "Item1, Item2, Some More Stuff, etc", (string) Delimiter = "," ) |
Creates a table from a delimited string.
Note: Orginal function by IR, modified by Centauri Soldier.
(string) The original string to convert to a table.
(string) The control character that delimits the sections of the string that should separate.
(table)
Returns a numerically indexed table whose values are the delimited items in the original string.
Window.Center ( | (number) Handle = Application.GetWndHandle() ) |
Centers a window in the middle of the user's desktop.
(number) The handle of the window to center.
This action dose not return any value.
Copyright © 2010 AMSPuclic.com
This File Was Generated With AMS ActionFile Editor