image event help
image event help
- Subject: image event help
- From: Paul Abney <email@hidden>
- Date: Wed, 20 Oct 2010 15:55:08 -0500
The following snippet sometimes works, and sometimes fails at the line set imginfo to properties of theimg with the error theimg is not defined Yet I run the script again and it works. Any clues as to what I am doing wrong?
repeat with i from 1 to number of items in pdfs_folder set this_item to item i of pdfs_folder as alias tell application "Image Events" set theImg to open this_item set imgInfo to properties of theImg close theImg copy dimensions of imgInfo to {W, H} copy resolution of imgInfo to {WR, HR} end tell
Thanks Paul |
_______________________________________________
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