[squeak-dev] http://try.squeak.org/ pasting text from the clipboard?

Bert Freudenberg bert at freudenbergs.de
Fri Feb 17 13:37:50 UTC 2017


Yes, that's a browser security feature.

JavaScript cannot access the system clipboard at all times. It only works
inside the browser's own copy/paste event handler, which is why it must be
triggered using the *browser's* keyboard shortcuts or menu, not Squeak's.

- Bert -

On Fri, Feb 17, 2017 at 2:26 PM, H. Hirzel <hannes.hirzel at gmail.com> wrote:

> Thanks for the solution
>
> ctrc c / ctrl v
>
> works!
>
> I used the Squeak menu (copy/paste) and that does not work.
>
> --Hannes
>
> On 2/17/17, Bert Freudenberg <bert at freudenbergs.de> wrote:
> > On Fri, Feb 17, 2017 at 2:06 PM, Bert Freudenberg <bert at freudenbergs.de>
> > wrote:
> >
> >> Did you try crtl-c / ctrl-v? We just tried on Linux and it worked.
> >>
> >
> > Actually, we tried on https://squeak.js.org/demo/simple.html#fullscreen
> but
> > should be pretty much the same.
> >
> > - Bert -
> >
> >
> >>
> >> - Bert -
> >>
> >>
> >> On Fri, Feb 17, 2017 at 1:56 PM, H. Hirzel <hannes.hirzel at gmail.com>
> >> wrote:
> >>
> >>> This seems not to apply to Chromium version 53
> >>> Version 53.0.2785.143 Built on Ubuntu , running on LinuxMint 17.1
> >>>
> >>> Which version of Chrome/Chromium do you recommend?
> >>>
> >>> --Hannes
> >>>
> >>> On 2/16/17, Bert Freudenberg <bert at freudenbergs.de> wrote:
> >>> > If you use Chrome then it should work, yes.
> >>> >
> >>> > - Bert -
> >>> >
> >>> > On Thu, Feb 16, 2017 at 12:49 PM, H. Hirzel <hannes.hirzel at gmail.com
> >
> >>> > wrote:
> >>> >
> >>> >> Hello
> >>> >>
> >>> >> Is it possible to paste text from the 'outside' clipboard into an
> >>> >> image
> >>> >> in
> >>> >>
> >>> >>
> >>> >>     http://try.squeak.org/
> >>> >>
> >>> >> ?
> >>> >>
> >>> >> Regards
> >>> >>
> >>> >> Hannes
> >>> >>
> >>> >>
> >>> >
> >>>
> >>>
> >>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170217/ab62f526/attachment.html>


More information about the Squeak-dev mailing list