Actions right arrow Actions List right arrow Execute JavaScript right arrow Class List right arrow ProcessObject

Contains methods and objects to interact with other instances of Helium Scraper.


Functions

int ExecuteProject ( string path , object parameters )

Opens the specified Helium Scraper project file and runs it's Main actions tree, passing the given parameters to it. The parameter's object must contain one or more named properties, such as in this example:

var params = new Object();
params.param1 = "value1";
params.param2 = "value2";
Global.Process.ExecuteProject("C:\\Users\\My User Name\\Desktop\\file.hsp", params);

Parameters:
path The path to the name to run.
parameters An object containing a set of parameters to be passed to the new instance of Helium Scraper.
Returns:
The process ID of the newly created process.
bool ProcessHasExited ( int processId )

Returns true if the process has exited or false otherwise.

Parameters:
processId The ID of the process from which to get this information.
Returns:
true if the process has exited or false otherwise.

Properties

string ActivationData

Gets a string containing all the parameters passed to the current instance of Helium Scraper.