BBC BASIC for Windows
« Clipboard? »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:58pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Clipboard?  (Read 701 times)
Wol
New Member
Image


member is offline

Avatar




PM


Posts: 3
xx Clipboard?
« Thread started on: May 17th, 2010, 11:59pm »

I am at the beginner/rediscovering BBC BASIC stage so don't get *too* technical!

You know the phenomenon whereby you can read complex text that's all garbled up, so long as the first and last letters of each word are maintained in position and the other letters are correct although in random order?

Out of interest I am writing a small BBC4W program to do this - you input the sentences and the program does the business and prints onscreen the jumbled sentence.

What I can't do is to copy the screen output so as to use it outside the program: for example, copy it to the Windoze clipboard, and I can't seem to find a way of retrieving this output text string to, say, Notepad.

I am sure there must be a way.....
« Last Edit: May 18th, 2010, 12:00am by Wol » User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Clipboard?
« Reply #1 on: May 18th, 2010, 08:14am »

on May 17th, 2010, 11:59pm, Wol wrote:
What I can't do is to copy the screen output so as to use it outside the program: for example, copy it to the Windoze clipboard

You can copy the contents of BB4W's output window to the clipboard by pressing Ctrl+Tab, as described in the main Help documentation under 'Graphics and Colours... Capturing the screen contents':

http://www.bbcbasic.co.uk/bbcwin/manual/bbcwin3.html#capturing

(note the caveat about using a monospaced font, and the fact that it doesn't work under Win9x).

Alternatively you can copy text to the clipboard in your own code, as described under 'Accessing the Windows API... Using the clipboard':

http://www.bbcbasic.co.uk/bbcwin/manual/bbcwine.html#usingclipboard

Richard.
User IP Logged

Wol
New Member
Image


member is offline

Avatar




PM


Posts: 3
xx Re: Clipboard?
« Reply #2 on: May 18th, 2010, 08:53am »

That's marvellous - many thanks!
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls