Batch Mode from HyperView
Hi there,
I wanted to run a TCL script without opening the GUI of HyperView, and I need to capture the pictures in my script. But if I used 'hw.exe -b -tcl C:/Users/Desktop/test.tcl', the size of pictures I got from the results are too small. They were different from opening the GUI. The purpose of using Batch is that it runs without opening the GUI of HyperView and got full-screen picture,. Is there something additional that I need to add to command prompt line or to my script???
Answers
-
Could you show you script?
What picture does it capture?
0 -
pic1 shows the script running in the background. pic2 shows the script running with opening GUI.
the two are used the same script, but the size of pictures are totally difference. could you please help me to solve this problem???
P.S. pic1 used this command to run the script: hw.exe -b -tcl C:/Users/Desktop/test.tcl
pic2 used 'hw.exe -c -tcl C:/Users/Desktop/test.tcl'
thanks you very much for your prompt reply
0 -
To get images of fixed dimension, you can use hwISession CaptureScreenToSize command.
In addition, you should not run hw.exe in batch mode to create screen images. Though it might works, it depends on your hardware and driver conditions. Instead of running in batch mode, run hw.exe in GUI mode and close the session by hwISession Close in the end.
0 -
thank you very much for your help
0