On Jan 01, 2013, at 20:25, Alexs <[email protected]> wrote:
> On Wednesday, July 20, 2011 7:01:44 PM UTC-4, Rich Siegel wrote:
> Targeting windows with AppleScript has been deprecated for a *very* long 
> time, and beginning with 10.0 is no longer supported. […]
______________________________________________________________________

You have to reference the text:

tell application "BBEdit"
  tell text of text document 1
    set OPT to {search mode:grep, starting at top:true, wrap around:false, 
backwards:false, case sensitive:false, match words:false, extend 
selection:false}
    replace "a" using "••••" options OPT
  end tell
end tell

--
Best Regards,
Chris

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to