Re: what's going on? Image Events...
Re: what's going on? Image Events...
- Subject: Re: what's going on? Image Events...
- From: Graff <email@hidden>
- Date: Sun, 13 Jun 2004 22:08:02 -0400
With Image Events you need to open the file before you can do anything
with the file. You should also make sure to close the file so that it
isn't hanging around open. This works:
----
set theFile to choose file
set thistype to ""
tell application "Image Events"
open theFile
set thistype to file type of image theFile
close theFile
end tell
thistype
----
- Ken
On Jun 13, 2004, at 7:02 PM, Michael Cytrynowicz wrote:
I run this:
set theFile to choose file
set thistype to ""
tell application "Image Events"
set thistype to file type of image theFile
end tell
thistype
(I've tried other things besides file type, such as resolution, color
space, etc, from the IE dictionary)
and I get this:
error message: the variable thistype is not defined
What am I doing wrong?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.