On 6 December 2012 11:48, Antonio Scuri <[email protected]> wrote:

> clipboard = iup:clipboard()
>
clipboard.addformat = 'HTML Format'
>
> clipboard.format = 'HTML Format'****
>
> clipboard.formatdatasize = htmltemplate:len()+1****
>
> clipboard.formatdata = htmltemplate
>


Thanks for taking the time to look at this for me.

I have tried that and it works to an extent,  I can't work out the fragment
positions either, but will experiment.  However  only being able to put one
format in does pose a slight problem as Windows does not seem to auto
populate the other formats.

So if I copy in the sample, it only exists in HTML Format and can not be
pasted to a text editor which only accepts text.

This is not a problem for the task in hand,  but it would be helpful to be
able to do this,  when you have the time to look at it.  I am away myself
from tomorrow and will be "off grid" for a week or so.

If it's any help I use a free windows clipboard tool called
CLCL<http://www.nakka.com/soft/clcl/index_eng.html> which displays the
contents of the clipboard and the formats it contains
and makes it easy to see the formats.


-- 
Jane.

Jane Taubman | www.rjt.org.uk | www.taubman.org.uk |www.fhug.org.uk
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to