• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hex > Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Hex > Text
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Hex > Text (From: Rob Jorgensen <email@hidden>)
 >Re: Hex > Text (From: Walter Ian Kaye <email@hidden>)

  • Prev by Date: Re: Click and Drag using UI scripting?
  • Next by Date: Re: Click and Drag using UI scripting?
  • Previous by thread: Re: Hex > Text
  • Next by thread: Re: Hex > Text
  • Index(es):
    • Date
    • Thread