• 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: Dropping text on to Droplets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dropping text on to Droplets


  • Subject: Re: Dropping text on to Droplets
  • From: Emmanuel <email@hidden>
  • Date: Mon, 11 Jun 2001 16:18:01 +0200

At 9:35 +0200 11/06/01, Michelle Steiner wrote:
>
>On 6/11/01 12:00 AM, Emmanuel <email@hidden> wrote:
>
>>>Problem is that I don't know how to obtain the contents of a clipping
>>>file with vanilla AppleScript.
>>
>>What about having Finder open, copy and close it?
>
>That copies the name of the clipping file, not it's contents.

Actually things are more intricate - but still my proposition is no good
solution.

If I emulate the keyboard (Smile's "press key", namely), then Cmd-C - Cmd-V
retrieves the clipping. But if I emulate only Cmd-C, then "get clipboard"
returns the clipping's name ...

Anyway (not vanilla):

---------------------
load resource 256 type "TEXT" from theClippingAsAlias
---------------------

returns the (styled) text of the clipping.

Emmanuel


References: 
 >Re: Dropping text on to Droplets (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Newbie and first questions about old versions
  • Next by Date: Re: Dropping text on to Droplets
  • Previous by thread: Re: Dropping text on to Droplets
  • Next by thread: Re: Dropping text on to Droplets
  • Index(es):
    • Date
    • Thread