Re: Re Re Re Using Photoshop und PhotoScripter to save a JFIF file
Re: Re Re Re Using Photoshop und PhotoScripter to save a JFIF file
- Subject: Re: Re Re Re Using Photoshop und PhotoScripter to save a JFIF file
- From: Richard 23 <email@hidden>
- Date: Fri, 26 Jan 2001 02:56:44 -0800
>
Date: Thu, 25 Jan 2001 14:24:04 -0800
>
Subject: Using PhotoScripter and Photoshop to save a JPEG file
>
From: Robert Seckendorf <email@hidden>
>
To: <email@hidden>
>
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
>
Photoshop keeps telling me that the compiler can't make "systemDisk:desktop
>
folder:junk" into an alias
>
any ideas...
Maybe I'm reading the same email digests over and over but I swear
I've seen this one before at least once if not twice. Is this a
script sending email? I mean it's not so slow that Apple's spoofing
users to drum up posting is it? I'm sure everyone's already sick of
seeing my name attached to mini-novels so I'll try to restrict myself
(like that's going to happen) to repeating what I thought Shane
posted earlier:
You need to pass "junk" as an alias or file reference, eg,
property systemDisk : "Sysadmin"
save the current document in , <== a subtlety 8)
file "systemDisk:desktop folder:junk" ....
also you have systemDisk, a property variable, quoted which won't
work if you're desiring variable substitution...
try this:
file (systemDisk & ":Desktop Folder:junk")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
It's not your fault, Rob, and I'm not bitter with you....
But if I see another "," where there's supposed to be a continuation
character I'm going to scream!
Do I have to pay people to clean up their scripts or send 5 bux
to anyone who uses my script to do it? Maybe we can all chip in
and buy Chuq a nice bribe, oops, present.
Please try Convert Script, soon to be renamed the "Britney Spears Email
Converter featuring N'Sync". I'm working on some new features like a
cache so a crash doesn't mean you've lost valuable work if you ran it
through the conversion tool prior to your crash. I wrote a reply twice
today which could have been prevented if I only had a tempfile or cache.
I'll check my bank account and given that I have enough left over for
my daily supply of Kroff Dinners I may offer free six packs of Molson
for the first 20 people who actually use it!
<
http://homepage.mac.com/richard23/applescript03.html#ConvertScript>
32R