Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

can javascript click the button in the document ?

Hi,

In client side, through IE plugin, is there any way we can click the button in the document through the javascript ? if yes, please let me know how.

Basically the button click event has macro script to take the snapshot of an active document. I wanted to make it automated such that javascript clicks that button every 10 minutes. :-)

Is this possible ? or is there any other good alternatives

1 Solution

Accepted Solutions
vgutkovsky
Honored Contributor II

can javascript click the button in the document ?

No, I'm almost positive this isn't possible. You might be able to achieve this functionality within the macro itself through some sort of VBScript time trigger like "sleep", but there's the possiblity that this would crash QlikView. Either way, I'm sure it would be a very complicated solution.

Once last thing: there are programs that take Windows screenshots every N minutes. Some of these are designed for employee monitoring so can run silently in the background. If you use such a program to take a Windows screenshot, then of course an open QVW would also be included in it...

Good luck,

3 Replies
vgutkovsky
Honored Contributor II

can javascript click the button in the document ?

No, I'm almost positive this isn't possible. You might be able to achieve this functionality within the macro itself through some sort of VBScript time trigger like "sleep", but there's the possiblity that this would crash QlikView. Either way, I'm sure it would be a very complicated solution.

Once last thing: there are programs that take Windows screenshots every N minutes. Some of these are designed for employee monitoring so can run silently in the background. If you use such a program to take a Windows screenshot, then of course an open QVW would also be included in it...

Good luck,

disqr_rm
Valued Contributor III

can javascript click the button in the document ?


rem ** press button BU01 **
ActiveDocument.GetSheetObject("BU01").Press


This line in Macro will press a button for you. But I agree with Vlad that you should be careful when trying such macros.

Hope this helps.

Rakesh

Not applicable

can javascript click the button in the document ?

Thanks Rakesh and Vlad for the help.

Community Browser