Re: applescript-users digest, Vol 2 #273 - 15 msgs
Re: applescript-users digest, Vol 2 #273 - 15 msgs
- Subject: Re: applescript-users digest, Vol 2 #273 - 15 msgs
- From: "Marc K. Myers" <email@hidden>
- Date: Thu, 25 Jan 2001 10:53:02 -0500
- Organization: [very little]
Robert Seckendorf wrote:
>
Date: Wed, 24 Jan 2001 20:20:59 -0800
>
Subject: Using PhotoScripter and Photoshop to convert files into JPEG
>
format.
>
From: Robert Seckendorf <email@hidden>
>
To: <email@hidden>
>
>
Anyone,
>
>
I am trying to save a file that I converted in to a JPEG file using
>
Photoshop and PhotoScripter.
>
I keep getting an error when I try to run this simple code.
>
>
property systemDisk : "Sysadmin"
>
>
tell application "Adobe. Photoshop. 5.5"
>
open file "systemDisk:desktop folder:junk"
>
save the current document in ,
>
"systemDisk:desktop folder:junk" as JPEG {image quality:8, baseline
>
optimized:false, saving paths:false}
>
quit
>
end tell
>
>
this keeps telling me that the compiler can't make "systemDisk:desktop
>
folder:junk" into an alias
>
any ideas...
I'm not familiar with your application, but my first guess would be that
you need to identify your file as "file" or "alias":
save the current document in [optn-L]
*alias* "systemDisk:desktop folder:junk" as [optn-L]
JPEG {image quality:8, baseline optimized:false, saving paths:false}
or
save the current document in [optn-L]
*file* "systemDisk:desktop folder:junk" as [optn-L]
JPEG {image quality:8, baseline optimized:false, saving paths:false}
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[1/25/01 10:52:34 AM]