Resource Tuner Scripts
RTC scripts have an .RTS (meaning Resource Tuner Script) extension. Script files are usually edited in any text editor.
There are no particular requirements except that every script must contain the Main procedure, enclosed by Sub and End Sub statements. Inside the Main procedure there can be any number of statements. A familiarity with VBScript helps with reading and writing the scripts.
Example:
Sub Main
' Place your script here
' ...
' ...
End Sub
|
Comments can be placed in the script by typing a single quotation mark at the beginning of a line. The script engine ignores all comments. For example:
' This is a brief comment describing what I'm doing. |
A description of the RTC script format and sample scripts can be found in the RTC Scripting Language Reference within the Resource Tuner Console package. Please take a few moments to review the help, you will better familiarize
yourself with the program and learn more about all the features available.
To give you an idea of how this all works, we made few sample scripts and test applications. Once installed Resorce Tuner Console, you will find the sample scripts in the directory where RTC has
been installed. The setup program will also create the "..\Demo" folder under the RTC folder, with the test applications in the "..\Demo\Src" folder.
All sample scripts are ready to run. Select one of the .BAT files located under the RTC folder to execute the script.
Resulting files will be created in the directory named "..\Demo\Release" under the directory containing the script.
The documentation on VBScript and Windows Scripting in general can currently be found at:
http://msdn.microsoft.com/scripting
http://www.devguru.com/Technologies/vbscript/QuickRef/vbscript_intro.html
Download the latest script documentation from Microsoft for ready reference, it is available as a handy .CHM file. Make sure to install it
and spend some time browsing through it. Then when you need it maybe you will not have much of a struggle finding what you need.
Download Resource Tuner Console and learn how it can make you more productive.
|