• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: weird clipboard behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird clipboard behaviour


  • Subject: Re: weird clipboard behaviour
  • From: Andy Wylie <email@hidden>
  • Date: Fri, 16 Nov 2001 15:40:08 +1300

on 16/11/01 5:28 AM, Jon Pugh at email@hidden wrote:

> At 5:13 PM -0800 11/14/2001, Christopher Nebel wrote:
>> The workaround is to strip the style info from "the clipboard"'s result
>> somehow.
>
> The simplest technique for that is simply "the clipboard as string".
>
>> It has been in AppleScript 1.7, as long as the styled text in question is
>> well-formed, as opposed to the weird mutant crap "the clipboard" returns in
>> some cases. The root bug is in "the clipboard" (and yes, it's still Jon's
>> code); a couple other parts of AppleScript are insufficiently resilient to
>> cope.
>
> I would like to know more about your analysis. Looking at the code, I see
> that I am using AppleScript's record to styled text coercion to create the
> "weird mutant crap" that you are complaining about. I'm not entirely sure how
> this is wrong, unless AppleScript is the root cause.
>

'MT Set Clipboard' from 'Tanaka's extra' OSAX behaves the same however 'MT
Read Clipboard' works.
_____________________________ Andy


References: 
 >Re: weird clipboard behaviour (From: Jon Pugh <email@hidden>)

  • Prev by Date: Re: Idle handling, just not grokking it.
  • Next by Date: Store Script Madness
  • Previous by thread: Re: weird clipboard behaviour
  • Next by thread: Re: weird clipboard behaviour
  • Index(es):
    • Date
    • Thread