3 Replies Latest reply on Jun 18, 2015 8:50 AM by beh_gras_beh

    initial view

    beh_gras_beh Level 1

      Dear scripters,

       

      I have this script for Acrobat 9 Pro.

      I'm almost there but it seems I can't get to the "Fit Page" option at Initial View.

      Does anybody knows what I'm doing wrong?

       

       

      tell application "System Events"
        tell process "AdobeAcrobat"
        tell menu bar 1
        tell menu bar item "File"
        tell menu "File"
        tell menu item "Properties..."
        click
        end tell
        end tell
        end tell
        end tell
        tell item 1 of every tab group of window "Document Properties"
        click radio button "Initial View"
        tell group "Layout and Magnification"
        tell combo box 1
        click button 1
        tell group 1
      
        click button 1
        end tell
        end tell
        end tell
        end tell
        click button "OK" of window "Document Properties"
        end tell
      end tell