[OS X TeX] scripting BBEdit (was Tabular/array macros)
Maarten Sneep
maarten.sneep at xs4all.nl
Mon Nov 8 15:49:15 CET 2004
On 8 nov 2004, at 14:25, Jérôme Laurens wrote:
> One thing that might be of great help and could completely avoid the
> learning process you mention, would be to take a look at the resource
> file where BBEdit declares its apple events and applescript syntax,
> what is gathered in the .scriptSuite and .scriptTerminology under
> cocoa, I don't know really where it lies in a carbon app.
Carbon stores that info in its aete resources. You could try to get a
somewhat human readable version of that using DeRez (which is installed
along with XCode).
The following command should yield the desired results:
DeRez /Applications/BBEdit/Contents/Resources/BBEdit.rsrc
/Developer/Headers/FlatCarbon/*.r -useDF -only 'aete' >
~/Desktop/BBEdit.r
Note that the Rez input is rather different from the .scriptSuite and
.scriptTerminology files for Cocoa.
Maarten
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list