Locked History Actions

Com

com.Com

This publisher allows creating a COM object based on its CLSID and then performing call, setprop, and getprop actions.

<Publisher class="com.Com">
  <Param name="clsid" value="Peach.SillyComObject" />
</Publisher>

Parameters:

  • clsid -- CLSID of object to create [required]

Supported Actions:

Example:

<DataModel name="Param">
  <String name="Value" />
</DataModel>

<StateModel name="TheStateModel" initialState="Initial">
  <State name="Initial">
    <Action type="call" method="Players[1].OpenUrl">
      <Param type="in">
        <DataModel ref="Param" />
        <Data name="data">
          <Field name="Value" value="mymovie.mov" />
        </Data>
      </Param>
    </Action>

    <Action type="call" method="Players[1].QTControl.Movie.Play" />
  </State>
</StateModel>

<Test name="TheTest">
  <StateModel ref="TheStateModel" />

  <Publisher class="com.Com">
    <Param name="clsid" value="QuickTimePlayerLib.QuickTimePlayerApp" />
  </Publisher>
</Test>