ipsend.TriggerScript

[This is preliminary documentation and subject to change.]

The TriggerScript method formats and transmits a script trigger.

Syntax

object.TriggerScript( sScript, sLanguage)
 

Parts

object
Object expression that resolves to an ipsend object.
sScript
String that contains the script statements to run on the client.
sLanguage
String that specifies the scripting language used in sScript.

The current version of Broadcast Architecture only supports the default scripting language, Microsoft® JScript™. Because the current version of the client does not recognize sLanguage, you should specify an empty string ("") for this parameter.

Remarks

TriggerScript differs from the SendTrigger method in that it formats the trigger string based on the parameters you pass in. SendTrigger requires a pre-formatted trigger string.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in ipenhsnd.idl.
  Import Library: Included as a resource in ipenhsnd.dll.
  Unicode: Yes.

See Also

ipsend.TriggerCAB, ipsend.TriggerFTS, ipsend.TriggerNavigate, Script Trigger, ipsend.SendTrigger, ipsend.SendEvent

Examples

The following example transmits a trigger that displays a message box on the broadcast client's machine.

isend.TriggerScript "alert('You received an Script trigger!')", ""