Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-15-2013, 01:17 AM
hxbsy hxbsy is offline
Registered User
 
Join Date: Apr 2011
Posts: 4
"crt.screen.get" support most of the lines

I've tried to grab data from the screen using "crt.screen.get".but I find if echo on the screen more than 53 lines,it will be failure.
Can you help me please
Reply With Quote
  #2  
Old 04-15-2013, 07:46 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi hxbsy,

The Get() method can only "get" data on the terminal window. If the data is scrolled off the it will not be accessible. Are you displaying more than 53 lines or is some of the data you want to get in the scrollback buffer?

Have you considered using the ReadString() method rather than Get() which has the ability to capture all data sent to SecureCRT?

It is important to note that ReadString() should be used in conjunction with the Synchronous property.
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:50 AM.