What's the correct searching in... syntax for all open text documents?
I'm trying to script a Find/Replace operation that would apply to whatever docs
are open. When I recorded the action, each file was separately listed. How do I
specify all open text documents so as to make this generic and
Maarten Sneep maarten.sn...@xs4all.nl typed something resembling:
Harold Tessmann III schreef:
Someone else has pointed out that BBEdit doesn't respond to
AppleEvents while running a UNIX script or filter, but does it respond
to them while running an AppleScript (he asks at work, with only
On Jun 23, 2009, at 11:45 AM, Warren Michelsen wrote:
What's the correct searching in... syntax for all open text
documents?
tell application BBEdit
replace asdf using qwerty searching in every text document
end tell
- Jim
--~--~-~--~~~---~--~~
I just learned about the scripting menu in Xcode. Some pretty nifty
features in there. For those not familiar, click on the scripts menu
and select teh Edit User scripts command. Flip through the scripts.
This is the kind of functionality I'd really like in BBEdit. The
ability to run scripts
I just realized you might only be looking for 1 digit followed by a
space. If you only ever want to match one digit use:
(\d)\s
with the same replace string. The previous pattern will match one or
more digits. Which you may or many not want.
On Jun 23, 6:40 pm, Tim Gray tg...@125px.com wrote:
Find:
(\d+)\s
Replace:
\1/tdtd
It won't work on the last set of digits if there is no space following
it...
On Jun 23, 5:49 pm, derol derolf...@gmail.com wrote:
I'm trying to figure out a way to find using a wild card, and replace
only half of my find string, leaving the wild card intact.
At 16:18 +0100 on 06/16/2009, Carlton Gibson wrote about Re: Script
to convert CSV to formatted plain text table:
Thanks for the reply...
I meant to take something like this:
col1,col2,col3
xx,xxx,x
and turn it into something like:
***
* col1 * col2 * col3 *