On Thursday, April 25, 2002, at 08:46 PM, Peter N Lewis wrote:
>
> Try this:
>
> tell application "GraphicConverter"
> open alias "Zany:Users:peter:Desktop:i-1.JPG"
> set selection of window 1 to {0, 0, 32000, 32000}
> copy window 1
> end tell
This works a treat! Thanks. Getting that selection command to work was
the problem.
> clip2gif was much better for being scriptable, you might try that
> (although it is not (and probably never will be) Mac OS X compatible).
>
> These days, I've got ImageMagick installed and use it with Perl which
> is a wonderful solution to most of these sorts of problems. What are
> you pasting the images in to? It may be that ImageMagick/Perl is a
> better solution...?
>
>
I'm trying to achieve 2 things here - stay within MacOS X if possible
(just to avoid the nuisance of launching Classic for such a trivial
task) and use software the client already has. GraphicConverter was the
answer to both these problems, even though it might be slight overkill.
Thanks again for the way through,
--
Peter Hinchliffe
Apwin Computer Services FileMaker Pro Solutions Developer
Perth, ::::::::::::::::::::::::
Western Australia Phone (618) 9332 6482 Fax (618) 9332 0913
--------------------------------------------------------------------
Mac because I prefer it -- Windows because I have to.
[Non-text portions of this message have been removed]