Using the Task Scheduler

NOTE TO NT USERS:  If Internet Explorer 5.0 or greater is installed on the machine with the Off-Line Browsing Pack (which also installs the Scheduled Task folder and wizards), you can use the 'Scheduled Tasks' folder to schedule MediaMatrix events.  Scheduled Task Folder is shipped with Windows 2000.

The scheduling (command-line) interface for MediaMatrix is by using CLAMM.  All CLAMM commands can be scheduled.

In Windows NT, the Scheduled Tasks folder can be found in My Computer on the desktop.

In Windows 2000, the Scheduled Tasks folder can be found in the Control Panel.

To schedule an event, open up the Scheduled Tasks folder, and double click on 'Add Scheduled Task'. This will bring up the Scheduled Task Wizard. Follow the instructions, choosing MediaMatrix 3.x for the program you wish to run.

After hitting 'Finish', double click on the task to edit its properties. On the 'Task' page, go to the end of the 'Run' entry, and add your desired CLAMM command at the end. For example, to  play a wave file with a Wave File Player whose 'Play' button has been given a control group of 'Play', the Run entry would contain the following:

"C:\Program Files\Peavey\MediaMatrix 3.2\pavcon.exe" /ControlSet Play On

 

In this example, the /controlSet switch is used to send an "On" state to the control(s) in the "Play" control group.  "On" is the state of the control that you would see in the Status Bar when you pressed the Play button in Control Mode.  In this case, you don't have to send an "off" command because the Wave File Player will automatically turn off the Play button after playing the entire wave file (unless you have the loop button turned on).

Now, say that you want to trigger  SubPreset 14 with a scheduled task.  The only difference would be what you entered after the close quotes, which could only be one of the command-line switch options shown below.  Anyway, to load a particular SubPreset, simply put "/subpresetload <number>" where <number> is the actual SubPreset number.  This technique is identical for loading Presets, except that the command is "/presetload".

"C:\Program Files\Peavey\MediaMatrix 3.2\pavcon.exe" /subpresetload 14

 

Several people have complained that this process is too difficult, but in reality, once you've created one event, it is really no problem to copy the properly formatted Command-line from one event (or from above) to another.  You can also copy the entire event and then modify the end of the Command-line to your new requirement.

 

One more thing you have to remember is that you have to use the exact Username and Password of the account under which you will expect to have both MediaMatrix compiled, running and affected by your scheduled event.  If you are logged in under Administrator or some other account, you can still enter the default account name and password, but you cannot test the event to see if it works.  If you have MediaMatrix running as a service, this information is not as important, because MediaMatrix will be virtually running in all accounts simultaneously.

 

Copied here from the CLAMM topic is the complete table of Command-Line switches:

 

"...\pavcon.exe" <filename>

open <filename>

"...\pavcon.exe" /open <filename>

open <filename>

"...\pavcon.exe" /compile <filename>

open and compile <filename>

"...\pavcon.exe" /switch <filename>

open and compile <filename> close others

"...\pavcon.exe" /decompile

stops the sound engine

"...\pavcon.exe" /help

Launch the help system and point to the optional specified topic

"...\pavcon.exe" /presetload <number>

loads the specified Preset

"...\pavcon.exe" /subpresetload <number>

loads the specified SubPreset

"...\pavcon.exe" /controlSet <groupName> <value>

sets the <groupname> control group to <value>