View Single Post
  #1  
Old 08-02-2012, 12:54 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Post Example: Convert Clipboard LF, CR, Space, and Tab

Shows one way to convert certain characters within the windows clipboard prior to pasting to the remote or after being copied from the SecureCRT terminal window. A separate UI is displayed, offering options for conversion.
This example script can be used to format text in the clipboard prior to pasting *into* SecureCRT (having been copied to the clipboard within another application), or for copying *from* SecureCRT (and then converted so it's ready to be pasted into another application). It can also be used simply as a mechanism for reviewing/modifying what's currently in the clipboard prior to it being sent to a remote machine. Demonstrates one way of building a customized window/dialog using IE and handling user interaction within the custom dialog (see the VBScript user guide here: http://www.vandyke.com/support/tips/...ing/index.html).

Currently the only example script is VBScript.
Attached Images
File Type: png Forum10604_ConvertClipboardWinShot.png (32.4 KB, 1423 views)
Attached Files
File Type: txt ConvertClipboard--LF-CR--Space-Tab.vbs.txt (20.6 KB, 2581 views)

Last edited by jdev; 04-05-2018 at 05:19 PM. Reason: Mention that currently the only example script is VBScript.