Re: GraphicConverter & saving files in new places
Re: GraphicConverter & saving files in new places
- Subject: Re: GraphicConverter & saving files in new places
- From: "Marc K. Myers" <email@hidden>
- Date: Tue, 12 Nov 2002 13:14:17 -0500
Subject: Re: GraphicConverter & saving files in new places
Date: Mon, 11 Nov 2002 18:49:46 -0600
From: Peter Bunn <email@hidden>
To: "Geoffrey Green" <email@hidden>, "AppleScript Users
Mailing List" <email@hidden>
I have been working on something similar and resorted to telling the
Finder to make new file at _destination_ with properties {name: "xyz"}
(and setting the file type to whatever's appropriate - i.e. "GIFf",
"JPEG") , then telling GC to save in/to the file created by the
Finder...
Clunky, but it allows setting the file as an alias/file ref variable
for
GC to save in.
Did you arrive at a better solution?
If you supply GraphicConverter's "save" command with a target in the
form of a string representing a complete path to the desired new file
it will create a new file of the type you specify in the command.
There's no need to go through acrobatics to get there. The dictionary
is confusing in that it identifies the target as an alias, which it is
not.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[11/12/02 1:14:01 PM]
_______________________________________________
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.