Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Master II
Master II

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,

View solution in original post

3 Replies
vgutkovsky
Master II
Master II

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
Partner - Specialist III
Partner - Specialist III


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
Author

Thanks Rakesh and Vlad for the help.