Re: photoshop File Info script. Photoshop bug?
Re: photoshop File Info script. Photoshop bug?
- Subject: Re: photoshop File Info script. Photoshop bug?
- From: Kelvin Aitken <email@hidden>
- Date: Fri, 15 Aug 2003 12:36:50 +1000
- Organization: Kelvin Aitken Photography
This is what the Event Log shows:
tell application "Photoshop.0"
activate
set display dialogs to never
close every document saving no
--> {}
open alias "Macintosh HD:Users:me:Desktop:zzz:F06A02 10663.jpg"
get current document
--> document "F06A02 10663.jpg"
beep current document
end tell
The script which gives the above information is:
tell application "Photoshop.0"
activate
set display dialogs to never
close every document saving no
open qq
set docRef to the current document
tell current document
try
Kelvin.
Shane Stanley wrote:
On 15/8/03 11:53 AM +1000, Kelvin Aitken, email@hidden , wrote:
qq is a variable from an earlier part of the entire script. That is not the
problem. The image "qq" opens fine.
It might still be a problem if it comes from the Finder.
The problem is the docRef which is used later to save the image after all of
the other stuff is done.
So what does docRef show in the log? It should show a reference to the
document by its name.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.