Author |
Topic: Copy/Paste in LBB' ".tmp" window (Read 1334 times) |
|
flotulopex
Junior Member
member is offline


Gender: 
Posts: 94
|
 |
Re: Copy/Paste in LBB' ".tmp" window
« Reply #2 on: Mar 3rd, 2014, 07:54am » |
|
Fair enough.
When I'm testing "console" apps, I some times repeatedly have to enter data for testing purpose; this is why I raised my question
|
|
Logged
|
Roger
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
Re: Copy/Paste in LBB' ".tmp" window
« Reply #3 on: Mar 3rd, 2014, 08:49am » |
|
on Mar 3rd, 2014, 07:54am, flotulopex wrote:| When I'm testing "console" apps, I some times repeatedly have to enter data for testing purpose; this is why I raised my question ;) |
|
Pasting into the INPUT statement is an entirely different issue - it's not pasting into the mainwin! That would in principle be possible, but it's not what you asked for. Naturally I assumed that what you were hoping for was a similar copy/paste facility to that provided by LB 4.04, which does not allow you to paste into the INPUT statement.
For testing your program you can always insert BBC code to pre-load the responses into function keys, to save having to type the same thing repetitively:
Code:!*key 1 Hello world!|M
!*key 2 Goodbye|M
input r$ Now you can just press F1 or F2 in response to the INPUT statement.
Richard.
|
|
Logged
|
|
|
|
flotulopex
Junior Member
member is offline


Gender: 
Posts: 94
|
 |
Re: Copy/Paste in LBB' ".tmp" window
« Reply #4 on: Mar 3rd, 2014, 1:28pm » |
|
Thanks.
Good workaround
|
|
Logged
|
Roger
|
|
|
Jack Kelly
Full Member
member is offline


Gender: 
Posts: 106
|
 |
Re: Copy/Paste in LBB' ".tmp" window
« Reply #5 on: Feb 5th, 2015, 12:19pm » |
|
How does one copy the entire MainWin to the clipboard?
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
Re: Copy/Paste in LBB' ".tmp" window
« Reply #6 on: Feb 5th, 2015, 12:51pm » |
|
on Feb 5th, 2015, 12:19pm, Jack Kelly wrote:| How does one copy the entire MainWin to the clipboard? |
|
Type Ctrl+Tab (hold down the Ctrl key and press Tab).
Note that in LBB the mainwin can hold only about 80 lines of text before the oldest data is 'scrolled off the top' and lost forever.
Richard.
|
|
Logged
|
|
|
|
Jack Kelly
Full Member
member is offline


Gender: 
Posts: 106
|
 |
Re: Copy/Paste in LBB' ".tmp" window
« Reply #7 on: Feb 6th, 2015, 5:14pm » |
|
Thanks, Richard. Ctrl-Tab wasn't obvious. Would that have been documented in the BBC Basic documentation? I'm duly recording all your many tips and tricks in my LBB Command Reference document. Keep them coming!
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
Re: Copy/Paste in LBB' ".tmp" window
« Reply #8 on: Feb 6th, 2015, 5:30pm » |
|
on Feb 6th, 2015, 5:14pm, Jack Kelly wrote:| Ctrl-Tab wasn't obvious. Would that have been documented in the BBC Basic documentation? |
|
It is (of course), but more importantly it's documented in the LBB Help file - it's item 7 in the Compatibility section:
"7. The mainwin can hold only about 84 lines of text; if more lines are output the remainder will be 'scrolled off' the top of the window and lost. Also, the mainwin has no menu. You can copy the contents of the mainwin onto the clipboard by typing Ctrl+Tab."
http://www.lbbooster.com/lbb.html#compatibility
Richard.
|
|
|
|
|