Multiple Clipboards?
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