• 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: Clipboard paste working under 10.4 not 10.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Clipboard paste working under 10.4 not 10.3 (From: Brett Conlon <email@hidden>)

  • Prev by Date: Re: Store script as run only
  • Next by Date: GUI Scripting requierments
  • Previous by thread: Re: Clipboard paste working under 10.4 not 10.3
  • Next by thread: Claudio Braxmaier ist bis 17.04.2006 nicht im Büro
  • Index(es):
    • Date
    • Thread