ph_macro PowerHome formula function
Description
Plays a PowerHome macro.
Syntax
ph_macro ( id )
Argument Description
id String identifying the ID of the macro you wish to play.
Return value
Integer. Returns a 0 if the macro is successfully played. A 1 signifies that no rows exist in the macrodetail table. A 2 is returned if you try to play the special macros ‘PLAYSLOTTRACK’ or ‘PLAYPLAYLIST’. A 3 is returned if an infinite loop condition is detected.
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_macro("GDR-S SENSE")
• ph_macro("CAMTRIG")