Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2014, 11:10 AM
SimonHF SimonHF is offline
Registered User
 
Join Date: Sep 2005
Posts: 41
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
  #2  
Old 09-16-2014, 11: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?
__________________
--Todd

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


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 12:11 PM.