View Single Post
  #2  
Old 09-26-2016, 08:01 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,937
Hi jakjok,

The "\r" (CR) does represent the ENTER key. However, if ENTER key means something special to your device, then you would normally use SendKeys(), except, unfortunately, as shown in SecureCRT's Help file, SendKeys() is not supported in Python:

Quote:
Python
Syntax
SendKeys is not currently supported for Python.
I have added this thread to a feature request in our product enhancement database for support for 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 #12491" in the subject line or use this form from the support page of our website.

Are you using SecureCRT/Windows and just choosing Python because it's more flexible?
__________________
Thanks,
--Brenda

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