script hangs and won't finish
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