Re: Image Events
Re: Image Events
- Subject: Re: Image Events
- From: Graff <email@hidden>
- Date: Fri, 04 Jun 2004 12:04:40 -0400
If you use the Finder-style of a path then you need to prepend the
string with "file", if you use the Posix-style of path then you need to
use "Posix path"
Finder-style path:
----
tell application "Image Events"
open file "path:to:file"
end tell
----
Posix-style path:
----
tell application "Image Events"
open Posix file "/path/to/file"
end tell
----
- Ken
On Jun 4, 2004, at 10:59 AM, Townsend, Gregory *HS wrote:
I'm having all sorts of trouble with Image Events, namely that it's
not working.
If I use it to try to information about an image, I get no information
(i.e., an empty list). I've copied the example scripts at the
AppleScript website just to make sure that I haven't written something
incorrectly, but I get the same result (or lack thereof).
I've also tried to use it to convert images. If I use the scripts at
the AppleScript site exactly, it works ok. However, if I identify the
path to an image file ahead of time rather than using 'choose file', I
get bupkus. I'm assuming that I must need to use a special syntax for
the path to the image file, but I can't figure out what it might be.
I've tried ' as string', ' as Unicode text' and 'POSIX path of '
without success.
Using OS 10.3.3/10.3.4.
_______________________________________________
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.
References: | |
| >Image Events (From: "Townsend, Gregory *HS" <email@hidden>) |