To launch a task (Script or Cuelist) the scrRunTask comand is used. In the example below the name of the task we want to launch is “ExampleTask”.
Dim CMD As String CMD = Chr(4)+"0"+Chr(5)+"scrRunTask"+Chr(5)+"ExampleTask"+Chr(6)
in Delphi / Pascal
var cmd: string; cmd := Chr(4)+'0'+Chr(5)+'scrRunTask'+Chr(5)+'ExampleTask'+Chr(6);
As result, the node send an acknowledge message.
To launch a task (Script or Cuelist) via web browser, a link to the /cgi-bin/ directory attached by the command is made. The html file must be copied in the Webservers Document directory. It is then available at http://NodeAddress/Filename.htm. The complete example file is listed below.
<html> <head> <title>Remote</title> </head> <body> <a href="/cgi-bin/scrRunTask%05wait1" name="ExampleTask" target="anyFrame"><h1>Wailt1</h1></a> </body> </html>