New Forum | Previous | Next | (P-PDF) Developers
Topic: Reader vs. Editor focus timing issues
Conf: (P-PDF) Developers, Msg: 134761
Date: 6/19/2005 11:46 AM
I'm doing a pdf that has the "copy data to the clipboard" feature as a workaround for Reader users to save some of the data if they change a form I have in the document. A tip I found out about here, so a general thanks to the collective brainpower of this forum.
But, something is going wrong. I am using Acrobat Editor 5 and Reader 5. Specifically:
2) This field has the menu events "Select All" and "Copy" triggered by the "on focus" condition. This is done via the field parameters rather than app.execMenuItem, since that command doesn't seem to work and I do no have access to the infinitely large developer document that has the platform-independent command names to try those out.
Anyway, these two steps work flawlessly under the Editor, but when you run it under Reader, it selects all the -other- text items in the document rather than the contents of the field just focused on.
In Editor, it focuses on the field, then selects and copies the content, but in Reader, it selects and copies the content everywhere else, then focuses on the field.
What am I doing wrong here? Is there some other conditional that I can trigger these events off of to make it happen in the right order.
Any help appreciated.