[OS X TeX] TeXShop macro: add column to tabular

Herb Schulz herbs at wideopenwest.com
Sat Jul 17 10:30:37 EDT 2004


On 7/17/04 1:46 AM, "Will Robertson" <will at mecheng.adelaide.edu.au> wrote:

> ...
> --BEGIN:
> set q to display dialog "This macro adds a new column to the selected
> tabular. Please enter the column number before or after which you would
> like to add a new colum." default answer "1" buttons {"Before",
> "After"} default button default_button
> 
> set add_where to the button returned of q
> set col_num to the text returned of q
> ...

Howdy,

At least for the TeXShop version (I haven't tested it with iTeXMac yet) this
should be wrapped in a

tell application "TeXShop"
...
end tell

Or you've got to click on the dock icon to get the dialog; at least with OS
X 10.3.4 and TeXShop 1.34.

VERY NEAT.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- 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 MacOSX-TeX mailing list