• 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: adding a paragraph - part 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding a paragraph - part 2


  • Subject: Re: adding a paragraph - part 2
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 21 Jun 2001 12:09:23 +1000

On 21/6/01 8:33 AM +1000, email@hidden, email@hidden, wrote:

> Thanks, this code worked. What I do not understand is, why. If I run it
> without the tell and end tell, it errors out on the "before". Why is the
> tell needed?

Which tell did you remove? The one targeting window 1?

You can't just target the application: you have to target a document (or in
BBEdit's case, a window) -- it has to know which document you want the text
copied to.

One way to target a command at a document is via a "tell window 1/end tell"
construct, and an alternative is to include it in the command (the
"searching in text 1 of text window 1" bit in your replace commands).

--
Shane Stanley, email@hidden


References: 
 >adding a paragraph - part 2 (From: email@hidden)

  • Prev by Date: Re: "a reference to" failure
  • Next by Date: Re: Stuffit Commands and Lists
  • Previous by thread: adding a paragraph - part 2
  • Next by thread: Re: adding a paragraph - part 2
  • Index(es):
    • Date
    • Thread