Skip to main content
Inspiring
January 17, 2019
Question

PDF Page Number

  • January 17, 2019
  • 1 reply
  • 739 views

Hi,

     I have used the below code in applescript.  Its working in few systems and not working in few system.  When I am checking I came to know Adobe Professional 8 is not support. I don't know the root cause of the issue? Is it related adobe version?

     set pgNum to do script "this.getPageLabel(0);"               // But getPageLabel is working in acrobat javascript

     How can i call the javascript in applescript for Adobe professional?  Can anyone suggest me..

Thanks,

Sudha K

This topic has been closed for replies.

1 reply

BarlaeDC
Community Expert
Community Expert
January 18, 2019

HI,

I don't have acrobat 8 to test with, but the applescript you provided works fine with Acrobat 11 and 19 ( the two I have installed on my system.

Regards

Malcolm

Sudha_KAuthor
Inspiring
January 23, 2019

Hi,

     Sorry for the late reply...

     I have acrobat 8 only... Also i need to make it work in acrobat 8.  Its working in acrobat 9 but not working in acrobat 8.

try67
Community Expert
Community Expert
January 23, 2019

Hi,

     When I run this code from JS its returning page number correctly but its not working with applescript for Adobe professional 8.  Its throwing the below error in an applescript. It was working in one system with Adobe professional 9. I don't know whether its Adobe version with applescript problem or os related.

    


You need to ask in an AppleScript forum, then. Probably some kind of integration issue. Acrobat 8 (and 9) are very old versions, not compatible with any current operating system...