• 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: How Do I Create class HTML to put on Clipboard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Thu, 16 Jun 2016 11:08:12 -0500

On Jun 15, 2016, at 07:45, Shane Stanley <email@hidden> wrote:
Perhaps Shane could comment?

I've never seen «class HTML» on the clipboard; HTML is normally just text. That suggests it's from a particular app, but which? And what does it look like?


Hey Shane,

You've already solved that, but let's put it in the conversation for completeness.

Text copied from a web page to the clipboard:

«class weba» -- Safari
«class HTML» -- Google Chrome, Firefox, several other browsers…

A complete record for Safari:

{{«class weba», 1645}, {«class RTF », 661}, {«class utf8», 207}, {«class ut16», 414}, {uniform styles, 268}, {string, 206}, {scrap styles, 42}, {Unicode text, 414}, {uniform styles, 268}, {scrap styles, 42}}

A complete record for Chrome:

{{«class utf8», 207}, {«class HTML», 1331}, {«class ut16», 416}, {string, 207}, {Unicode text, 414}}

Extracting the HTML is useful for entry into several applications like Evernote, and Notes.app.

Manipulation and reentry of the HTML on the Clipboard is also useful.

--
Take Care,
Chris

 _______________________________________________
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

References: 
 >How Do I Create class HTML to put on Clipboard? (From: Jim Underwood <email@hidden>)
 >Re: How Do I Create class HTML to put on Clipboard? (From: Christopher Stone <email@hidden>)
 >Re: How Do I Create class HTML to put on Clipboard? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Problem with POSIX paths?
  • Next by Date: Re: How Do I Create class HTML to put on Clipboard?
  • Previous by thread: Re: How Do I Create class HTML to put on Clipboard?
  • Next by thread: Problem with POSIX paths?
  • Index(es):
    • Date
    • Thread