Thank you very much, Chris! The script did the job. I'm somewhat surprised that this feature does not exist yet, I can find many use cases for it. I mean, I see it as an overcomplication to always have to resort to the "main" project window to have the actual project in the sidebar. I assume that people do use more than one window for documents in a project, so I think my request may come in handy.
I will consider writing to BB for a request, I know their support is stellar! Thanks again for your help! On Friday, July 29, 2016 at 9:01:44 PM UTC+3, Christopher Stone wrote: > > On Jul 29, 2016, at 12:43, Adrian Manea <[email protected] > <javascript:>> wrote: > > My idea is, indeed, to open a file in an additional window, but I want the > project folders, tree and navigation in both of them, if possible. > > ------------------------------ > > Hey Adrian, > > I doubt the developers will be interested in implementing that feature, > but by all means make a feature request to Bare Bones Software < > [email protected] <javascript:>>. > > You can't create an additional window for a project. > > The best you can do (AFAIK) is to duplicated the project itself. > > ----------------------------------------------------------- > *tell* *application* "BBEdit" > *set* projDocFile *to* *file* *of* *front* *project document* > *end* *tell* > > *set* projDocFile *to* projDocFile *as* *alias* > > *tell* *application* "Finder" > *set* projDocParent *to* *container* *of* projDocFile *as* *text* > *set* newProjName *to* "TEMP • " & (name *of* projDocFile) > *set* newProjDocFile *to* *duplicate* projDocFile > *set* name *of* newProjDocFile *to* newProjName > *end* *tell* > > *set* newProjDocFile *to* *alias* (projDocParent & newProjName) > > *tell* *application* "BBEdit" > *open* newProjDocFile > *end* *tell* > ----------------------------------------------------------- > > -- > Best Regards, > Chris > > -- This is the BBEdit Talk public discussion group. 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> --- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/bbedit.
