Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Advanced Features
  New Posts New Posts RSS Feed - Automating the capture of a screen
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedAutomating the capture of a screen

 Post Reply Post Reply
Author
Message
dchanco View Drop Down
Newbie
Newbie


Joined: March 30 2004
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote dchanco Quote  Post ReplyReply Direct Link To This Post Topic: Automating the capture of a screen
    Posted: April 06 2004 at 9:40am
Hi all,
   I am trying to automate the following:

from within a pick program:
1. turn on capture (and automatically fill in the save as ... dialog box
2. generate a LISTing
3. turn off capture

is this possible and if so can someone point me to any documents or offer any suggestions.

thanks a log!

dougc

ps
we are running accuterm 2k2
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: April 06 2004 at 11:09am
Hi Doug -

You can easily do this using the private AccuTerm escape sequences. See the AccuTerm Programmers Guide for details on these sequences. To start capturing received data to a file:

     PATH = 'C:\folder\capture.txt'
     PRINT CHAR(27):CHAR(2):'COR;':PATH:CHAR(13):


To end the capture:

     PRINT CHAR(27):CHAR(2):'CX':


There are other capture options you can select:
     no overwrite: change O to N
     append: change O to A
     filter out control characters: add T after R
     capture printer data: change R to P

Thanks,

Pete
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.