executeScriptWithContext

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

Description

Executes the named script, but preserves the current context (dataRecord, scrapeableFile, etc...)

Parameters

  • scriptName The name of the script to execute.

Return Value

This method returns void.

Change Log

Version Description
5.5.29a Available in professional and enterprise editions.

Examples

Execute a script, but preserve the context

 // Execute the 'Do more stuff' script, but give it access to the scrapeableFile this script has access to.
 session.executeScriptWithContext("Do more stuff");