Re: Resource fork, PICT, and OS X
Re: Resource fork, PICT, and OS X
- Subject: Re: Resource fork, PICT, and OS X
- From: Cameron Smith <email@hidden>
- Date: Mon, 14 Apr 2003 07:09:02 -0700
At 07:44 -0500 03.04.14, Joshua See wrote:
>
Sorry if this has already been ruled out, but would clipboarding the image and then using GC's "new image from clipboard" event work?
>
Thanks for the reply, but yes, it has been ruled out: the picture that QuarkXPress puts on the clipboard doesn't properly cross the Classic/OS X boundary, coming across as an empty shape.
What I've done as a workaround is pull this portion of the code back into Classic: the operator, working in QXP, chooses a command on a floating palette created by a FaceSpan app. That command sends a message to a menu command in my ASStudio app (it has to send the command to a user interface element, because we can't yet address AppleScript handlers in ASS apps), which starts the process rolling. At one point, the ASStudio app sends a command back to the FaceSpan app (in which we *can* address AppleScript handlers), which then grabs the image out of the picture box, and saves it into the resource fork of a newly created file. The ASStudio app then takes over and completes the process of opening the new file in GraphicConverter and saving it as a jpeg. Roundabout, but it works.
--
Cameron Smith
Cutting Edge Technology Services, Inc.
Nanaimo, BC
http://www.cetsi.com/
tel: 1.250.729.9515 fax: 1.250.729.8201
------------------------------------------------
Websites ** Print Production ** Editorial Services
Publishers of the
http://SaltSpringNews.com/
------------------------------------------------
_______________________________________________
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.