I can use Preen Screen manually to save image to the clipboard. By the way, I added a script to use a software able to take and save a screenshot. Now I can save image without using sendvkey 0x2C.
Thank you for your help knob.
Thanks for your answer knob, I remove these three lines in my script, but the result is the same. I also tried to run Paintbrush manually after the DUMeter script, but I can not paste in the image.
In the main script, I call theses functions:
DUMeter()
pause 10
PaintSave(ImageName)
pause 10
The script works, but in the end I have nothing in the saved image.
Here is the script I use for saving the image:
proc PaintSave
param String ImageName
String Cmd
integer TaskId
strfmt Cmd "pbrush.exe"
run Cmd TaskId
while taskexists TaskId
yield
endwhile
pause 2
sendvkey 0x0256 ; Ctrl+V
mspause 500
sendkey ALT 'F'
mspause 500
sendkey 'E'
mspause...
Hello, I am a new Aspect script user (Procomm Plus 4.8). I am trying to take a snapshot and save the image with paint. The problem is when I use "sendvkey 0x2C", there is nothing in the clipboard.
Here is my script:
proc DUMeter
String Cmd
strfmt Cmd "c:\Program Files\DU Meter\DUMeter.exe"...
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.