Quantcast

http://try.squeak.org/ pasting text from the clipboard?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

http://try.squeak.org/ pasting text from the clipboard?

Hannes Hirzel
Hello

Is it possible to paste text from the 'outside' clipboard into an image in


    http://try.squeak.org/

?

Regards

Hannes

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: http://try.squeak.org/ pasting text from the clipboard?

Bert Freudenberg
If you use Chrome then it should work, yes.

- Bert -

On Thu, Feb 16, 2017 at 12:49 PM, H. Hirzel <[hidden email]> wrote:
Hello

Is it possible to paste text from the 'outside' clipboard into an image in


    http://try.squeak.org/

?

Regards

Hannes




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: http://try.squeak.org/ pasting text from the clipboard?

Hannes Hirzel
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 <[hidden email]> wrote:

> If you use Chrome then it should work, yes.
>
> - Bert -
>
> On Thu, Feb 16, 2017 at 12:49 PM, H. Hirzel <[hidden email]>
> wrote:
>
>> Hello
>>
>> Is it possible to paste text from the 'outside' clipboard into an image
>> in
>>
>>
>>     http://try.squeak.org/
>>
>> ?
>>
>> Regards
>>
>> Hannes
>>
>>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: http://try.squeak.org/ pasting text from the clipboard?

Bert Freudenberg
Did you try crtl-c / ctrl-v? We just tried on Linux and it worked.

- Bert -

On Fri, Feb 17, 2017 at 1:56 PM, H. Hirzel <[hidden email]> wrote:
This seems not to apply to Chromium version 53
Version <a href="tel:53.0.2785.143" value="+15302785143">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 <[hidden email]> wrote:
> If you use Chrome then it should work, yes.
>
> - Bert -
>
> On Thu, Feb 16, 2017 at 12:49 PM, H. Hirzel <[hidden email]>
> wrote:
>
>> Hello
>>
>> Is it possible to paste text from the 'outside' clipboard into an image
>> in
>>
>>
>>     http://try.squeak.org/
>>
>> ?
>>
>> Regards
>>
>> Hannes
>>
>>
>




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: http://try.squeak.org/ pasting text from the clipboard?

Bert Freudenberg
On Fri, Feb 17, 2017 at 2:06 PM, Bert Freudenberg <[hidden email]> 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 <[hidden email]> wrote:
This seems not to apply to Chromium version 53
Version <a href="tel:53.0.2785.143" value="+15302785143" target="_blank">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 <[hidden email]> wrote:
> If you use Chrome then it should work, yes.
>
> - Bert -
>
> On Thu, Feb 16, 2017 at 12:49 PM, H. Hirzel <[hidden email]>
> wrote:
>
>> Hello
>>
>> Is it possible to paste text from the 'outside' clipboard into an image
>> in
>>
>>
>>     http://try.squeak.org/
>>
>> ?
>>
>> Regards
>>
>> Hannes
>>
>>
>





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: http://try.squeak.org/ pasting text from the clipboard?

Hannes Hirzel
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 <[hidden email]> wrote:

> On Fri, Feb 17, 2017 at 2:06 PM, Bert Freudenberg <[hidden email]>
> 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 <[hidden email]>
>> 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 <[hidden email]> wrote:
>>> > If you use Chrome then it should work, yes.
>>> >
>>> > - Bert -
>>> >
>>> > On Thu, Feb 16, 2017 at 12:49 PM, H. Hirzel <[hidden email]>
>>> > wrote:
>>> >
>>> >> Hello
>>> >>
>>> >> Is it possible to paste text from the 'outside' clipboard into an
>>> >> image
>>> >> in
>>> >>
>>> >>
>>> >>     http://try.squeak.org/
>>> >>
>>> >> ?
>>> >>
>>> >> Regards
>>> >>
>>> >> Hannes
>>> >>
>>> >>
>>> >
>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: http://try.squeak.org/ pasting text from the clipboard?

Bert Freudenberg
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 <[hidden email]> 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 <[hidden email]> wrote:
> On Fri, Feb 17, 2017 at 2:06 PM, Bert Freudenberg <[hidden email]>
> 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 <[hidden email]>
>> wrote:
>>
>>> This seems not to apply to Chromium version 53
>>> Version <a href="tel:53.0.2785.143" value="+15302785143">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 <[hidden email]> wrote:
>>> > If you use Chrome then it should work, yes.
>>> >
>>> > - Bert -
>>> >
>>> > On Thu, Feb 16, 2017 at 12:49 PM, H. Hirzel <[hidden email]>
>>> > wrote:
>>> >
>>> >> Hello
>>> >>
>>> >> Is it possible to paste text from the 'outside' clipboard into an
>>> >> image
>>> >> in
>>> >>
>>> >>
>>> >>     http://try.squeak.org/
>>> >>
>>> >> ?
>>> >>
>>> >> Regards
>>> >>
>>> >> Hannes
>>> >>
>>> >>
>>> >
>>>
>>>
>>
>




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: http://try.squeak.org/ pasting text from the clipboard?

Hannes Hirzel
In reply to this post by Hannes Hirzel
P.S. The fact that ctrl c / ctrl v works is in particular noteworthy
in connection with

JSbridge

http://try.squeak.org/#document=JSBridge.st

"use Smalltalk to create an interactive HTML interface"

On 2/17/17, H. Hirzel <[hidden email]> 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 <[hidden email]> wrote:
>> On Fri, Feb 17, 2017 at 2:06 PM, Bert Freudenberg <[hidden email]>
>> 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 <[hidden email]>
>>> 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 <[hidden email]> wrote:
>>>> > If you use Chrome then it should work, yes.
>>>> >
>>>> > - Bert -
>>>> >
>>>> > On Thu, Feb 16, 2017 at 12:49 PM, H. Hirzel <[hidden email]>
>>>> > wrote:
>>>> >
>>>> >> Hello
>>>> >>
>>>> >> Is it possible to paste text from the 'outside' clipboard into an
>>>> >> image
>>>> >> in
>>>> >>
>>>> >>
>>>> >>     http://try.squeak.org/
>>>> >>
>>>> >> ?
>>>> >>
>>>> >> Regards
>>>> >>
>>>> >> Hannes
>>>> >>
>>>> >>
>>>> >
>>>>
>>>>
>>>
>>
>

Loading...