Beta 6 on the FTP. Many improvements if you want to use TAIVA as the main application launcher, even with a shelled HyperSpin =)
You can also restart directly from the TAIVA tray icon without setting a restart key.
From the Readme:
[ProgramLaunch]
Here you can add applications you want launched after TAIVA has started and is ready for action.
TAIVA is actually a full-fledged application launcher and you can use it as a startup script for your whole cab.
Separate arguments with a = sign.
The syntax is: <Exe To Run>=[Working Dir]=[Seconds before starting]=[ProcessToKillOnRestart and CheckForOnStartup]
Simplest Example:
C:\HyperSpin\HyperSpin.exe=
That will simply run HyperSpin.exe from that path. Note that ONE = is required afterwards at minumum.
Specify Working dir example:
C:\HyperSpin\HyperSpin.exe=C:\
That will run C:\HyperSpin.exe with a workingdir of C:\ (bad example to use HyperSpin, but some programs require it).
Or you may use:
HyperSpin.exe=C:\HyperSpin
That will run C:\HyperSpin\HyperSpin.exe and a workingdir of C:\HyperSpin. It automatically applies the workingdir to the
path if no path is specified in the first argument.
Delayed start example:
C:\HyperSpin\HyperSpin.exe==5
That will launch C:\HyperSpin\HyperSpin.exe, with no workingdir, 5 seconds after TAIVA is started.
The programs will be launched in the order defined in Settings.ini.
Example:
HyperSpin.exe=I:\Arcade\HyperSpin
C:\Windows\System32\NotePad.exe==10
That will run HyperSpin as soon as possible, then wait 10 seconds and launch Notepad.
If you've set ProgramLaunchCloseOnExit=True, then all these programs will be closed when TAIVA is closed as well.
If you've ALSO set a restart key or restart from the tray icon, all the programs will be started again automatically
so you can restart all the applications that TAIVA launches if you restart TAIVA.
This is VERY useful and this is where the 4rth argument comes in.
Say you launch one program with [ProgramLaunch] that actually launches something else. For example: I start
HyperSpinNotFullScreen.exe in TAIVA. That program actually launches HyperSpin.exe (in a window) and closes itself.
When its time to restart, it will look for HyperSpinNotFullScreen.exe to kill, but that is no longer running so HyperSpin
is not restarted. In this case, I can specify what it should kill as the 4rth argument.
Example:
C:\HyperSpin\HyperSpinNotFullScreen.exe===HyperSpin.exe
As you can see, it will start C:\HyperSpin\HyperSpinNotFullScreen.exe with no workingdir and no delay but when its time to
kill the process (ProgramLaunchCloseOnExit=True) it will look for, and kill, HyperSpin.exe. At startup, it will also not run
HyperSpinNotFullScreen.exe if HyperSpin.exe is already running.
Please note, if you launch HyperSpin shelled (for example), and have TAIVA in Startup, you can still launch HyperSpin
through TAIVA as well. TAIVA will not launch an application if it detects that it is running already, so what will happen is:
Bootup: HyperSpin launches shelled, TAIVA is launched as well, but will not start HyperSpin as its already started.
Restart TAIVA: HyperSpin (and any other programs in [ProgramLaunch] is killed and restarted automatically.
Hint: If you have one specific program that you do NOT want closed when TAIVA is closed, you can specify a dummy filename
as the 4rth argument. That way, it will check if the dummyfile is started, which is it not of course, and wont kill it.
It will also be started each time you restart TAIVA.
Example:
I:\Installed\putty.exe===dummyfile
That will launch I:\Installed\putty.exe every time TAIVA is restarted, even if its already started and it will NOT close it
when TAIVA is closed since, at startup, it will check if "dummyfile" is already started (its not) and at restart, it will try
and close the "dummyfile" process, which does not exist.