This is the main editing window used to edit macros for the Script Tool.

The editor window has the following elements:
Use the editor much like you would notepad. You can type, insert, cut, copy, paste, and undo. Use the right mouse button when in the editor to get a special menu of features available.
The far left of the editor window has a list of line numbers. Use these to help find errors in your scripts when an error is reported.
The editor window has the ability to provide syntax highlighting of common Visual Basic scripting terms, as well as the Script Tool extensions.
Additionally, after typing the ck. object definition, you will be presented with a list of all the available methods and properties of the Script Tool object. When editing a Script Tool method, a tool tip will appear showing the current parameters for the method.
You can use the magnifying glass to assist you in determining the window name and class for the software in question.
To use the tool:
Highlight the section in your code to include both the window name and class (including the double quotes) that you are searching for..
Start your application normally. Wait for the main window to appear. Make sure you can see the window while you are looking at this form.
Hold down the left mouse button over the magnifying glass icon. Your mouse pointer will change to look like the magnifying glass.
Move the magnifying glass over the caption title bar for the software application you want the window name and class for by moving your mouse. If the application is hidden, you will have to release the mouse button, move the windows around a bit, and start again at step 1.
Release the mouse button.
The magnifying glass tool will then populate the Window Name and Window Class of the window you selected. You may need to edit these values before you can use them -- see the section on window names and classes for more information.
You can use the Mouse Click tool to assist you in determining the window name and class as well as position for a mouse click.
To use the tool:
Highlight the section in your code to include all of the window name,class (including the double quotes), and both the X and Y offsets for the MouseClick event you are going to use.
Start your application normally (if not already). Wait for the main window to appear. Make sure you can see the window you want to click in while you are looking at the editor.
Hold down the left mouse button over the mouse click tool icon. Your mouse pointer will change to look like the mouse icon.
Move the mouse icon over the area you want the click to activate at by moving your mouse. If the application is hidden, you will have to release the mouse button, move the windows around a bit, and start again at step 1.
Release the mouse button.
The mouse click tool will then populate the Window Name, Window Class, and both the OffsetX and OffsetY for the window you selected. You may need to edit these values before you can use them -- see the section on window names and classes for more information on window classes and names. If the offsets seem to be inaccurate, you may have to adjust these manually do get the desired effect.