I have a pre-10.5 script which did
tell application "BBEdit" to set zbaTemplates to the template directory of
web site "ZBA" as Unicode text
But BBEdit 10.5 doesn't have "web sites" any more. Now they are just projects
with some additional properties. For UI purposes, that is fine, but for
scripting it looks like there's a serious loss of functionality.
(1) Pre-10.5, I could talk about a web site by name -- web site "ZBA" --
without having to know anything about where it was on disk ... in fact, I could
use the functionality to ASK BBEdit where it was on disk. Now that web sites
are just projects, i looks like my script at least has to know where the web
site project document lives.
(2) Pre 10.5, once I had the web site, I could ask for the location of its
Templates and Includes directory (as above) or the location of its site root.
As far as I can tell, even if I have the web site project document open, there
is no longer any script access to its web site properties.
Am I missing something? Or do I have to go back and hard-code a bunch of
directory paths into scripts that used to be able to ask BBEdit for that
information?
Thanks,
Neil Faiman
--
--
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>