Re: Hex > Text
Re: Hex > Text
- Subject: Re: Hex > Text
- From: Rob Jorgensen <email@hidden>
- Date: Tue, 16 Sep 2003 23:15:16 -0400
At 5:21 PM -0700 9/16/03, Walter Ian Kaye wrote:
At 07:21p -0400 09/16/2003, Rob Jorgensen didst inscribe upon an
electronic papyrus:
I have, in hex, a "drag" resource from a clipping file. Is it
possible to convert the hex to text via the shell or vanilla
AppleScript? If so, sample code would be greatly appreciated as my
search has yielded nothing useful.
To extract from a resource, you need something beyond vanilla AS.
There are a couple of ways to go. You could extract the raw resource
fork via a shell trick, but you'd have to parse the resource map
before parsing the data buried within. Or you could use the Extra
Suites app which has resource i/o commands.
I've already used Extra Suites to read the resource and convert it to
text but I was hoping for a vanilla/shell alternative. Thanks for
trying! :-)
-- Rob
_______________________________________________
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.