Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-03-2019, 08:01 AM
ssetbob7 ssetbob7 is offline
Registered User
 
Join Date: May 2019
Posts: 6
Python crt API Help

Is there a API help documentation on the 'crt' class and all its methods?

I have to resort to crt.Dialog.MessageBox(str(dir(crt.Screen))) to display options. But even then I can't tell how to use the API with method options.

I've tried crt.Dialog.MessageBox(str(help(crt.Screen))) and I get None in my output.

Thank you!
Reply With Quote
  #2  
Old 05-03-2019, 11:28 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 955
Quote:
Originally Posted by ssetbob7 View Post
Is there a API help documentation on the 'crt' class and all its methods?
Yep!
  1. Launch SecureCRT
  2. Click on SecureCRT's main Help pull-down menu and choose "Help Topics" (or click on the icon in SecureCRT's tool bar)
  3. Expand the Scripting folder/chapter in the Contents tab.
  4. Expand the Script Objects Reference folder/chapter and select the "Application" object. There you'll learn that crt is the Application object and you'll see all of its Properties and Methods listed and linkable for further learning.
Attached Images
File Type: png SCRT_Help_Linux-Mac_ScriptObjectsReference(crt-Application).png (154.8 KB, 361 views)
File Type: png SecureCRT'sHelpButton.png (923 Bytes, 335 views)
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Reply With Quote
  #3  
Old 05-05-2019, 06:58 AM
ssetbob7 ssetbob7 is offline
Registered User
 
Join Date: May 2019
Posts: 6
Thank you!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 02:35 PM.