Re: Photoshop action script
Re: Photoshop action script
- Subject: Re: Photoshop action script
- From: Emmanuel <email@hidden>
- Date: Sun, 3 Feb 2002 19:05:58 +0100
At 3:59 PM +0100 3/2/02, Kai Edwards wrote:
>
> 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"
>
>
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.
(As of Classic)
"do script", like many terms, was defined by Apple and published in the
documentation for developers, but not systematically implemented.
As of AS 1.6, "do script" is in Smile's dictionary, and it is not part of AS.
For Photoshop, I can't open its dictionary, but I may not have the latest
version (I'm running Photoshop 2.5 :-).
Sometimes confusion occurs with "run script", which belongs to the Standard
Additions.
Emmanuel