Run Scripts Script

Home Up Next

 

 

Run Scripts Script by Patrick Rutledge

This is a script that launches other scripts. Its purpose is to provide quick launching of frequently used scripts. It searches the directory specified by the path map '$MY_SCRIPTS, and lists all the scripts there in a dialog. Double-clicking on a script launches it. The main difference between this and "exec", shipped with Rose, 'is that "exec" uses a standard file dialog for selecting the script to run. The standard file dialog starts in the current working directory; this script presents only a list of 'scripts in $MY_SCRIPTS. Comments in the script indicate how to change it to run compiled scripts.

Installation instruction

  1. Place the script in your $SCRIPT_PATH directory (the Rose directory by default).  Name it runScript.ebs.
  2. Place your frequently used scripts in a directory.  Define a virtual path map named $MY_SCRIPTS that points to this directory.
  3. Add the following command to the Tools menu portion of your rose.mnu file (in the Rose directory).

    'Separator
    'Option "Run Scripts"
    '{
    'RoseScript $SCRIPT_PATH\runScript.ebs
    '}

Download (3KB) (Aug-1998)

www.rationalrose.com/scripts/runscriptsscript.ebs


All products mentioned are registered trademarks or trademarks of their respective companies.
Send mail to webmaster@rationalrose.com with questions or comments about this web site. 
Copyright © 1999-2000 Michael Moors
Last modified: February 23, 2000