Using AutoScript

AutoScript is a tool designed to help you write PowerScript code more quickly by providing a lookup and paste service inside the Script view. It is an alternative to using the paste toolbar buttons or the Browser. It allows you to paste functions, events, variables, properties, and templates for TRY, DO, FOR, IF, and CHOOSE statements into your script without moving your hands away from the keyboard.

If you are not sure what the name or syntax of a function is or what the names of certain variables are, AutoScript can show you a list to choose from. You can paste what you need right into the script. If you can remember part of the name, start typing and select Edit>Activate AutoScript (or do nothing if automatic pop-up is turned on). If you cannot remember the name at all, right-click in Script view white space and select Activate AutoScript from the pop-up menu.

Where you use AutoScript

You can use AutoScript in three different contexts:

For how to use AutoScript options, see “Customizing AutoScript”.

Two ways to use AutoScript

AutoScript can pop up a list automatically when you pause while typing, or when you request it:

For how to paste an item from the pop-up window into a script, see “Using the AutoScript pop-up window”.