Rich, thanks for the "select" tip. I have a difficult time getting our BBEdit users to change the behavior of their windows so I am trying to work with the application's defaults. i do target documents whenever i can, but i have had difficulty figuring out how to iterate through all the documents in a project, since "item" is not supported.
On Friday, November 9, 2012 1:52:55 PM UTC-6, Rich Siegel wrote: > > On Friday, November 9, 2012, David Schutz <[email protected]<javascript:>> > > wrote: > > >We've upgraded a few BBEdit users to version 10. Now that BBEdit seems > >to put every document one opens into a single project and window, my > >scripts are breaking completely. Is there any way to tell BBEdit to > >make a particular document the active one (bring it to the "front" > >INSIDE a window/project) if you have its name, id, etc.? > > The behavior is switchable; see the first item in the > Application preferences. > > However, you're better off targeting documents, not windows, as > that approach will work irrespective of whether the user has > multiple documents in a window, or not. (And if you target > documents by name, you don't need to worry about whether they're > active or not.) > > You can activate any window or document by using the "select" verb. > > R. > -- > Rich Siegel Bare Bones Software, Inc. > <[email protected] <javascript:>> < > http://www.barebones.com/> > > Someday I'll look back on all this and laugh... until they > sedate me. > > -- -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
