Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > General

Thread Tools Display Modes
Old 09-16-2014, 10:10 AM
SimonHF SimonHF is offline
Registered User
Join Date: Sep 2005
Posts: 44
How to copy the current bash line to the clipboard?

Is there a way to copy the current bash line to the clipboard using SecureCRT?

For example, if I type (or arrow up to get) "echo hello world" in a terminal session -- before hitting enter -- is there someway to hit a (hot) key and copy "echo hello world" into the clipboard?
Reply With Quote
Old 09-16-2014, 10:53 AM
rtb rtb is offline
VanDyke Technical Support
Join Date: Aug 2008
Posts: 4,306
Hi SimonHF,

You could use the Get() method of the Screen object. This is discussed in chapter 8 of the scripting manual beginning on page 113.

Does this help you accomplish your goal?

VanDyke Software
Technical Support
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 03:57 AM.