View Single Post
  #2  
Old 06-27-2018, 10:30 AM
bgagnon bgagnon is online now
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,571
Hi Hang,

Thanks for the info. If I understand correctly what you are trying to do, I am not sure it really has to do with the difference between those two functions in Procomm.

To send a line ending in VBScript, use vbcr. In Python, use "\r":

VBScript:
crt.Screen.Send "Hello World" & vbcr

Python:
crt.Screen.Send("Hello World\r")

Transmit in Procomm seems to be equivalent to crt.Screen.Send() as you noted.

I believe termmsg is the equivalent of using crt.Screen.Send() with the optional argument shown below.


The above functionality was added in SecureCRT v7.2:

Changes in SecureCRT 7.2 (Beta 1) -- October 8, 2013 (7.2.0.359)
----------------------------------------------------

New features:

  • The script function Screen.Send() can be used to send text to the screen only by using a new optional parameter.
Attached Images
File Type: png SecureCRTHelpTopic_ScreenObject_SendToScreenOnly.png (115.6 KB, 144 views)
__________________
Thanks,
--Brenda

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

Last edited by bgagnon; 06-27-2018 at 10:33 AM.
Reply With Quote