The Scripts window is simply a module-specific dialog where you can place buttons for launching your scripts. It is provided to make access to your scripts easier than it would be if you had to search for your script in a list of available scripts. "Figure: Scripts Windows for each Module" illustrates the Scripts window for each module of ResSim; note that the name of the module from which you opened the Scripts window appears in the window's title bar. The script buttons that will appear in each module's Scripts panel are set by you and each panel is independent of the others. The idea is that scripts you would use in one module are not necessarily the same as those you would use in another. However, most scripts you will write will be used in the Simulation module, so, for simplicity, the following discussion of utility scripting in ResSim assumes you are working in the Simulation module.

Figure: Scripts Windows for each Module

To open the Scripts window:

  • Select Scripts… from the Tools menu of the main ResSim window.

The Scripts window contains one menu in its menu bar—Script. From the Script menu ("Figure: Scripts Window - Script Menu"), you can choose from the following options:

Figure: Scripts Window - Script Menu


  • Script Editor—in addition to accessing the Script Editor from the Tools menu of the main ResSim interface, you can access it from the Scripts panel.
  • Delete—select one or more scripts to delete from folder in the AppData area of user profile where ResSim stores your active scripts.
  • Add to Panel—add a script button to the Scripts panel of the main ResSim interface. This panel is at the bottom right of the Simulation module, below the compute button. The option opens a dialog that will also allow you to remove a button from the Scripts panel. Add to Panel cannot be used to add or remove buttons from the Scripts window; that is accomplished with the Show in Script Selector checkbox in the Script Setup pane of the Script Editor.
  • Schedule Script Job…—set a date and time to automatically run a selected script (as long as ResSim is running). The script can be scheduled to run once or on repeatedly on a regular interval ("Figure: Schedule Script Job").

    Figure: Schedule Script Job


  • Status…—opens the Script Job Status dialog ("Figure: Script Job Status") which lists the scheduled scripts their schedule and their status.

    Figure: Script Job Status


  • Close—close the Scripts panel.