Apple Script,Graphic Converter Saving as Web Ready
I have an AppleScript that saves a batch of files as JPEGs and compresses them,it works fine,but I want to add the ability to save as web-ready,i.e. without a resource.I've checked the GC dictionary and found this :"[wwwready boolean] -- set this option to save the image without a resource",so I used the following code:
save window 1 as JPEG wwwready yes
close window 1
It saves the file as a JPEG but the resource file(from Photoshop) remains.Does anyone know how to get this working?Any information would be appreciated.
save window 1 as JPEG wwwready yes
close window 1
It saves the file as a JPEG but the resource file(from Photoshop) remains.Does anyone know how to get this working?Any information would be appreciated.
Comments
boolean is not yes/no but true/false
I tried:
save window 1 as JPEG wwwready true
and syntax check rewrote it as
\t
\tsave window 1 as JPEG with wwwready
this works for me:
tell application "GraphicConverter"
\t
\tsave window 1 as JPEG with wwwready
\tclose window 1
\t
end tell
[ 01-24-2002: Message edited by: AllInOne ]</p>
[ 01-24-2002: Message edited by: AllInOne ]</p>