2005-03-07, 11:58 PM
Per a request in the Wishlist forum, I've written a command-line utility called RecStatus.exe.
You run it from the command line (or from within a batch file) with the following options:
 time=xx  where xx is the number of MINUTES to look ahead for a pending program to be recorded;
 silent=yes [no]  this sets whether the utility suppresses all text output about the results.
         EXAMPLE: RecStatus.exe time=10 silent=no
The utility returns the following exit codes, which can be processed by the batch file that calls it:
2 - there is a program currently recording;
1 - program is scheduled to start within the specified number of minutes (takes into account scheduled prepadding);
  0 - all clear - neither of the above is true;
Unless you run it in silent mode, RecStatus will report what program is currently being recorded, otherwise it will report the details of any pending recording that is scheduled to begin within the specified time frame.
Download it here: RecStatus.exe
You run it from the command line (or from within a batch file) with the following options:
 time=xx  where xx is the number of MINUTES to look ahead for a pending program to be recorded;
 silent=yes [no]  this sets whether the utility suppresses all text output about the results.
         EXAMPLE: RecStatus.exe time=10 silent=no
The utility returns the following exit codes, which can be processed by the batch file that calls it:
2 - there is a program currently recording;
1 - program is scheduled to start within the specified number of minutes (takes into account scheduled prepadding);
  0 - all clear - neither of the above is true;
Unless you run it in silent mode, RecStatus will report what program is currently being recorded, otherwise it will report the details of any pending recording that is scheduled to begin within the specified time frame.
Download it here: RecStatus.exe