Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
swati_rastogi27
Creator
Creator

Capture screenshots from QlikView

Does anyone have an idea on how to capture screenshots from a QlikView screen?

The approach should also work once the application is hosted on IE/Crome

13 Replies
Anonymous
Not applicable

try  Print Screen Automation VB macro...

swati_rastogi27
Creator
Creator
Author

I found a macro defined on below link :

http://officetricks.com/print-screen-save-as-image-file-attach-to-sheet-automate-in-vba/

It does not seem to work. Error is 'Expected end of statement'

Anonymous
Not applicable

you might need to customize below code according to your requirement..

sub print

Set objShell = CreateObject("WScript.Shell")

Set objWord = CreateObject("Word.Application")

'Set objDoc = objWord.Documents.Add()

  'Set objDoc = objWord.Documents.open("D:\Doc.docx")

  'Set oWord = CreateObject("Word.Application")

objWord.Visible = True

objWord.Documents.Open "D:\Doc.docx"

objWord.Visible = True

objShell.SendKeys "{prtsc}"

'objWord.SendKeys "{prtsc}" 

objShell.Run "mspaint"

objShell.AppActivate "untitled - Paint"

objShell.SendKeys "^v"

objShell.SendKeys "^s"

objShell.SendKeys "D:\test.bmp"

objShell.SendKeys "{ENTER}"

'Before run---Some application process'  

end sub

also refer below  link it will helps you...

https://community.qlik.com/docs/DOC-6923

swati_rastogi27
Creator
Creator
Author

This macro after a few seconds of execution, opens up the edit Module of the button action