Scripting Find/Replace in All Open Documents

2009-06-23 Thread Warren Michelsen

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 applicable to 
whatever files are currently opened?




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups BBEdit Talk group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to supp...@barebones.com 
rather than posting to the group.
-~--~~~~--~~--~--~---



Re: Scripting Find/Replace in All Open Documents

2009-06-23 Thread Jim Correia

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


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups BBEdit Talk group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to supp...@barebones.com 
rather than posting to the group.
-~--~~~~--~~--~--~---