• 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: Problems openning files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems openning files


  • Subject: Re: Problems openning files
  • From: "Christopher C. Stone" <email@hidden>
  • Date: Thu, 1 Feb 2001 01:36:58 -0600

At 09:58 -0500 01/31/2001, John Jones wrote:
> I'm having a problem opening image files in Photoshop with AppleScript. The files were created on a PC and the Mac is identifying most of them as PictureViewer documents and some as just "PC document" (all have .tif extension). Here's the syntax I'm using:
>
> tell application "Adobe. Photoshop. 6.0"
> activate
> open [reference]
> do script [whatever]
> end tell
___________________________________________________________________________

Hello John,

Works fine for me as long as I pass it an alias or alias list:

tell application "Photoshop"
activate
open {alias "Thor:Desktop Folder:Picture 1.tif"}
end tell



Best Regards,

Christopher Stone
______________________________
StoneWorks Computer Consulting
email@hidden


  • Prev by Date: Re: AppleWorks
  • Next by Date: Re: Type Text(Sigma) question - Scripting non-Scriptable Apps
  • Previous by thread: Re: AppleWorks
  • Next by thread: Re: Type Text(Sigma) question - Scripting non-Scriptable Apps
  • Index(es):
    • Date
    • Thread