🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Batch Mode from HyperView

User: "jing_22295"
Altair Community Member
Updated by jing_22295

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???

 

 

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Could you show you script?

    What picture does it capture?

    User: "jing_22295"
    Altair Community Member
    OP
    Updated by jing_22295

    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

     

     

    <?xml version="1.0" encoding="UTF-8"?>pic1.jpg

    <?xml version="1.0" encoding="UTF-8"?>pic2.jpg

    User: "Altair Forum User"
    Altair Employee
    Updated by Altair Forum User

    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.

    User: "jing_22295"
    Altair Community Member
    OP
    Updated by jing_22295

    thank you very much for your help