copying text to the system clipboard [message #42668] |
Fri, 18 February 2005 10:29  |
Benjamin Hornberger
Messages: 258 Registered: March 2004
|
Senior Member |
|
|
Hi all,
is it possible to copy text from an IDL variable to the system
clipboard? Specifically, I would like to copy a string array into a
multi-line text which can be pasted into Notepad or wherever.
I found David's 'clipboard' routine, which does it for graphics windows.
Thanks for your help,
Benjamin
|
|
|
|
Re: copying text to the system clipboard [message #42801 is a reply to message #42668] |
Wed, 23 February 2005 12:51   |
Peter Mason
Messages: 145 Registered: June 1996
|
Senior Member |
|
|
David Fanning wrote:
> Mark Hadfield writes:
>
>> There used to be a file on David's site called "wavdemo.zip" that had
>> the winclip DLL *plus* the C code and sample IDL programs. Perhaps
>> David can resurrect that, otherwise I have a copy somewhere. (To the
>> best of my knowledge, there are no restrictions on redistributing
>> this stuff.)
>
> No, I looked for it this morning. It seems to have disappeared. :-(
>
> Cheers,
>
> David
>
> P.S. I'd be happy to put it in a save place if I could find
> it again.
David, some things are meant to be. Winclip is so old now that it's plain
embarrassing. (Wavdemo included the core bits of Winclip, I think.
Wavdemo isn't mine.) I sent a copy of my winclip.zip to Benjamin - who was
specifically after something that it might still be able to - but aside from
that I'd be pleased to see it slip into, uh, deeper obscurity.
Cheers,
Peter
|
|
|
|
|
|
|
|
Re: copying text to the system clipboard [message #42826 is a reply to message #42668] |
Tue, 22 February 2005 18:32   |
andrew.cool
Messages: 47 Registered: July 2003
|
Member |
|
|
Benjamin Hornberger <benjamin.hornberger@stonybrook.edu> wrote in message news:<421633eb$1_3@marge.ic.sunysb.edu>...
> Hi all,
>
> is it possible to copy text from an IDL variable to the system
> clipboard? Specifically, I would like to copy a string array into a
> multi-line text which can be pasted into Notepad or wherever.
>
> I found David's 'clipboard' routine, which does it for graphics windows.
>
> Thanks for your help,
> Benjamin
Benjamin,
Under Windows, Peter Mason's WINCLIP DLL with do this for you, with
either string or numeric variables.
Cheers,
Andrew
andrew-dot-cool-at-dsto.defence.gov.au
Adelaide, South Australia, Oz
|
|
|
|
|
|
Re: copying text to the system clipboard [message #85539 is a reply to message #85506] |
Thu, 15 August 2013 06:57  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
superchromix writes:
> Peter Mason was kind enough to send his original WINCLIP code to me, so that should work.
Goodness, I thought Peter had retired long ago. He is at least as old as
I am! ;-)
This wouldn't have been a 64-bit version of WINCLIP would it? I would
really like to be able to play my old Three Stooges clip: "No, no, no,
you are doing it ALL wrong!" I miss it. This is an extremely effective
tool during the development stage of any project. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|