[email protected] (John Delacour) wrote on  7/24/11  4:40 AM

How do you set the default site now in v. 10?

Scripts Menu > Web Sites > Change Default Site.

I have no such script. If I did, I guess it would look something like this:

tell application "BBEdit" to set _sites to name of web sites
set _prompt to "Choose default web site"
set _choices to choose from list _sites with prompt _prompt
if _choices is in {false} then return
set _choice to item 1 of _choices
tell application "BBEdit" to set default web site to web site _choice

but the answer is probably to choose 'Setup' from the BBEdit menu (Manual p.210)

Fortunately for me, I do have that script. Setup allows you to add, delete or edit sites but doesn't include a way to change the default.

The script I have installed works great, though. Guess I had forgotten about it. And thanks for supplying one yourself, in any case.

Ken

--
Simple Lives Web Design
http://simplelives.com

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