Home Page · Up 1 Level · Site Map · Send Us Mail · ICDIA Main


Starting MediaMogul Automatically from CDIPlayback

CDIPlayback looks for the file startup just after it resets in the CD-RTOS mode. If it finds startup, it executes any commands found there. This is identical in concept to the DOS autoexec.bat file, and similar in concept to Macintosh "Start Up Items" folder.

startup can contain any number of valid OS-9 system commands or OS-9 program commands. The most common use of the startup file it to automatically start MediaMogul without using the pulldown menu, quick key or other manual method after a reset.

Below is an example startup file that actually works. It uses the system sleep command to alternately sleep (pause) for one second, then echo a message, sleep, echo, etc...until 5 seconds have elasped. The last command runs the procedure file that starts MediaMogul.

To make the startup file, open your favorite text edtitor and type in the following. Save the file as PLAIN TEXT, and as the file name STARTUP. The startup file must be at the ROOT of your MediaMogul folder (directory).

-nt
echo You have 5 seconds to abort the start of MediaMogul.
echo Click in this window, then press Control-E to abort.
sleep -s 1
echo 5 seconds...you have plenty of time...
sleep -s 1
echo 4 seconds...getting closer...
sleep -s 1
echo 3 seconds...halfway...
sleep -s 1
echo 2 seconds...be quick about it...
sleep -s 1
echo 1 second...almost a lost cause...
sleep -s 1
echo TOO LATE...here we go...
strt_mm

Be sure to put a carriage return (blank line) after strt_mm. The startup file MUST have a blank line as the last line.


Home Page · Up 1 Level · Site Map · Send Us Mail · ICDIA Main