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
Page.GetFocus
OverviewExamples
string Page.GetFocus ( )
De s cr ip t ion
Returns the name of the object that currently has focus.
Note: Focus can only be returned for the following object types: QuickTime, Flash, xButton, CheckBox, RadioButton, Input, ComboBox, ListBox, Tree, Grid, and RichText objects. It may also apply to various types of plugin objects that support focus.
P arame t er s
None.
Re t u r n s
(string) The name of the object that currently has focus. If no object has focus or an error occurs, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.