I have a simple Find in a BBEdit AppleScript. It looks like this:

        set myList to find "^DESC!([A-Z]*[0-9]*)\\t(INT\\.|EXT\\.{1})(.*)$" 
searching in text 1 of text of myDoc options {search mode:grep, starting at 
top:true, returning results:true}


The very last part of this statement, where it says “returning results:true” is 
important because I need the list of what is found (I later step through the 
list of found items). 

If I say “returning results: false” I don’t get the list of found items, so I 
can’t step through them later. I have to have “returning results: true”. 

But… if it happens that NOTHING is found, which is bound to happen, then I get 
a little notification from BBEdit saying “Multi-File Search Completed. The 
pattern "^DESC!([A-Z]*[0-9]*)\t(INT\.|EXT\.{1})(.*)$” was not found.”

I would rather not see that little notification. Is there a way, in 
AppleScript, to tell that notification to not appear?

Thank you--

-- 
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/8B4E2A94-75EC-4A2A-8884-D9FBB41EC4A6%40christianboyce.com.

Reply via email to