Re: Strange Font Pasted in Mail
Re: Strange Font Pasted in Mail
- Subject: Re: Strange Font Pasted in Mail
- From: Christopher Stone <email@hidden>
- Date: Mon, 6 Jul 2009 07:26:49 -0500
On Jul 06, 2009, at 04:21, Christopher Stone wrote: The weird thing is that the pasted text is Helvetica 12 even though I have my default message text set to Courier 12, and I can't seem to find a way around this. Any ideas?
______________________________________________________________________
Hey Folks,
Well. I've tried this every-which-way and can't get it to behave properly with Applescript, so what I've done is to use QuicKeys' 'Remove Styles' function on the clipboard. This works, and it's acceptably fast even on my old G4 PowerBook. It is not the solution I wanted.
If I remember correctly all text on the Mac is now Unicode, and I wonder if that's not part of the problem. It used to be possible to force plain text using a raw class. Similar to this:
set s to the clipboard set s to «class ktxt» of (s as record) set the clipboard to s
Is there any way to do something similar on Leopard?
QuicKeys is able to strip styles and do what I want, and the little freeware application 'Plain Clip' can do so as well. I still want an Applescript solution though.
Thanks.
|
_______________________________________________
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