Re: Styled text and non-Gregorian dates
Re: Styled text and non-Gregorian dates
- Subject: Re: Styled text and non-Gregorian dates
- From: "Stockly, Ed" <email@hidden>
- Date: Thu, 30 Apr 2009 13:57:59 -0700
- Thread-topic: Styled text and non-Gregorian dates
> 1) Is there any way to use AppleScript to write styled text to the
clipboard?
>From the textEdit dictionary:
"The styled text datatype cannot be directly manipulated in code, and is
usually represented as if it were an ordinary string. It is occasionally
encountered indirectly, as when retrieving text data from the clipboard."
---
So I would say not directly, but you may be able to using GUI scripting.
Something along the lines of opening a blank text edit document, setting the
text to your desired string, styling the text, using gui scripting to copy
the styled text to the clipboard.
HTH,
ES
_______________________________________________
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