|

ResultVariable


When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

image

Button.GetSize

OverviewExamples

table Button.GetSize ( string ObjectName )


De s cr ip t ion


Returns the pixel dimensions of a button object.


P arame t er s


ObjectName


(string) The name of the button object.


Re t u r n s


(table) A table containing the object's pixel dimensions, indexed by values "Width" and "Height." If the object cannot be found, nil will be returned. You can use Application.GetLastError to determine whether this action failed, and why.


|