• 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
Multiple Clipboards?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple Clipboards?


  • Subject: Multiple Clipboards?
  • From: Bill Briggs <email@hidden>
  • Date: Tue, 15 Feb 2005 10:27:30 -0400

Strange problem here. I've got a script that runs from the scripts menu of FrameMaker in Classic, and takes the user selected text and launches a Google Search for it. Works fine in v7 of FrameMaker, but because of a bug in v6 of FrameMaker it errors on selected text if it's in a Table. The script should work because the dictionary is the same for tables, user selection, etc. in both versions, so it's some kind of FrameMaker bug (its scripting has many bugs).

To work around it, I ask the user to copy that text to the clipboard so the script can pick it up there. But it fails to get the copied text. Instead it gets what was previously on the clipboard. If run a second time, it gets the right text. However, when I step through the script in Script Debugger it works as expected, getting the right text the first time through. I'm a little puzzled as to why it takes the previous clipboard entry instead of the current one. I've tried compiling the script from a Classic Script Editor version and Script Debugger running in OS X, and it behaves the same way in both cases.

Any ideas as to why there's a lingering clipboard entry?

- web
_______________________________________________
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


References: 
 >Re: Setting icon (From: John Baltutis <email@hidden>)

  • Prev by Date: Re: question about behaviour of Appleworks save.
  • Next by Date: Re: Setting icon (Applescript-users Digest, Vol 2, Issue 108)
  • Previous by thread: Re: Setting icon
  • Next by thread: question about behaviour of Appleworks save.
  • Index(es):
    • Date
    • Thread