Re-Hello Chris, :)

> On Apr 3, 2018, at 12:25, Christopher Stone <listmeis...@suddenlink.net> 
> wrote:
> 
> Because you're referencing the wrong object – the window and not the window's 
> text.

Well, in fact it works with the window but the issue was my quoting of the 
"grep" option.
There are plenty of other issues with my code, but hey, that's my first BBedit 
AS *ever* :)

(how I wish TextEdit had regex too...)

> 
> 
> BBEdit is very recordable, so when you get stuck like this hit the record 
> button in the Script Editor (or Script Debugger), switch back to BBEdit and 
> do your task.

That's what helped me.

> BBEdit is very literal in how it records things, so very often some clean-up 
> is required.

I was surprised by the need to escape the escape even when the option was set 
to grep.

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to