• 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: Class ksty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Class ksty


  • Subject: Re: Class ksty
  • From: has <email@hidden>
  • Date: Thu, 7 Aug 2008 21:46:52 +0100

Laine Lee wrote:

OK, please suggest how I might accomplish a Leopard fix for this script
adapted from a script by julifos, which worked quite well (at least to some
extent) through Tiger, for example:


Assuming the source application is good enough to include an RTF version of the copied text:

set tmp to (do shell script "mktemp -t temp") & ".rtf"
set rtf to the clipboard as «class RTF »
set f to open for access POSIX file tmp with write permission
write rtf to f
close f
set the clipboard to (do shell script "textutil -convert html -stdout " & quoted form of tmp)
do shell script "rm " & quoted form of tmp


has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________
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
  • Prev by Date: Re: Words of Bug in Leopard (Japanese environment)
  • Next by Date: Re: Class ksty
  • Previous by thread: Re: Class ksty
  • Next by thread: Mail Script to move "not junk" back to inbox
  • Index(es):
    • Date
    • Thread