blog.scriptdigital.com [Archives]

Emmanuel M Décarie's weblog on scripting.
Mostly PHP, Radio UserLand, Perl, Applescript and OS X.
RSS/XML Feed | scriptdigital.com | Picture | Search
Categories: AppleScript | BBEdit | Internet | Javascript | OS X | Perl | PHP | Python | Review | Radio UserLand
Technorati URL search for http://blog.scriptdigital.com.
Search Technorati for information relating to the URL or keyword of your choice.
... Original post: blog.scriptdigital.com: Emmanuel M Décarie's weblog on scripting. by at Daypop Search - filter replacement ...
Filter Replacement View Technorati URL search

BBEdit

Sun 09 Feb 2003

Extending BBEdit with Glossary Entries That Call AppleScripts

Jesse Shanks on Studio Log wrote a good presentation of the BBEdit's Glossary, and how you can extend it with AppleScript [via Studio Log].

Extending BBEdit with Glossary Entries That Call AppleScripts

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.

comments: 0

11:01PM EST [ /BBEdit | # ]

Tue 04 Feb 2003

2 questions on BBEdit Disk Browser Suite

I have 2 questions on the BBEdit Disk Browser Suite.

Question #1: Is it correct to call this suite;

BBEdit's Disk Browser Suite
instead of
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.

comments: 0

1:23PM EST [ /BBEdit | # ]

Update to the BBEdit Disk Browser Suite

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.

comments: 0

12:59PM EST [ /BBEdit | # ]

Mon 03 Feb 2003

BBEdit Disk Browser Suite

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:

More: http://scriptdigital.com/divers/bbeditdiskbrowserscripts.html

comments: 0

3:09PM EST [ /BBEdit | # ]

BBEditLib 1.0.2

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

comments: 0

3:02PM EST [ /BBEdit | # ]