• 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: Another BBEdit/AS question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another BBEdit/AS question


  • Subject: Re: Another BBEdit/AS question
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 06 Feb 2009 09:36:45 +1100
  • Thread-topic: Another BBEdit/AS question

On 6/2/09 7:36 AM, "Chris Goedde" <email@hidden> wrote:

> I don't understand why it accepts (text of front document) but not a
> variable that's been set to (text of front document).

You have to tell BBEdit that you're giving it a string by using the
"searchingString" parameter rather than the "searching in" parameter:

    set theResult to replace "z" using "y" searchingString theText options
searchOptions


--
Shane Stanley <email@hidden>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Another BBEdit/AS question (From: Chris Goedde <email@hidden>)

  • Prev by Date: Quark Annotate script problem with Leopard
  • Next by Date: Re: Quark Annotate script problem with Leopard
  • Previous by thread: Another BBEdit/AS question
  • Next by thread: Quark Annotate script problem with Leopard
  • Index(es):
    • Date
    • Thread