Select File to Include Commands from dialog

This dialog is displayed when you select the Include Commands from File… option from the Tools menu of the Code window. It allows you to specify the path of a text file containing commands that you want to run, for example, you can run a macro file that was saved in a previous session. The file is executed in the Code window as if each command is entered at the prompt at the bottom of the window.

The dialog is basically a File Open dialog with some additional fields that help you to find the file that you want to include.

Look in

Specify the folder containing the file. Use image\dropdown.gif to see how the current folder fits in the hierarchy on your computer. Click image\upalevel.gif to go up one level in the hierarchy.

File name

Enter the file name, or select it from the list of files displayed for the current folder.

Files of type

Select Include Files, to limit the display to files of type .inc or .log. Alternatively, you can select All to display all files in the current folder.

Set Directory

Click on image\dropdown.gif to see a list of directories that you have accessed recently. You can select a directory from the list, and it is automatically entered in Look in. Click Favorites… to open the Favorites dialog, and display a list of directories that you have set as favorites, from which you can select a directory.

Set File

Click on image\dropdown.gif to see a list of files that you have accessed recently. You can select a file from the list, and it is automatically entered in File name. Click Favorites… to open the Favorites dialog, and display a list of files that you have set as favorites, from which you can select a file.

When you have specified the file containing the commands that you want to run, click Open. The dialog is closed and the commands are run in the Code window.

Click Cancel to close the dialog without opening a file.