Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

capture file help

Status
Not open for further replies.

cblockle

Technical User
Dec 30, 2003
1
US
I am having a problem with printing a capture file "bltest.txt". Below is part of the script.
I am capturing two different screens and sending them
to "bltest.txt". The second capture appends or adds
the second capture to the first. Then when I try to
print the entire capture, it only prints the last capture. I want both captures on a single sheet of paper. When
I look at the actual "bltest.txt" file it is correct with
both captures. Is there a commmand to print a capture file.
In my case it would be "bltest.txt". Any help would greatly
appreciated. I have tried many ways and have played around
with repositioning the printcapture on...printcapture off
commands. Thank you.

pause 2
transmit "t"
pause 2
transmit "x"
pause 2
transmit "y"
pause 5
printcapture on
set capture file "bltest.txt"
set capture overwrite on
capture on
capture off
pause 2
transmit "x"
pause 5
set capture overwrite off
capture on
capture off
printcapture off
pause 3


pwexit


endproc
 
Printcapture and capture are two separate commands whose functionality does not intersect. They perform the same function but their output is different - a print job in the case of printcapture and a text file with capture. If you want to print a capture file after it has been created, you can use this sample script from my site that was created by another user of this forum:


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top