Re: Image Events
Re: Image Events
- Subject: Re: Image Events
- From: Peter Waibel <email@hidden>
- Date: Fri, 18 Aug 2006 17:08:24 +0200
Am 18.08.2006 um 15:12 schrieb Jay Louvion:
Anyone has an idea why when summoning Image Events from a
subroutine (called from inside a Finder tell block), the image
opens in Preview instead and the script states that the variable
(that should have been defined by the opening of the image in Image
Events) is not defined ?
This works for me (Mac OS 10.4.5).
tell application "Finder"
set myAlias to (choose file) as alias
my Resizethis(myAlias)
end tell
on Resizethis(onefile)
tell application "Image Events"
launch
set this_image to open onefile
scale this_image to size 100
save this_image
close this_image
end tell
end Resizethis
Peter
_______________________________________________
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
References: | |
| >Image Events (From: Jay Louvion <email@hidden>) |