photoshop scripting question
photoshop scripting question
- Subject: photoshop scripting question
- From: Bill Hoffman <email@hidden>
- Date: Wed, 10 Jul 2002 16:04:02 -0700
ok, stumped already. I've installed PS 7 Scripting Support and am
testing with the 'Batch Convert' sample script included in the download
from Adobe. This is on OSX 10.1.5.
when the script tells PS to open a JPEG file, the file is opened in
Preview.app. Huh??? Can anyone tell me why that would be, and what I
need to do?
Here's the relevant portion of the script:
set theFolder to choose folder
property fileIndex : 0
tell application "Finder"
set theFolderPath to theFolder as string
-- first close any open photoshop files
tell application "Adobe Photoshop 7.0"
close every document saving no
end tell
set filesList to files in theFolder
repeat with aFile in filesList
set fileIndex to fileIndex + 1
set theFile to aFile as alias
set theFileName to name of aFile
tell application "Adobe Photoshop 7.0"
set display dialogs to never
open aFile
[cut]
--
Bill Hoffman
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.