Quicker than you could've written this email you could have Ctrl-C something to the clipboard and then at the R>
set var vtext = (cval('clipboardtext'))

and discovered that the command does just what the help file says. Copies the contents of the clipboard to a variable. Sometimes it's just best to forge ahead and see what happens and if it fails in all the scenarios you can think up, then post what you HAVE tried so others can limit their efforts in rendering help.




----- Original Message ----- From: "Paul" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, December 03, 2009 6:31 PM
Subject: [RBASE-L] - RE: Paste / Clipboard


RList-

If a non-RBase product creates text on a clipboard, can I bring that in by? No user intervention, besides running this outside app and then pressing a key/button on the RBase form saying I'm ready so to speak.



Run OCR-App *This will create a clip like ie: (without single around the CRLF but wanted to be clear)

85664'CRLF'
473253653'CRLF'
863542'CRLF'
12/25/09'CRLF'

Now the user goes to the RBase app and hits a 'Speed Button etc...'
Runs a eep that is somelike:

If/then etc....[Esc] breaks the loop;goto end
Label Top
Set var vclip = (something('clipboard'))
Then bring it in and run a RWG (in this case I need to char CR/LF) as my delimiter. I wish it was columns, but it clips as rows only. No other options-tried.
Load file as .....

Goto Top
Label end
Return


But how the heck do I get the clip to load into a RBase var without creating some file, suppose I could run some kind of temp file in the back ground and read it from that file?



Paul D
/9.0 or 7.6  Only!


Ps and no I have not RStyled or check any of this code yet! <lol> Just getting a game plan.


Reply via email to