• 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: Application-specific code in handler won't execute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application-specific code in handler won't execute


  • Subject: Re: Application-specific code in handler won't execute
  • From: Yvan KOENIG <email@hidden>
  • Date: Sat, 16 Jul 2005 08:06:32 +0200

Hello

I don't own BBEdit but this changed handler may help:

version 1
on LiteralFix(FindText, ReplaceText)
set quote to "\""
set TheCommand to "replace " & quote & FindText & quote & " using " & quote & ReplaceText & quote & " searching in text 1 of text document 1 options {search mode:literal, starting at top:false, wrap around:true, backwards:false, case sensitive:true, match words:false, extend selection:false}"
tell application "BBEdit"
activate -- ADDED
TheCommand
end tell
end LiteralFix


version 2
on LiteralFix(FindText, ReplaceText)
tell application "BBEdit"
activate -- ADDED
replace FindText using ReplaceText searching in text 1 of text document 1 options {search mode:literal, starting at top:false, wrap around:true, backwards:false, case sensitive:true, match words:false, extend selection:false}
end tell
end LiteralFix


Yvan KOENIG

_______________________________________________
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


  • Follow-Ups:
    • Re: Application-specific code in handler won't execute
      • From: Bill Planey <email@hidden>
References: 
 >Application-specific code in handler won't execute (From: Bill Planey <email@hidden>)

  • Prev by Date: Application-specific code in handler won't execute
  • Next by Date: Re: Application-specific code in handler won't execute
  • Previous by thread: Application-specific code in handler won't execute
  • Next by thread: Re: Application-specific code in handler won't execute
  • Index(es):
    • Date
    • Thread