The ability to use AppleScript in Glossary entries allow the user to connect with other applications, do calculations, access the file system and do anything that AppleScript can do within the context of editing text in BBEdit. As scripts and glossary entries are created they can be combined to allow for more rapid development of similar prototypes in text editing.
I have 2 questions on the BBEdit Disk Browser Suite.
Question #1: Is it correct to call this suite;
BBEdit's Disk Browser Suite
BBEdit Disk Browser Suite?
Question #2: Is it better to use in the Disk Browser Suite scripts;
property BBEditLib : (load script file ((path to "dlib" from user domain as string) & "BBEditLib")) instead of : set BBEditLib to (load script file ((path to "dlib" from user domain as string) & "BBEditLib"))Is there any gains in term of speed, size of the scripts, etc...
Thanks in advance.
Update: Ok, I decided to rename the suite to "BBEdit Disk Browser Suite" (i.e "BBEdit" without the "'s') Thanks to Rob J.
I released today the version 1.0.3 of the BBEdit Disk Browser Suite. I fixed a small bug in the deleteFile method of the diskBrowserWindow class of BBEditLib.
Managing files and folders in the disk browser window from the BBEdit's Script menu.
Wouldn't it be nice to be able to manage files and folders from the BBEdit's disk browser window? Now you can by installing the BBEdit Disk Browser Suite in the Script menu of BBEdit, and the BBEditLib's library in your home Library folder. Once you've done that, you will be able to access from the BBEdit's Script menu up to 10 commands to be executed on selected file(s) or folder(s) in a disk browser. The BBEdit Disk Browser Suite and BBEditLib are written in AppleScript.
The commands are:
Using BBEditLib to create your own scripts.
The BBEditLib library was written in such a way that it could be reused by others. You can for example get rid of all the warning dialogs and the dialogs that require an input field and directly act via AppleScript on the frontmost BBEdit's disk browser window.
The BBEditLib contains for now 6 scripts objects which are in fact classes in object-oriented vocabulary.
The generalmessages and errormessages classes contains only properties which are the strings used in the dialog with the user. The dialog class contains subroutines, which are in object-oriented parlance "methods", that generate dialog windows for errors and user inputs. The unixpath class contain a method to translate Mac path (':') to Unix path ('/'). The diskBrowserWindow class is the most elabored class of the whole file since it contains up to 8 methods for dealing with BBEdit's disk browser windows. And finally, the textWindow class contains only one method for dealing with BBEdit's text windows.More: http://scriptdigital.com/divers/bbeditlib.html