Re: Image Events Errors
Re: Image Events Errors
- Subject: Re: Image Events Errors
- From: Kevin Meaney <email@hidden>
- Date: Sat, 11 Dec 2004 18:43:02 +0000
Chris,
I just tried your script on a G3 iBook a G4 powerbook and both worked.
I haven't used Image Events for sometime but I do remember having
troubles with it intermittently.
From my own experience I had trouble with Image Events quitting at
inappropriate times. It seemed to get itself confused as to when it
should automatically quit.
If you continue to have problems you can try out a small program of
mine called YVS Picture Translator that provides similar functionality
as Image Events. YVS Picture Translator is free and more info can be
read here:
http://www.yvs.eu.com/otherproducts.html
and here
http://homepage.mac.com/ktam2/yvs
Kevin
On 11 Dec 2004, at 15:10, Christopher Pryce wrote:
pulled some sample applescripts from the Apple Web sites for
scripting the new Image Events Ap (SIPS) that comes with Panther.
I get uneven results, and I am trying to decide if it is my system
install, my poor understanding of Apple script, or if what I am
experiencing is the expected behavoir.
On a G4 Quicksilver 733 with 10.3.6 updated from software update, if I
run this applescript:
set this_file to choose file
try
tell application "Image Events"
launch
-- open the image file
set this_image to open this_file
-- extract the property value
copy the resolution of this_image to {xres, yres}
-- purge the open image data
close this_image
end tell
display dialog "Resolution: " & (xres as string)
on error error_message
display dialog error_message
end try
After selecting an image, it displays the error: Can't get item 1 of
{};
If I run the same script on a Blue & White with 10.3.6 update from
Software update, I get the expected result: 72.0
Other properties such as File Type and bit depth are missing as well.
I see from previous posts that others have encountered similar
problems. Did anyone find a solution?
--
cp
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden