I’m trying to get the resolution of selected image files.
here is the relevant script snippet:
tell application “Finder”
set selected_items to selection
repeat with this_item in selected_items
tell application “Image Events”
launch
set this_image to open this_item
tell this_image
resolution
end tell
end tell
end repeat
end tell
I keep getting the error that this_image is not defined. What am I doing wrong here?
Sorry for a really newbie question. I’m just learning.
Model: Powerbook G4, 1.5GHz
Browser: Firefox 2.0.0.11
Operating System: Mac OS X (10.5)