Hi,
I would like to create a button that when on click it triggers an automation script that sends an email.
May I know how to do that?
From all the resources I have, I can see a button can trigger many actions but there is no action in reference to automation script.
Needed help, thank you in advance.
Hi Ive, it is a button in the protocol. Sorry for missing this information
Hi Zhing,
It's not possible to trigger a script directly from a button.
You will need to trigger a QAction with your button, which can trigger an automation script.
In your QAction you can then use the protocol.ExecuteScript('myScript'); to trigger your automation script.
Hi Zhing,
Is this a button in a protocol, visio or low-code app?