{currenthelptext} {product} {helptype} {viewcore}
Some sample scripts are available from the "Automation Objects" documentation.