Re: Bevel and emboss with PSD7
Re: Bevel and emboss with PSD7
- Subject: Re: Bevel and emboss with PSD7
- From: Jesper Storm Bache <email@hidden>
- Date: Fri, 21 Jun 2002 10:35:46 -0700
At 12:39 PM 6/21/2002 -0400, Arthur J. Knapp wrote:
> Date: Fri, 21 Jun 2002 09:13:00 -0400
> Subject: Re: Bevel and emboss with PSD7
> From: Paul Skinner <email@hidden>
> do javascript "var id30 = charIDToTypeID( \"setd\" );
> var desc6 = new ActionDescriptor();
> var id31 = charIDToTypeID( \"null\" );
> Man! That makes AppleScript syntax look so good by comparison.
Only for 2 reasons:
1. The code appears to have been thrown together by some sort of
automatic code-generating system. Code written by code nevers looks
good or intuative.
2. These commands seem to indicate that PS 7 has not truly mirrored
their object model in JavaScript. Basically, it looks like you are
just creating AppleEvents "in the raw", just as a C programmer would.
The JavaScript interface expose the same object model as the AppleScript
interface (application, document, layer and so forth).
The code that you are referring to uses a specialized scripting interface
on the Photoshop Action Manager.
The code generated for this interface is not intuitive and is mainly
intended to provide some means of scripting third party plug-ins (and other
features) that the normal (and intuitive) 1.0 object model does not have
terminology for.
If you would like to look at the JavaScript object model, you can download
the scripting plug-in from:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=1535
It has a separate document for JavaScript terminology.
Jesper
_______________________________________________
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.