MACSCRPT Archives

August 2012

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Carlos Ysunza <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 27 Aug 2012 15:44:36 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
try to let the job to save to  AppleScript with something like this, not tested:

tell application "Finder"
set MyFolder to choose folder    -->> "MacPro:Users:cysunza:Desktop:TempFolder:"
set MyTempFile to MyFolder & "TempFile.jpg" as alias   -->>"MacPro:Users:cysunza:Desktop:TempFolder:TempFile.jpg"
end tell

tell application "Adobe Photoshop CS6"
tell document 1
do action "ActionName" from "ActionFolder"
set SaveOptions to {class:Photoshop save options, embed color profile:false, save alpha channels:false} -- just an example
save in file MyTempFile as Photoshop format with options SaveOptions
end
en  tell

tell application "Finder"
set name of MyTempFile to "FileName.psd"
move tempFile to desktop -- or any other location
end tell

should work

I hope this help
Carlos Ysunza

ATOM RSS1 RSS2