Re: Photoshop to resize Illustrator eps's script
Re: Photoshop to resize Illustrator eps's script
- Subject: Re: Photoshop to resize Illustrator eps's script
- From: Shane Stanley <email@hidden>
- Date: Wed, 11 Feb 2004 08:37:04 +1100
On Feb 11, 2004, at 1:42 AM, Paul Kampu wrote:
We have a folder selected in the Finder. We want to open all the
Illustrator
eps9s within the folder in Photoshop, resize them and save them as
Photoshop
documents. Then we move them all to another folder that the script
creates.
Problem is, for some reason, the script is telling Illustrator to open
the
files?! (and I don't have any idea as to why!)
It's because you're getting the list of files via the Finder, and so
you are ending up with Finder references to the files. When you pass
them to Photoshop, it doesn't understand them and they promptly get
passed back to the Finder -- it's as if you just double-clicked on
them.
Change this:
set thisItem to item i of the itemList
to:
set thisItem to (item i of the itemList) as alias
--
Shane Stanley <email@hidden>
_______________________________________________
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.