| Personal Collections: Some Pictures and Some Little Mac Utilities |
|---|
| AppleScripts for BBEdit |
| [ Main
| Pictures
| Macintosh Utilities
| AppleScript for Eudora
| Contact me
/ Kontakformular
| About me ]
|
[Back to main Macintosh page.]
Note: more recent versions of BBEdit have the ability to remember open files and to re-open them again automatically built in.
These two scripts let you save a list of currently open files in the commercial editor BBEdit and reopen them again. They can be put in BBEdit's Startup Items folder (for the Reopen Windows script) and the Shutdown Items folder (for the Remember Open Windows script); or install them in BBEdit's Scripts menu and run them manually. Although the versions available here were written for BBEdit v6, you can use them with BBEdit v8 (under Mac OS X) with just a few small changes (I hope to update the scripts soon...)
At the moment, files opened via an external ftp client (Anarchie, NetFinder etc) will not be recognised properly; I will soon re-insert a check that will skip these files (it was in there for the version running under BBEdit v5.1.1, but I removed it when I started adjusting the scripts for BBEdit 6; basically, it just tests if a file is located in the Temporary Items folder of the startup disk and ignore it if that's the case).
The code of the scripts can be found here:
For installing them, open the links above in a new window, select the whole page, copy the contents and paste them into a new window in the Script Editor (that Apple installs as part of the AppleScript utilities). Compile them and save the compiled scripts in e.g. the folder for BBEdit's script menu entries (Support Folder:Scripts). Note that the Scripting Addition "Jon's Commands" should be installed (for checking modifier keys).
Use these scripts at your own risk! I'm not responsible for any damage or loss of data caused by these scripts. Since they all come with source code, feel free to change and improve them, but please don't distribute them without acknowledgement for the original code. If you do distribute your version, I would be grateful if you could send me a copy; and all suggestions and feedback would be most welcome.