Re: Photoshop action script
Re: Photoshop action script
- Subject: Re: Photoshop action script
- From: Kai Edwards <email@hidden>
- Date: Sun, 03 Feb 2002 15:59:52 +0100
>
Date: Thu, 31 Jan 2002 00:45:12 +0200
>
To: email@hidden
>
From: Paul Godard <email@hidden>
>
Subject: Photoshop action script
>
>
Why is it that when I open Photoshop 6.0.1 as a dictionary in Smile
>
1.8.0 I do NOT see the "do script"?
>
>
When I open my AS applet, I got this
>
>
tell application "Photoshop 6.0.1"
>
+event miscdosc; "CreateJPGWeb"
>
>
although it was encoded like this when I had Photoshop 5.5
>
end tell
>
>
tell application "Photoshop 5.5"
>
do script "CreateJPGWeb"
>
end tell
Paul - did you ever get a response to this query? (I couldn't find an
on-list reply.)
While I can't really help you specifically, I can tell you that the raw
syntax <+event miscdosc;> invariably compiles as <do script> without a tell
block in sight - which suggests that it's part of AS.
When I try it, <do script> compiles correctly - even within a tell block
addressing an application that is known not to support the event. (Of
course, *running* a script without specifying an appropriate
application/script will cause problems - but that's another issue.)
In the light of this, my guess is that your problem may have less to do with
the differences between PhotoShop versions 5.5 and 6.0.1 - and more to do
with system/AS configurations. When you switch(ed) PhotoShop versions,
do/did you also change systems?
Just a thought - but it may help a little.
Kai
--
**********************************
Kai Edwards Creative Resources
1 Compton Avenue Brighton UK
Telephone +44 (0)1273 326810
**********************************