[texworks] SCRIPTING: get current poppler page number
bvoisin at me.com
Thu Oct 21 09:13:30 CEST 2010
Le 21 oct. 2010 à 05:05, Paul A Norman a écrit :
> The adobe page for the Apple Events information, is virtually empty.
> On 21 October 2010 15:40, Paul A Norman <paul.a.norman at gmail.com> wrote:
>> APPLE MAC
>> "When opening a PDF document with an Apple Event on a Macintosh
>> operating system,
>> you can optionally pass the PDF Open parameters."
>> What does this mean to a Mac user please? - i.e. what is an "Apple Event"
I'm only guessing here, having never done any scripting myself, but I think Apple Event in this sense relates to AppleScript, the Mac scripting language:
leading to the empty page you mentioned on Apple Events support.
Two more things:
- The extract you gave seems to imply that it's possible to call Acrobat through an AppleScript and pass on the PDF Open parameters from
inside the Apple Script. Googling for "applescript acrobat" returns
which appears as an example of combining Acrobat and AppleScript.
- Generally, and I realize this is a controversial topic, Adobe apps on the Mac are in my experience second thoughts, hasty ports, of Windows applications. They work like Windows apps, not Mac apps, and are very badly optimized, often using up 95% of the CPU with no particular reason, blocking the current app sometimes for minutes and not letting the user switch gracefully to other applications as apps normally do, and at times crashing. I've experienced this repeatedly over more than a decade with successive versions of Illustrator, Reader/Acrobat and Flash Player. Basically you use an Adobe app or plug-in on the Mac because you have to, not because you enjoy to.
All this to say that that lack of OS X scripting support in Acrobat, if that is indeed the case, would not come out as a surprise.
More information about the texworks