Good morning Jafar,

As you have said, you can copy from another application to the Unicon
IDE. However, the reverse is not true, at least in linux. I was able to
copy from gedit to UI but I could not copy from UI to gedit.

A quick follow through the code doesn't appear to show how to get to the
system clipboard. The UI creates a Clipboard object but this appears to
local to the Unicon VM. I will continue looking later today when I am
back from firewood collecting.

regards

Bruce Rennie

On 03/11/15 06:24, Jafar Al-Gharaibeh wrote:
> Bruce,
>
>   You should be able to do "global" clipboard" copy/paste. I quickly
> tried that in the Unicon IDE and I was able to copy paste from another
> application. I will look up the details and let you know when I get a
> chance if you don't get it to work by then.
>
> --Jafar
>
>
>
> On Mon, Nov 2, 2015 at 5:13 AM, Bruce & Breeanna Rennie
> <[email protected] <mailto:[email protected]>> wrote:
>
>     To all a good evening,
>
>     I now have completed coding of my application except for the copy to
>     clipboard function.
>
>     Looking at UTR6c, there is an example of copy/paste to/from clipboard.
>     Notably, it uses the WAttrib("selection=" || longstr) to copy the data
>     to the clipboard. One is then able to copy back to elsewhere.
>
>     However, I am finding that this is local to the Unicon window
>     opened. It
>     has no effect on the system clipboard. Is there any known method
>     (cross-platform) in which I can copy from my application to another
>     application running, e.g. to some editor or application like 
>     libreoffice?
>
>     Or is this going to involve writing a C function to handle this?
>
>     regards
>
>     Bruce Rennie
>
>     
> ------------------------------------------------------------------------------
>     _______________________________________________
>     Unicon-group mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/unicon-group
>
>


------------------------------------------------------------------------------
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to