0 Replies Latest reply: Nov 3, 2016 12:07 PM by Margarit Andrei RSS

    Take snapshot of a sheet after the reload has finished

    Margarit Andrei

      Hello everyone ,

       

      I have a question regarding taking a snapshot when a document has finished reloading in the QMC.

       

      The question is how it can be done using QMC or if there are other ways to do this automatically when the document has finished reloading?

       

      Thank you!

       

      I have tried to create a Supporting Task in the QMC, in which i have defined a .vbs script file, but it does nothing.

       

      The script inside the .vbs file looks like this:

       

      set Qv = CreateObject("QlikTech.QlikView")

      Set QvDoc = Qv.OpenDoc ("C:\Users\myuser\Desktop\doc.qvw","","")

      QvDoc.ActivateSheet "SH01"

      QvDoc.GetApplication.WaitForIdle

      QvDoc.Sheets("SH01").ExportBitmapToFile "C:\Users\myuser\Desktop\doc.jpg"

      QvDoc.GetApplication.Quit

       

      ;