AutoScript tab
Description
Set options for AutoScript. AutoScript provides a look-up
and paste service in the Script view. Press the F8 key to open a
pop-up window that displays possible completions or insertions at
the cursor location. If there is only one possible completion or
insertion it is pasted directly into the script. You can invoke
AutoScript using F8 when you have typed one or more characters,
after a dot, or in whitespace. You can also have AutoScript pop
up a window automatically when you have typed one or more characters
of an identifier followed by a dot.
Options
Partial Name Resolution Include
Select the code elements you want to display when you have
typed one or more characters.
-
Arguments
Arguments for the current function or event.
-
Local Variables
Variables defined in the current script.
-
Instance Variables
Variables defined for and associated with an instance of the
current object. -
Shared Variables
Variables defined for the current object and associated with
all instances of it. -
Global Variables
Variables defined for the current application.
-
Properties
Properties for the current object.
-
Methods
Functions and events for the current object.
-
Statement Templates
PowerScript statement templates for each type of IF, FOR,
CHOOSE CASE, DO, or TRY statement with comments indicating what
code should be inserted.
After a Dot Include
Select the code elements you want to display when you have
typed an identifier followed by a dot.
-
Properties
Properties for the object preceding the dot.
-
Instance Variables
Variables associated with the object preceding the dot.
-
Methods
Functions and events for the object preceding the dot.
When No Context Include
Select the code elements you want to display when the cursor
is at the beginning of a line or in white space.
-
Arguments
Arguments for the current function or event.
-
Local Variables
Variables defined in the current script.
-
Instance Variables
Variables defined for and associated with an instance of the
current object. -
Properties
Properties for the current object. Includes controls on the current
window. -
Methods
Functions and events for the current object.
Options
Set these options to control when the pop-up window displays.
-
Activate Only After a Dot
Select if you want the pop-up window to display only after
a dot. When this box is checked, the pop-up window displays when
you have typed a dot. It does not display if you enter any characters
after the dot. -
Show Return Types
Select if you want the pop-up window to display the return
types of functions. -
Automatic Pop-up
Select if you want the pop-up window to display automatically
when you pause after typing one or more characters or a dot. Automatic
pop-up does not work when the cursor is in white space. You can
clear options in the Include groupboxes and/or check Activate
Only After a Dot to further reduce the frequency with which the
pop-up window displays. -
Delay (Milliseconds)
Specify the number of milliseconds to wait before displaying
the pop-up window.