getMacroList

Get a list of all macro

Note: This function requires an API license.

This function is deprecated use getServerMacroList or getViewerMacroList instead.

Obtains a list of all viewer macro’s. These macro’s can be executed with the executeMacro command.

Request

command=getMacroList

Response

<result errorcode="0">
  <macros count="[number]">
    <macro>
      <macroid>[UID]</macroid>
      <name>[string]</name>
      <type>[string]</type>
    </macro>
    ...
  </macros>
 </result>
node value remarks
/result
@errorcode [number] See error codes below
/result/macros
@count [number] The number of macros
/result/macros/macro
macroid [UID] unique id of the macro
name [string] the unique user defined name of the macro
type [string] type of the macro 'viewer' or 'server'

See Also

Changelog

  • 2.2.1 – added