Re: Image Events
Re: Image Events
- Subject: Re: Image Events
- From: Takashi Yoshida <email@hidden>
- Date: Sun, 2 Nov 2003 02:15:05 +0800
I'm experiencing the same problem with no. 1.
I've used Michelle Steiner's script, but the scaling part doesn't seem
to do anything if the image is scaled by percentage.
On Oct 31, 2003, at 5:32 AM, Ben Waldie wrote:
>
I have been playing around with "Image Events" in Panther, and there
>
are some things I can't get to work quite right. Is anyone else
>
getting these things to work properly, or is it just me?
>
>
1) Scaling by Percentage - I can scale images to a specific size.
>
I.e.,
>
>
tell app "Image Events" to scale image 1 to size 100
>
>
However, when I do it to a percentage, it doesn't seem to do anything.
>
I.e.,
>
>
tell app "Image Events" to scale image 1 by factor .5
>
>
2) Getting Image Info - I am getting missing or empty data for image
>
information, such as resolution, dimensions, etc. I.e.,
>
>
tell app "Image Events" to return properties of image 1
>
--> {bit depth:missing value, file type:missing value, image file:file
>
"Macintosh HD:Users:Username:Desktop:my image.jpg" of application
>
"Image Events", location:folder "Macintosh HD:Users:Username:Desktop:"
>
of application "Image Events", resolution:{}, class:image,
>
dimensions:{}, name:"my image.jpg", color space:missing value}
>
>
-Ben
>
>
Benjamin S. Waldie
>
President & CEO
>
Automated Workflows, LLC
>
484.744.1831
>
=============================================
>
AppleScript and Workflow Automation
>
Consulting - <http://www.automatedworkflows.com>
>
AppleScript Info - <http://www.applescriptguru.com>
>
AppleScript Training - <http://www.applescripttraining.com>
>
=============================================
>
_______________________________________________
>
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.
>
>
--
Takashi Yoshida
e-mail: email@hidden
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.