This page describes RTG Scripts, a program designed to automate tasks involving RTG Bills and RTG Timer.
RTG Scripts was designed to automate tasks involving RTG Bills and RTG Timer. Scripts are small programs. They can start other programs, choose menu items, enter text, and do other tasks that people normally do.
RTG Scripts uses the Microsoft Windows Script Host, a feature of Windows itself, to execute scripts. The script language is Microsoft's VBScript. Several useful scripts are supplied with RTG Scripts.
Included in RTG Scripts is the RTG Report Script Wizard. This wizard creates new scripts that can generate a report. You don't need to know VBScript to use it.
For a quick introduction to RTG Scripts, take a tour:Click here for the RTG Scripts tour
The RTG Report Script Wizard, included with RTG Scripts, creates scripts that generate reports. You can create a script for any report in RTG Bills, RTG Reports, and RTG Timer.
Several scripts written by RTG are included for immediate use with RTG Bills or RTG Timer.
Prompts for values
A script can be defined to include values that you may wish to change each time you run the script. RTG Scripts gives you an easy way to see the values of these variables and change them, if you wish, before the script is run.
RTG Scripts includes programs, subroutines, and functions that a script can use to perform operations that are otherwise difficult or impossible to accomplish in VBScript alone. They will be valuable if you plan to write your own scripts.
Scripts to generate reports are automatically written when you run the RTG Report Script Wizard that is part of RTG Scripts.
Apart from report scripts, however, RTG Scripts does not write new scripts. RTG Scripts is not a macro recorder that would record your actions and play them back. In order to create a new script, you need a knowledge of VBScript (which is a simplified form of Visual Basic). For this reason, we expect most people to use the report scripts and the scripts supplied by RTG.
RTG Scripts should be able to accomplish any task that you can perform from the keyboard. This includes all, or nearly all, operations in RTG Bills and RTG Timer. However, it does not have the ability to move or click the mouse.
Here is a list of the scripts that are supplied with RTG Scripts:
In order to use RTG Scripts, you need the Windows Script Host, Version 5.6 or above. This is a feature of Windows and it is supplied by Microsoft. You should already have it installed.
To see whether you have it, and the version number, right-click this link and choose Save Target As or Save Link As:
You should save the file sdemo.vbs on your desktop. To protect you from malicious scripts, your browser may rename the file. Change the name back to sdemo.vbs so you can run it.
Double-click the icon to run the test script. You should see a message box that says something like this:
Windows Script Host version: 5.6
This should work with RTG Scripts.
If you don't have Windows Script Host installed, or you have an older version, look here for further instructions:
RTG Scripts must be installed in the RTG Bills program directory, which is usually
C:\Program Files (x86)\Rtgbills
Some of the files needed for RTG Scripts are installed in the Scripts subdirectory of the RTG Bills directory.
The RTG Scripts program itself is the file Rscripts.exe. The icon is a script R on a yellow background. During installation, a shortcut to the program is placed on your Windows desktop.
To test the program, double-click the shortcut to start RTG Scripts. You should see the main window, which contains a list of the available scripts. Script number 1000, Test the RTG Scripts installation, should be the first item on the list. Click that item to select it (if it is not already highlighted) and click the Run button. You should see a message box that says Testing RTG Scripts followed by the version number of Windows Script Host (which should be 5.6 or above), the location of the RTG Bills folder, and the number of timekeepers in your database. Click OK.
Next you will see another message, either telling you that RTG Bills will run next or that the test is complete. Running RTG Bills is an option in this script. If the script runs RTG Bills, the program should appear on the screen and, after a few seconds, exit automatically.
RTG Scripts is $75. Pay by credit card:
When your order is approved, you will receive an email message that contains two important pieces of information:
Please allow 24 hours to receive this email message. Be sure to save the message so you can download and install RTG Scripts.
You only need to license one copy of RTG Scripts for each copy of RTG Bills. Even if you have several people using RTG Bills, or several people using RTG Timer, you can still use the same copy of RTG Scripts for everyone. The only requirement is that everyone be using the same copy of RTG Bills, or a copy of RTG Timer that is used with one copy of RTG Bills.
Check the RTG Scripts Frequently Asked Questions page.
If you have further questions about RTG Scripts, click here to contact us.