Re: Clipboard paste working under 10.4 not 10.3
Re: Clipboard paste working under 10.4 not 10.3
- Subject: Re: Clipboard paste working under 10.4 not 10.3
- From: kai <email@hidden>
- Date: Mon, 10 Apr 2006 09:51:03 +0100
On 10 Apr 2006, at 04:56, Brett Conlon wrote:
OK, I have it working using the following code:
set the clipboard to PDFName
set the clipboard to «class ktxt» of ((the clipboard as text) as
record)
Not sure if this is the best way to go about it but from a
MacOSXHint page it says it's stripping out all formatting.
Is there a simpler or better way?
That should work, Coj - and I see it's now even officially
documented*. ;-)
However, for this kind of situation, I'd probably try something like
the following - which is just a tad more direct:
-------
set the clipboard to (the clipboard as record)'s string
-------
* Discussion:
http://developer.apple.com/documentation/AppleScript/Reference/
StudioReference/sr3_app_suite/chapter_3_section_7.html
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden