Re: Reading contents of a clipping file?
Re: Reading contents of a clipping file?
- Subject: Re: Reading contents of a clipping file?
- From: Emmanuel <email@hidden>
- Date: Fri, 12 Nov 2004 22:45:25 +0100
At 12:26 PM -0500 11/12/04, Steven D.Majewski wrote:
On Nov 12, 2004, at 7:45 AM, Rob Jorgensen wrote:
At 11:06 AM +0100 11/12/04, Emmanuel wrote:
At 8:05 AM +0100 11/12/04, Richard Rönnbäck wrote:
Is there any way to read the text of a clipping file?
Yes.
Is it stored in the resource fork ?
Yes.
If so, how do one read the resource
part?
One installs the Satimage osax.
Extra Suites (not free but reasonably priced) also reads resource
files. Both do a fine job.
On OSX, you can also do it with Python using the Carbon.Res module.
Example script below. If you wanted to call it from 'do shell script',
you could skip the arg processing and trim it down to a couple of lines
You *have* to call it from 'do shell script', otherwise you're on the
wrong list. :-)
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden