0 Replies Latest reply on Oct 5, 2011 4:22 AM by alalal011

    A shortcut for a button in Print window

    alalal011

      I want to make a shortcut on Picture 3.jpgPrinter button in Print window, which is not definable through Print Presets.

      This button is needed to setup a printer (paper, tray and so on).

      Some guy gave me a piece of AS code, but it doesn’t work unfortunately,

      the buttons are only lighted, but not pressed.

       

      tell application "System Events"

         tell process "InDesign"

            click button "Printer..." of window "Print"

         end tell

      end tell

       

      I tried "click button 3", not workin too.

       

      Can anyone tell why?

       

      Thank you