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 03-22-2021, 06:06 AM
kingfetty kingfetty is offline
Registered User
 
Join Date: Mar 2021
Posts: 1
Python Sending Ctrl+V

I'm working on a SecureCRT Python script, and am parsing an input string and need to send a "Ctrl+V" prior to the "?" in the string.

When I check the SecureCRT documentation it indicates "SendKeys is not currently supported for Python."

How am I to send "Ctrl+V" in Python?
Reply With Quote
  #2  
Old 03-22-2021, 07:44 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,635
Hi kingfetty,

In SecureCRT's Help topic Configuring the Keyboard / ASCII Control Codes is a chart. You would want to use the octal equivalent with Send(), in this case \026.

I have added this thread to a feature request in our product enhancement database to support SendKeys in python. Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct email notification, send an email to support@vandyke.com and include Feature Request - Forum Thread #14470 in the subject line or use this form from the support page of our website.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
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 01:04 AM.