• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Photoshop opening file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photoshop opening file


  • Subject: Re: Photoshop opening file
  • From: Matthew Rogers <email@hidden>
  • Date: Thu, 30 Jan 2003 21:36:45 +0000

Hi Rick,

Try this:

on run
set folder1 to (choose folder) as alias

tell application "Finder"
set filesList to files in folder1
end tell

repeat with aFile in filesList

tell application "Finder"
set theFile to aFile as alias
set theFileName to name of theFile
end tell

tell application "Adobe Photoshop 7.0"
activate
set display dialogs to never
open theFile
end tell

end run


Matt

On Thursday, January 30, 2003, at 04:45 pm, Rick Norman wrote:

Can someone tell me what I'm missing here.
Thanks,
Rick

on open theFolder
set itemList to list folder theFolder
set X to 1
repeat with an_item in itemList
set pix to item X in itemList as string
tell application "Adobe. Photoshop. 5.5"
activate

--> Tried this with these results.
open file pix --> The error returned with this is "Some object
wasn't found"

--> Tried this with these results.
open file (the file pix as string) --> The error returned with
this is "Can't make file "filename" of "Adobe. Photoshop. 5.5" into a
string.

do script "page1"
end tell
set X to X + 1
end repeat
end open
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Photoshop opening file (From: Rick Norman <email@hidden>)

  • Prev by Date: RE: the difference between -(-1) and -- 1
  • Next by Date: Mail Action Message Source Encoding Difficulty
  • Previous by thread: Re: Photoshop opening file
  • Next by thread: iTunes -- Remove Missing Tracks?
  • Index(es):
    • Date
    • Thread