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

  • Star Fighter 3000: The Next Generation review
    Star Fighter 3000: The Next Generation was born from the 3D0 version of the original SF3K that was ported back to RISC OS and this year freed from programmers' hard discs for the platform to enjoy, writes Andrew Weston. In this review Andrew weighs up much-improved graphics and sound against playability and stability.
     19 comments, latest by AW on 9/12/08 8:45PM. Published: 17 Nov 2008

  • Random article

  • IRC channel #riscos created: We look at the RISC OS chat scene and the infamous #acorn

     2 comments, latest by AndrewDuffell on 10/12/04 10:34PM. Published: 1 Dec 2000

  • 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
    "Your attitude is appalling and childish"
    Page generated in 0.0354 seconds.