Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photoshop CS2 Save



On 28/10/06 4:45 AM, "Stan Cleveland" <email@hidden> wrote:

> The following snippet works OMM. The variable filePath contains a file spec or
> string of the save location, which may include a new document name, if
> desired, or just the directory to save into:
> 
> tell application "Adobe Photoshop CS2"
>     save current document in filePath as Photoshop EPS ¬
>         appending lowercase extension with options {encoding:binary, ¬
>        embed color profile:true, preview type:eight bit TIFF} with copying
> end tell

Using "appending <any case> extension" is unreliable in CS2; it only works
properly if a file of the same name already exists. It's safer to include it
in your filePath variable.

-- 
Shane Stanley <email@hidden>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Photoshop CS2 Save (From: Stan Cleveland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.