Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #5672

Re: loading the clipboard

From Andrew Conroy <a.m.conroy@owlart.co.uk>
Subject Re: loading the clipboard
Newsgroups comp.sys.acorn.programmer
Date 2019-01-03 21:53 +0000
Message-ID <5770c51320a.m.conroy@owlart.co.uk> (permalink)
References <19191f7057.jim@6.abbeypress.net> <9c6da17057.jim@6.abbeypress.net> <gemini.pkrmbo00fubap0244.usenet@alanwrigley.me.uk>
Organization Owl-Art Un-Ltd.

Show all headers | View raw


In article <gemini.pkrmbo00fubap0244.usenet@alanwrigley.me.uk>,
   Alan Wrigley <usenet@alanwrigley.me.uk> wrote:
> Jim Nagel <jnews18c@abbeypress.co.uk> wrote:

> > Found the routine I was using on the RiscPC (4.39).  It used
> >      SYS "ClipboardHolder_Copy" ,0,&FFF,A$,L%
> > but RiscOS 5 does not (yet) provide that SYS call.
> > Could it be added?  Would surely be widely useful.

> The Clipboard Holder module is specific to the RO4/6 branch of the OS.
> For RO5 you have to use the standard clipboard protocol as devised by
> Acorn which involves claiming the clipboard and then responding to
> requests for the current clip. This document describes how it works:

> http://chrisacorns.computinghistory.org.uk/docs/Acorn/AN/240.pdf

The downside to this method is that the clipboard contents are only
preserved whilst the app that put them there is active. If you quit the
app, it takes the clipboard with it. This means Jim can't have a 'script'
to put something onto the clipboard, he needs a full Wimp application
that stays running and responds to User Messages.

A truly global clipboard would preserve the contents even after the app
quits. 

Andrew

-- 
+----------------------------------------+---------------------------------+
| Andrew Conroy, Owl-Art Un-Ltd.         | email: a.m.conroy@argonet.co.uk |
| Coming to you on an Acorn RiscPC SA110 |                                 |
+----------------------------------------+---------------------------------+
      The impossible I can do at once, miracles take a little longer!!

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

loading the clipboard Jim Nagel <jnews18c@abbeypress.co.uk> - 2019-01-02 15:40 +0000
  Re: loading the clipboard Ronald <gettingchoppy@gmail.com> - 2019-01-03 08:50 +1300
  Re: loading the clipboard Jim Nagel <jnews18c@abbeypress.co.uk> - 2019-01-03 15:23 +0000
    Re: loading the clipboard Alan Wrigley <usenet@alanwrigley.me.uk> - 2019-01-03 17:09 +0000
      Re: loading the clipboard Andrew Conroy <a.m.conroy@owlart.co.uk> - 2019-01-03 21:53 +0000
        Re: loading the clipboard Alan Wrigley <usenet@alanwrigley.me.uk> - 2019-01-03 22:45 +0000
          Re: loading the clipboard Steve Fryatt <news@stevefryatt.org.uk> - 2019-01-03 23:13 +0000
    Re: loading the clipboard Fred Graute <fjgraute@planet.nl> - 2019-01-04 02:31 +0100

csiph-web