Thanks Rich,

On May 08, 2011, at 08:52, Rich Siegel wrote:
> There's an expert preference which controls this behavior. You can set it 
> using the command line (and for some reason it didn't end up in the change 
> notes or expert prefs help; I'm not sure why).
> 
> This affects *all* folder opens.

You don't have to restart BBEdit for this to take effect, so it can be scripted:

set cmd0 to "defaults write com.barebones.bbedit 
Misc:MakeTempProjectForFolderOpen -bool NO"
set cmd1 to "defaults write com.barebones.bbedit 
Misc:MakeTempProjectForFolderOpen -bool YES"
set cmdRead to "defaults read com.barebones.bbedit 
Misc:MakeTempProjectForFolderOpen"
set fldr to alias "HD:Users:stone:test_directory:"
do shell script cmd0
# Some delay is necessary for the switch to take effect (ymmv).
delay 0.35
tell application "BBEdit"
        activate
        open fldr
end tell

> Of course, project windows are intended to function as a replacement for disk 
> browsers (and have several advantages) when you drop a folder on to the 
> application, so one is naturally curious as to why you are looking to create 
> a disk browser instead of simply opening the folder... :-)


I can't speak for Mike of course, but:

It's possible to navigate the disk hierarchy via a disk browser window, whereas 
you can only navigate the project in a project browser.  (And keyboard 
navigation of the project list is [off] by default.)

You can descend into a zip file and read compatible file types without 
de-archiving first.

You can do a quick inspection of a bunch of files.

You can find/replace in the disk browser without the extra step of opening the 
file in the project.

--

The project browser certainly has a number of advantages, but it doesn't 
replace all the functionality of the disk browser in my opinion.  I see them as 
complimentary.

--
Best Regards,
Chris

-- 
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>

Reply via email to