• 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
script hangs and won't finish
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

script hangs and won't finish


  • Subject: script hangs and won't finish
  • From: David DuBois <email@hidden>
  • Date: Wed, 11 Nov 2009 08:27:43 -0600

I'm trying to create a folder action and it hangs on the print window in Acrobat. I used Prefab UI browser to find the print button and I think I have it right, but it sill does not print. Any ideas?

on adding folder items to this_folder after receiving these_items
    try
        repeat with i from 1 to number of items in these_items
            set this_item to item i of these_items
            tell application "Adobe Acrobat Professional"
                activate
                open this_item
                print this_item with shrink to fit
                tell application "System Events"
                    tell process "Acrobat"
                        click button "Print" of window "Print"
                    end tell
                end tell
                close this_item
            end tell
        end repeat
    end try
end adding folder items to
 _______________________________________________
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

  • Prev by Date: Re: Screen Saver ON/OFF!
  • Next by Date: Re: Screen Saver ON/OFF!
  • Previous by thread: Re: Screen Saver ON/OFF!
  • Next by thread: Re: script hangs and won't finish
  • Index(es):
    • Date
    • Thread