Executing a Script from Within a Script

Electronics Desktop provides a script command that enables you to launch another script from within the script that is being executed.

In CPython:

oDesktop.RunScript(<ScriptName>)

If the full path to the script is not specified, Electronics Desktop searches for the specified script in the following locations, in order:

  1. Personal Library Directory (PersonalLib)
  2. User Library Directory (UserLib)
  3. System Library Directory (SysLib)
  4. Installation Directory

Each of the library directories can be specified in Electronics Desktop under Tools > Options > General Options, on the Project Options tab.