Drobe :: The archives
About Drobe | Contact | RSS | Twitter | Tech docs | Downloads | BBC Micro

Reply to thread

It's not really designed for this, but, if you insert the following immediately before the end of the PROCcheckclip routine...

3081 : IF text_available% THEN PROCsaveTXT("<Wimp$ScrapDir>.winclip"):SYS "ClipboardHolder_Copy",1,&FFF,"<Wimp$ScrapDir>.winclip"

... then every time that it checks the clipboard and finds that it contains text, it will be copied to the RISC OS clipboard.

Obviously this is terribly inefficient, and incorrect. WinClip would, for this, need to check whether the contents had changed - I would assume there's a notification that goes around that could be used. If not then a length check + simple CRC of the contents would suffice, I imagine.

Handling of other formats is left as an exercise for the reader. Sadly, my laptop is currently on vacation so I can neither try this nor say if it's even correct.

 is a RISC OS UserGerph on 11/7/04 7:15PM
[ Reply | Permalink | Report ]

Please login before posting a comment. Use the form on the right to do so or create a free account.

Search the archives

Today's featured article

  • Review: A9home v. Koolu
    Clash of the tiniest
     31 comments, latest by polas on 18/10/07 6:03PM. Published: 15 Oct 2007

  • Random article

  • DTP Principles guide book available
    Choice of a bonus CD-ROM
     2 comments, latest by harmsy on 31/8/03 12:17PM. Published: 27 Aug 2003

  • Useful links

    News and media:
    IconbarMyRISCOSArcSiteRISCOScodeANSC.S.A.AnnounceArchiveQercusRiscWorldDrag'n'DropGAG-News

    Top developers:
    RISCOS LtdRISC OS OpenMW SoftwareR-CompAdvantage SixVirtualAcorn

    Dealers:
    CJE MicrosAPDLCastlea4X-AmpleLiquid SiliconWebmonster

    Usergroups:
    WROCCRONENKACCIRUGSASAUGROUGOLRONWUGMUGWAUGGAGRISCOS.be

    Useful:
    RISCOS.org.ukRISCOS.orgRISCOS.infoFilebaseChris Why's Acorn/RISC OS collectionNetSurf

    Non-RISC OS:
    The RegisterThe InquirerApple InsiderBBC NewsSky NewsGoogle Newsxkcddiodesign


    © 1999-2009 The Drobe Team. Some rights reserved, click here for more information
    Powered by MiniDrobeCMS, based on J4U | Statistics
    "Regarding Drobe, are they [incompetent], simply biased or is it company policy?"
    Page generated in 0.0359 seconds.