On Friday, November 9, 2012, David Schutz
<[email protected]> wrote:
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.
Consulting the scripting dictionary :-), you'll see:
project document n [inh. document > item] : a BBEdit
project document
elements
contains project items, project collections.
and
window n [inh. item] : an open window
elements
contains texts, documents; contained by application.
Projects don't contain documents, because projects are an
organizational construct on disk; however, the application
contains open documents, and each window (including project
windows) contains its own list of open documents as well.
But this is all guesswork, since I haven't seen your script nor
do I know what you're trying to accomplish.
R.
--
Rich Siegel Bare Bones Software, Inc.
<[email protected]> <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>