Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Scripting & Automation
  New Posts New Posts RSS Feed - Changing number of columns
  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 LockedChanging number of columns

 Post Reply Post Reply
Author
Message
anonymous View Drop Down
Groupie
Groupie


Joined: January 15 2004
Location: United States
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote anonymous Quote  Post ReplyReply Direct Link To This Post Topic: Changing number of columns
    Posted: January 23 2004 at 3:21am
We use 80x24 screens on most applications (sometimes 132x24). I'd like to change to different font sizes within my Pick programs. For example, I need about 90 columns, so I can EXECUTE TERM 132, but now my font is fairly small. I'd like to EXECUTE TERM 132, then change the font size so 90 columns fill the screen nicely. When done, I'd like to go back to 80 column mode.

I know I can set the font size to 90 in the logon script, but I'd like to be able to change the font size on the fly from Pick programs.

Can I execute a macro or script or something?
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: January 23 2004 at 3:22am
You can change the number of columns on the fly using a script. Try:

COLS=90
PRINT CHAR(27) : CHAR(2) : 'P InitSession.NormCols=' : COLS : CHAR(13) :

Change back to 80 using the same logic.
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.