I tried to make a script like this:
iuTrendViewer1.PrintTrend()
Sleep 1000
Set WshShell = CreateObject("WScript.Shell")
Sleep 1000
WshShell.Sendkeys "D:\TEST\Report\Data\Filename.xps"
Sleep 1000
WshShell.Sendkeys "{ENTER}"
But it does not work
I work on a SCADA aplication which has trend graph. I want to make a vbscript code which will create from time to time file with picture of graph in it. ActiveX component iuTrendViewer has method iuTrendViewer1.PrintTrend() which opens screen for input file name and chose folder destination, but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.