Before the introduction of python in version 5, I used to be able to start a script file automatically at startup. How I did this before, was to have a line at the end of the “Boot.txt” file that would include the script that I wanted to run at startup. Something like this:
#include "MyScript.txt"
This would run the script file at startup. Now the change of the application to run Python files during startup, this functionality is gone. So far, I’ve tried these methods at the end of SSEngine.py, but they seem to only expect Python files:
SoundSpectrum.RunFile( '/Library/ MyScript.txt’)
SoundSpectrum.Include( '/Library/ MyScript.txt’)
These methods load the script, but it is interpreted as though it is a python file.
However, if I change the name to CTRL X.txt, and type CTRL X on the keyboard, the file loads and runs as expected.
Is there any way to run a (.txt) script file during startup?
Running a script file (MyScript.txt) from startup
Moderators: BTT, andy55, b.dwall, juxtiphi
Re: Running a script file (MyScript.txt) from startup
Yes, TODAY anyway [at least on Win7]ddonovan wrote:Before the introduction of python ...
:
Is there any way to run a (.txt) script file during startup?
Edit into:
C:\Program Files (x86)\SoundSpectrum\G-Force\Resources\Common\Startup.txt
Since 'I' have no control, I am not sure how long this method will work.
jrm