• 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: Getting a string on the clipboard in OE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a string on the clipboard in OE


  • Subject: Re: Getting a string on the clipboard in OE
  • From: Nigel Garvey <email@hidden>
  • Date: Sat, 28 Apr 2001 18:37:59 +0100

Jan Pieter Kunst wrote on Sat, 28 Apr 2001 14:06:58 +0200:

>Paul Berkowitz (email@hidden) schreef op 28-04-2001 13:30 :
>
>
>> There's a tremendous lot of confusion here. 'copy' is completely the wrong
>> word for the clipboard,
>
>Quite possible. Like I said, I am new to Applescript, and when I saw "copy"
>used in BBEdit and the Finder, I assumed that was what one is supposed to
>use.

"Copy" is a command in some applications - equivalent to "Copy" in the
Edit Menu. It works on something like text or a picture that has previous
been selected within that application.

>> set the clipboard to x
>>
>> is one of the Standard Additions, which will work just about anywhere.

As Paul says, this is the "Standard Additions" command. It enables
something that's contained *within the script itself* (not within the
application) to be copied to the clipboard. In both cases, the clipboard
is only available to *the frontmost application*. Therefore, to use an
application's "copy" command, you have to activate the application; to
use "set the clipboard to", you have to activate the script (or the
application running it) to bring it to the front.

tell me to activate
set the clipboard to x

NG


  • Follow-Ups:
    • Re: Getting a string on the clipboard in OE
      • From: Jan Pieter Kunst <email@hidden>
  • Prev by Date: Re: Handlers
  • Next by Date: Re: How best to extract digits from a string?
  • Previous by thread: Re: Getting a string on the clipboard in OE
  • Next by thread: Re: Getting a string on the clipboard in OE
  • Index(es):
    • Date
    • Thread