Re: PhotoScripter and Trim
Re: PhotoScripter and Trim
- Subject: Re: PhotoScripter and Trim
- From: Arthur J Knapp <email@hidden>
- Date: Wed, 20 Feb 2002 13:20:57 -0500
>
Date: Wed, 20 Feb 2002 08:29:16 +1100
>
Subject: Re: PhotoScripter and Trim
>
From: Shane Stanley <email@hidden>
>
On 20/2/02 3:12 AM +1000, Arthur J Knapp, email@hidden, wrote:
>
>
> Would anyone know anything about emulating PhotoShop's "trim" menu
>
> command, without using an Action? I keep thinking that this has to
>
> be possible with PhotoScripter, (again, without using an Action).
>
I don't think it can be done. The nearest you can do is something like use
>
the magic wand to make the selection, change the selection to a path, get
>
the subpath info for the path, and use that to calculate the bounds of the
>
path. The trouble is that only takes into account the points on the path;
>
curved bits may well protrude. But if it's a rough path, and you don't need
>
to be exact, it might be a useable workaround.
Thank you Shane. I've resigned myself to just passing around exported
Actions as well as a script to call them at the appropriate times. I
found the attempt to find the appropriate selection far too difficult.
It just seems so strange that AS doesn't have access to the same things
that Actions do. I mean, there must be a programmer's Actions API, or
something, that could just be "hooked up" to AppleScript, maybe via
"do script" commands, rather than having to have an existing Action to
call upon.
{ Arthur J. Knapp, of <
http://www.STELLARViSIONs.com>
<
mailto:email@hidden>
try
<
http://www2.linkedresources.com/tools/carthandle.html>
on error number -128
end try
}
_______________________________________________
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.