Contents  BBAutoComplete Manual  Technical Support

2.4   Integration Scripts

BBAutoComplete includes AppleScripts that let you invoke it from inside other programs. To access these scripts, choose Show Scripts from the BBAutoComplete menu. Find the color corresponding to the application that you’re using, e.g. BBEdit 12.

These scripts need to be installed in particular locations so that they show up in the Scripts menus of the aforementioned programs.

Affrus
The scripts go in the Scripts folder next to the Affrus application. To open this folder, you can choose About The Scripts Menu from Affrus’s Scripts menu, and then click the Open Scripts Folder button.
BBEdit

The scripts go in the folder ~/Library/Application Support/BBEdit/Scripts. You may need to set the trigger keys after installing the scripts.

Mailsmith
The script goes in the folder ~/Library/Application Support/Mailsmith/Scripts.
Microsoft Word
Install FastScripts. Put the script in the folder ~/Library/Scripts/Applications/Word/ (creating that folder, if necessary). Then open FastScripts’s preferences and assign the script a keyboard shortcut. Another option is to use Spark instead of FastScripts. Do not use Word’s built-in Word Script Menu Items folder, since the script does not work properly when Word itself runs it.
Script Debugger
The scripts go in the Scripts folder next to the Script Debugger application.
Smile
Make sure that you have Smile installed and then run the Installer program in the Smile folder.
Tex-Edit Plus
The scripts go in the Scripts folder next to the Tex-Edit Plus application.
TextWrangler 2–4
The scripts go in the folder ~/Library/Application Support/TextWrangler/Scripts.
TextWrangler 1.5
The scripts go in the folder ~/Library/Application Support/TextWrangler Support/Scripts.

Launch and Quit Scripts

The Launch and Quit Scripts folder contains optional scripts that open BBAutoComplete when you open your editor and quit it when your editor quits.

The Launch BBAutoComplete script goes in BBEdit, Mailsmith, or TextWrangler’s Startup Items folder:

~/Library/Application Support/BBEdit/Startup Items
~/Library/Application Support/Mailsmith/Startup Items
~/Library/Application Support/TextWrangler/Startup Items

The Quit BBAutoComplete script goes in BBEdit, Mailsmith, or TextWrangler’s Shutdown Items folder:

~/Library/Application Support/BBEdit/Shutdown Items
~/Library/Application Support/Mailsmith/Shutdown Items
~/Library/Application Support/TextWrangler/Shutdown Items

It may be necessary for you to create the Startup Items and Shutdown Items folders.

You might find it inconvenient to use these scripts if you use more than one of the programs.

     Contents  BBAutoComplete Manual  Technical Support