• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scripting InDesign CS3 print dialog box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting InDesign CS3 print dialog box


  • Subject: Scripting InDesign CS3 print dialog box
  • From: Char Thumser <email@hidden>
  • Date: Tue, 18 May 2010 16:02:01 -0500
  • Thread-topic: Scripting InDesign CS3 print dialog box

Title: Scripting InDesign CS3 print dialog box
I'm having a problem scripting the GUI in InDesign.  I am using InDesign CS 3 with 10.5. Below is what PART of my script looks like;
       
                tell application "System Events" to tell process "Adobe InDesign CS3"
                    click menu item "Print..." of menu of menu bar item "File" of menu bar 1
                    click pop up button 5 of window "Print" --Print Preset

                    --Select second printer preset in print dialog box
                    keystroke (ASCII character 31) -- down arrow key
                    keystroke (ASCII character 31) -- down arrow key                   
                    keystroke return

                    --Move to second print dialog box
                    click button "Printer…"
                    delay 1

                    --Move to "SAVE" dialog box
                                        click button "Print"

                    --Give the file a name
                                        keystroke theName
                    delay 2

                    --Print to PDF
                                        keystroke return                                               
                   
                end tell

When the script gets to the "click button "Printer...", the script actually clicks the "Printer..." button (I can see it change color) however nothing happens. The new "Print" dialog box doesn't open as it should.  Is there something I'm missing with this script?  I appreciate anyone's help with this.  Thank you in advance!!

Char
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Scripting InDesign CS3 print dialog box
      • From: Richard Rönnbäck <email@hidden>
  • Prev by Date: Re: FileMaker Pro Hierarchy
  • Next by Date: Re: Getting Info from the Finder
  • Previous by thread: Re: FileMaker Pro Hierarchy
  • Next by thread: Re: Scripting InDesign CS3 print dialog box
  • Index(es):
    • Date
    • Thread