This example shows how to launch xcalc every 10 seconds. The second part of the script contains the description for every widget which will be used in the program. A description of widget is composed of two parts. Fisrt part describes initial properties and second part contains instructions which will be executed when the widget receives messages. All widgets can send and receive messages.
All message are identify by a number.
There is fifteen types of widgets. Display radio button with a string. This type of widget can be used process, and capture the first window whose name or resource is equal to Title, and display it in the script window. Modules canalso be swallowed. Display a popup menu.