• 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: set the clipboard not available in in some apps (like Word)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set the clipboard not available in in some apps (like Word)


  • Subject: Re: set the clipboard not available in in some apps (like Word)
  • From: Joseph Weaks <email@hidden>
  • Date: Mon, 13 Dec 2004 12:49:50 -0600


On Dec 13, 2004, at 11:50 AM, Paul Berkowitz wrote:
...Unicode doesn't transfer from the system clipboard to Word's (I expect
it's
still using an old-fashioned method of getting styles).

I am not queazy about calling this a bug! At best, it's incomplete and poor Unicode implementation.

It's been confirmed by MS as a recently discovered bug. What's happening is
this: legacy code in Word is looking just for 'TEXT' (plain text) "flavor"
on the clipboard to see whether the clipboard's state is enabled or not,...

If you wanted, you could get around this in a Studio app by using 'call
method' with NSPasteboard methods to get your text box or text field data to
the clipboard, rather than 'set the clipboard'. I had to do that in one of
my Studio apps in order to get attributed strings (colored formatted text)
with graphics up there. There's a default for always including the plain
text version, and that would trigger Word's clipboard check. NSPasteboard
methods can get a bit complicated - and of course we're mostly using Studio
so as not to have to learn all that Objective C stuff. But - not for the
first time - it tends to work better...

This all makes complete sense. Maybe we should call it a half a bug each. Thanks for your thoroughness, Paul.
I have been reading through the NSPasteboard class documentation and have not yet been successful getting it to work in a call method statement. I typically have little success figuring out the syntax for these call methods.
I wonder if anyone can easily provide an example statement that sets a variable of unicode text to the general pasteboard (ie. system clipboard) in a way that includes a TEXT part along with the UTXT part.


Thanks again,
Joe Weaks

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: set the clipboard not available in in some apps (like Word)
      • From: Christopher Nebel <email@hidden>
    • Re: set the clipboard not available in in some apps (like Word)
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: set the clipboard not available in in some apps (like Word) (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Urgent Help Quark Users
  • Next by Date: Re: Another way to open files? (Droplet script with Canon Canoscan Toolbox)
  • Previous by thread: Re: set the clipboard not available in in some apps (like Word)
  • Next by thread: Re: set the clipboard not available in in some apps (like Word)
  • Index(es):
    • Date
    • Thread