I know that the BBEdit cats are busy making BBEdit 15 and stuff. But it was
Patrick Woolsey himself who told me that someone from this group could
probably provide a snippet for find or find and replace with JXA..
Thanks,
Jesse
On Wednesday, January 3, 2024 at 6:00:32 AM UTC-8 Jesse Shanks wrote:
> HI,
>
> I have not figured out how to do a JXA script to Find and Find and Replace
> in BBEdit.
>
> This little snippet fails miserably:
>
> bb = Application("BBEdit")
>
>
> result = bb.windows[0].find('Ancient Rome',{searchingIn:null
> ,options:{searchMode:'grep'}})
>
>
> I could stick with the AppleScripts that work very well, but it's a matter
> of curiosity.
>
>
> TIA,
>
> Jesse
>
--
This is the BBEdit Talk public discussion group. If you have a feature request
or need technical support, please email "[email protected]" rather than
posting here. Follow @bbedit on Twitter: <https://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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/61ec9e8a-ed46-46a7-a44d-d8ea92658d79n%40googlegroups.com.