VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   Python Sending Ctrl+V (https://forums.vandyke.com/showthread.php?t=14470)

kingfetty 03-22-2021 06:06 AM

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?

bgagnon 03-22-2021 07:44 AM

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.


All times are GMT -6. The time now is 11:40 AM.