Re: GraphicConverter: save in alias, alias ignored
Re: GraphicConverter: save in alias, alias ignored
- Subject: Re: GraphicConverter: save in alias, alias ignored
- From: Walter Ian Kaye <email@hidden>
- Date: Tue, 2 Mar 2004 10:14:10 -0800
At 09:37a -0800 03/02/2004, Paul Berkowitz didst inscribe upon an
electronic papyrus:
On 3/2/04 8:48 AM, "Walter Ian Kaye" <email@hidden> wrote:
> How'd you happen to think of saving into a plain file path?
That has always worked - AppleScript does the coercion itself. In some apps,
including Outlook Express and Entourage which I script a lot, it's actually
required, since these apps have their own 'file' keyword meaning something
completely different, which takes precedence over AppleScript's own 'file'
keyword. Saving to the filepath has always worked there - and the
AppleScript coercion to file specification was transferred (or maintained)
in OS X - AS 1.6 to be precise, when fileURL took over here.
It's possible that GC also has a 'file' keyword. But it's also possible that
the current confusion in AppleScript 1.9.3 (1.9.x generally) over 'file' is
what's responsible for your problems here, not GC at all.
Nope, I didn't not use the 'file' keyword at any time here.
I tried the following:
(fp_m as <<class furl>>)
(alias fp_m) --after using 'open for access' to pre-create the file
(You can also try 'as file specification' - that often works too,
but is not needed.) Thank goodness for the filepath-to-fileURL
coercion.
Didn't help here.
Safest is to use Unicode text, of course, not string.
True, though OMM I only have plain ASCII in the path to my images
folder so that wasn't an issue in this case.
-boo
_______________________________________________
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.