Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Old 08-10-2020, 11:18 PM
Afsar Afsar is offline
Registered User
Join Date: Aug 2020
Posts: 1
Try and Exception

Hi Team,

i want to use the try and except method in python by reading the screen's current line. If a screen's current line equals to "some string" it showl disconnect the session and close securecrt.

please help me on this
Reply With Quote
Old 08-11-2020, 07:30 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,636
Hi Afsar,

What version of SecureCRT are you using?

Please elaborate on the problem you are trying to solve.

What do you mean by reading the screen's current line?

Would you be receiving only one line of output from a device and that is what is to be compared to "some string"?

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote


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 06:22 AM.