Re: How Do I Create class HTML to put on Clipboard?
Re: How Do I Create class HTML to put on Clipboard?
- Subject: Re: How Do I Create class HTML to put on Clipboard?
- From: Christopher Stone <email@hidden>
- Date: Wed, 15 Jun 2016 07:09:02 -0500
On Jun 15, 2016, at 05:02, Jim Underwood <email@hidden> wrote:set strCMD to "osascript -e 'the clipboard as «class HTML»' | perl -ne 'print chr foreach unpack(\"C*\",pack(\"H*\",substr($_,11,-3)))'" set strHTML to (do shell script strCMD)
______________________________________________________________________
I'll bet the unpacking can be done with ASObjC.
Perhaps Shane could comment?
-ccs
|
_______________________________________________
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