OverviewExamples
table Progress.GetProperties ( |
Returns a table containing the properties of a progress object.
(string) The name of the progress object.
(table) A table containing the progress object's properties, indexed by the following keys:
KEY |
TYPE |
DESCRIPTION | |||||||||||||||||||||||||||||||||||||||||||||
ObjectName |
string |
The name of the progress object. | |||||||||||||||||||||||||||||||||||||||||||||
Text |
string |
The text displayed in the progress object. | |||||||||||||||||||||||||||||||||||||||||||||
FontName |
string |
The font name. | |||||||||||||||||||||||||||||||||||||||||||||
FontSize |
number |
The font size (in points). | |||||||||||||||||||||||||||||||||||||||||||||
FontStrikeout |
boolean |
True if the font is set to strikeout, false if it is not. | |||||||||||||||||||||||||||||||||||||||||||||
FontUnderline |
boolean |
True if the font is set to underline, false if it is not. | |||||||||||||||||||||||||||||||||||||||||||||
FontAntiAlias |
boolean |
True if the font is set to anti alias, false if it is not. | |||||||||||||||||||||||||||||||||||||||||||||
FontItalic |
boolean |
True if the font is set to italic, false if it is not. | |||||||||||||||||||||||||||||||||||||||||||||
FontWeight |
number |
The weight of the font (how 'dark' the text will appear):
| |||||||||||||||||||||||||||||||||||||||||||||
FontScript |
number |
The character set in use by the progress object:
| |||||||||||||||||||||||||||||||||||||||||||||
Style |
number |
The style of the progress bar:
| |||||||||||||||||||||||||||||||||||||||||||||
Orientation |
number |
The orientation of the progress bar:
| |||||||||||||||||||||||||||||||||||||||||||||
MinRange |
number |
The beginning position of the progress bar. | |||||||||||||||||||||||||||||||||||||||||||||
MaxRange |
number |
The ending position of the progress bar. | |||||||||||||||||||||||||||||||||||||||||||||
Step |
number |
The step size that will be used whenever Progress.StepIt is called. | |||||||||||||||||||||||||||||||||||||||||||||
BarColor |
number |
The color of the progress portion of the progress bar. | |||||||||||||||||||||||||||||||||||||||||||||
BackgroundColor |
number |
The color of the background of the progress bar. | |||||||||||||||||||||||||||||||||||||||||||||
TextColor |
number |
The color of the text in the progress bar. | |||||||||||||||||||||||||||||||||||||||||||||
XPStyle |
boolean |
True if the bar is 'XP' styled, false if it is not. | |||||||||||||||||||||||||||||||||||||||||||||
Enabled |
boolean |
True if the progress object is enabled, false if it is not. | |||||||||||||||||||||||||||||||||||||||||||||
Visible |
boolean |
True if the progress object is visible, false if it is not. | |||||||||||||||||||||||||||||||||||||||||||||
X |
number |
The horizontal position (in pixels) of the top left corner of the progress object in relation to the current page. Note: The top left corner of the current page has an X value of 0 | |||||||||||||||||||||||||||||||||||||||||||||
Y |
number |
The vertical position (in pixels) of the top left corner of the progress object in relation to the current page. Note: The top left corner of the current page has a Y value of 0 | |||||||||||||||||||||||||||||||||||||||||||||
Width |
number |
The width (in pixels) of the progress object. | |||||||||||||||||||||||||||||||||||||||||||||
Height |
number |
The height (in pixels) of the progress object. | |||||||||||||||||||||||||||||||||||||||||||||
TooltipText |
string |
The mouseover tooltip of the progress object. | |||||||||||||||||||||||||||||||||||||||||||||
WindowHandle |
number |
The integer value that represents the object's window. (Commonly referred to as an hWnd.) |
If the object cannot be found, nil will be returned. You can use Application.GetLastError to determine whether this action failed, and why.
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