void session.executeScript ( String scriptName ) (professional and enterprise editions only)


Manual start the execution of a script.


  • scriptName Name of the script to execute, as a string. The script has to be on the same instance of screen-scraper as the scraping session.

Return Values

Returns void. If the file doesn't exist a message will be written to the log. If the called script has an error in it a warning will be written to the log.

Change Log

Version Description
5.0 Scripts called using this method are now exported with the scraping session.
4.5 Available for professional and enterprise editions.


Execute Script

 // Executes the script "My Script".
 session.executeScript( "My Script" );