Navigation
Home
File Commander PRO
File Commander FREE
ValidatorBuddy
XMLSpy Digital Signature Lite XSignTool for Authentic
Downloads
File Commander FREE
File Commander PRO
ValidatorBuddy
XMLSpy Digital Signature Lite XSignTool for Authentic
Support
support@spycomponents.com
Contact
contact@spycomponents.com
Vienna, Austria
External Links
Altova
jrsoftware.org
Larkware.com
Creating a scheduled task

1. By using ValidatorBuddy in XMLSpy

ValidatorBuddy will execute a batch process whenever a file is opened in XMLSpy which contains the <?spycomponents_valbuddy?> Processing Instruction and the related option is enabled on the settings page of the tool. This allows to use the functionalities of ValidatorBuddy without the need to use a special API. All parameters to control the batch process are taken from the input XML file.

To run the batch it is recommended to write a script which opens XMLSpy and loads the settings XML to control ValidatorBuddy. Such a script is quickly created and offers additional processing using the XMLSpy API or any other components available in the scripting language. A basic script running ValidatorBuddy in XMLSpy could look like this:



Using Visible = true is optional but it is often useful during the creation of the script for debugging or to see what is going on for more complex tasks. Please note that you need the Windows Script Host to run scripts directly from the command line and to be able to create a scheduled task for the script.

2. By using the command-line tool ValBuddy.exe

You can find ValBuddy.exe in the installation folder of ValidatorBuddy. Typically this will be "C:\Program files\ValidatorBuddy" for an english system. The command-line tool can be used without XMLSpy installed.

ValBuddy.exe takes the settings XML file as its only parameter and runs the batch immediately. There are no dialogs or other windows displayed by the tool.