Run advanced action in JS

Is it possible to run an advanced action from JS?

Thanks, Rolf

Hi Rolf,

Yes, it is possible. Please take a look at pages 325-326 in User Manual for detail:
ACTIVEPRESENTER 9 USER MANUAL (atomisystems.com)

Regards,

Thanks!
Sorry I didn’t see that in the manual.

A related question: Advanced actions are not saved in themes or a templates, right?

Is there a workaround?

Best, Rolf

Hi Rolf,

As we mentioned in previous thread with you, there is no workaround for it at the moment.

Regards,
Quynh Anh

Thanks for you answer.
I still have a question, though.

What would the code be if I just wanted to run an advanced action without parameters.

prez.runAction(name);

does not seem to work.

The advanced action is a piece of JS code.

Best, Rolf

Hi Rolf,

In this case, it should be runAction(name, {}, e);
Please try again to see how it goes.

Regards,
Quynh Anh

1 Like