Re: How to access raw data (as seen in chevron syntax)
Re: How to access raw data (as seen in chevron syntax)
- Subject: Re: How to access raw data (as seen in chevron syntax)
- From: Shane Stanley <email@hidden>
- Date: Fri, 02 Jul 2010 09:12:23 +1000
- Thread-topic: How to access raw data (as seen in chevron syntax)
On 2/7/10 8:36 AM, "Matthew Strange" <email@hidden> wrote:
> I've got a PICT resource on the clipboard and I'm trying to use
> AppleScript to write that data into a file. I can see the raw data
> (represented within chevrons as picture:data PICT264C...) but I can
> not figure out a way to actually get at those bytes.
If you run "clipboard info", you'll see the type of the pic. Use that in:
set x to the clipboard as <what you found>
To write it to file, use the normal write command but fill the first 512
bytes with nothing first.
--
Shane Stanley <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden