Upon breaking the loop which took a while and resulted in
shell 'pbpaste'
|break: spawn
| shell'pbpaste'
Then both wd 'clippaste' and shell pbpaste worked in the jqt environment. Must
have been fat fingers, apologies for the noise. :-)
wd 'clippaste'
JVERSION
Engine: j807/j64/darwin
Release-b: commercial/2019-01-22T16:42:49
Library: 8.07.22
Qt IDE: 1.7.9/5.9.6
Platform: Darwin 64
Installer: J807 install
InstallPath: /users/bobtherriault/j64-807
Contact: www.jsoftware.com
shell 'pbpaste'
JVERSION
Engine: j807/j64/darwin
Release-b: commercial/2019-01-22T16:42:49
Library: 8.07.22
Qt IDE: 1.7.9/5.9.6
Platform: Darwin 64
Installer: J807 install
InstallPath: /users/bobtherriault/j64-807
Contact: www.jsoftware.com
Cheers, bob
> On Jan 29, 2019, at 9:15 AM, 'robert therriault' via Programming
> <[email protected]> wrote:
>
> I did this in JHS and the console, in jqt it seems to have hung my session!
> Oops
>
> Maybe Jimmy's suggestion of wd 'clippaste' is better for that environment.
>
> Cheers, bob
>
>
>> On Jan 29, 2019, at 9:09 AM, 'robert therriault' via Programming
>> <[email protected]> wrote:
>>
>> David,
>>
>> In Darwin shell 'pbpaste' returns the contents of the clipboard. In the case
>> below I copied the JVERSION information to clipboard and that shows up as
>> the response.
>>
>> shell 'pbpaste'
>> JVERSION
>> Engine: j807/j64/darwin
>> Release-b: commercial/2019-01-22T16:42:49
>> Library: 8.07.22
>> Platform: Darwin 64
>> Installer: J807 install
>> InstallPath: /users/bobtherriault/j64-807
>> Contact: www.jsoftware.com
>>
>> Cheers, bob
>>
>>> On Jan 29, 2019, at 9:03 AM, David Mitchell
>>> <[email protected]> wrote:
>>>
>>> Brian,
>>>
>>> Someone will need to do the low-level coding for Darwin to duplicate this.
>>>
>>> Question: does
>>>
>>> shell 'pbpaste'
>>>
>>> Do anything interesting? I don't have a mac and can't try it.
>>>
>>> Cheers,
>>>
>>> David
>>>
>>> On 1/29/2019 11:40, Brian Schott wrote:
>>>> David, that looks very promising, but does not quite work for me.
>>>>
>>>> load'~addons/general/misc/clippaste.ijs'
>>>> getcliptext''
>>>> |domain error: cd
>>>> | 0= OpenClipboard 0
>>>> JVERSION
>>>> Engine: j807/j64/darwin
>>>> Beta-f: commercial/2018-06-28T12:14:57
>>>> Library: 8.07.16
>>>> Platform: Darwin 64
>>>> Installer: J807 install
>>>> InstallPath: /users/brian/j64-807
>>>> Contact: www.jsoftware.com
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm