Re: PhotoShop scripting problem
Re: PhotoShop scripting problem
- Subject: Re: PhotoShop scripting problem
- From: Olivier Destrebecq <email@hidden>
- Date: Mon, 16 Jul 2001 09:07:59 -0500
this is a little extreme, but you can change the file creator code before
hand and restore afterwards, so that photoshop opens it.
olivier
>
From: email@hidden (Katherine Richmond)
>
Date: 16 Jul 2001 09:21:28 EDT
>
To: email@hidden
>
Subject: PhotoShop scripting problem
>
>
Hi all,
>
>
I have an AppleScript that tells Photoshop to run an action that makes
>
thumbnails of images. This has been working fine, as long as the images are
>
Photoshop documents. It fails on images that are PictureViewer. Here is the
>
code:
>
>
tell application "Adobe(R) Photoshop(R) 5.5"
>
activate
>
repeat with oneImage in bigImages
>
open oneImage
>
do script "ThumbnailSaveClose"
>
end repeat
>
end tell
>
>
The error comes from PhotoShop. It says something like "Resize is not
>
available.". If I look in the Application menu, PictureViewer is checked. So
>
even though I am telling Photoshop to open the image and make the thumbnail,
>
PictureViewer is opening it. I believe I get the error because PictureViewer
>
has
>
actually opened the image and then Photoshop is trying to make the thumbnail!!
>
How can I make sure that Photoshop opens the image? If I am telling PS to
>
activate and then to open the image, what more can I do?
>
>
Thanks,
>
Kathy
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users