SendKeystrokes

Sends a string of printable characters, including spaces, to Rhino's command line.

Syntax

rhinoscriptsyntax.SendKeystrokes( keys=None, add_return=True )

rhinoscript.application.SendKeystrokes( keys=None, add_return=True )

Parameters

keys

Optional.  String.  A string to characters to send to the command line.

add_return

Optional.  Boolean.  Append a return character to the end of the string. The default is to append a return character (True).

Returns

None.

Example

import rhinoscriptsyntax as rs

rs.SendKeystroke( "Hello Rhino!" )

rs.SendKeystrokes( 25/4 )

Also See

Command

Print