Expand my Community achievements bar.

How trigger an event every 10 minutes?

Avatar

Level 1

I have a requirement to trigger certain events in pdf every 10 minutes.

How to do this in livecycle? Is there any specific inbuilt functionlity available for this in livecycle?

Pls advise and help.

3 Replies

Avatar

Level 10

Hi,

You could try something like;

app.timeout = app.setInterval('xfa.resolveNode("'+Button1.somExpression+'").execEvent("click")', 10 * 60 * 1000);

If you wanted to call the click event on Button1 every 10 minutes.

But I think it stops working if someone has a menu open and there are some events you can't call this way, like preprint.

Regards

Bruce

Avatar

Level 1

Hi

In which event i should add this code in my form? Can i add this to docReady?

Avatar

Level 10

Hi,

yes, the docReady event should work.