• 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: Jon Pugh <email@hidden>
  • Date: Thu, 15 Nov 2001 08:28:27 -0800

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.

Jon


  • Follow-Ups:
    • Re: weird clipboard behaviour
      • From: Andy Wylie <email@hidden>
    • Re: weird clipboard behaviour
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: weird clipboard behaviour (From: Christopher Nebel <email@hidden>)

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