[This is preliminary documentation and subject to change.]
The TriggerScript method formats and transmits a script trigger.
object.TriggerScript( sScript, sLanguage)
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.
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.
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.
ipsend.TriggerCAB, ipsend.TriggerFTS, ipsend.TriggerNavigate, Script Trigger, ipsend.SendTrigger, ipsend.SendEvent
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!')", ""