[OS X TeX] TeXShop Bug: NSCannotCreateScriptCommandError (again)

Claus Gerhardt claus.gerhardt at urz.uni-heidelberg.de
Fri Sep 17 22:01:52 CEST 2004


The script works fine for me, both from the ScriptEditor as well as  
TeXShop (1.35b).

Claus

On 17.09.2004, at 20:34, Ramon M. Figueroa-Centeno wrote:

> Dear Colleagues,
>
> When I run the following script (from the script editor and from inside
> TeXShop):
>
> tell application "TeXShop"
>     activate
>     set myinput to (content of selection of front document)
> end tell
>
> I get the following error:
>
> TeXShop got an error: NSCannotCreateScriptCommandError
>
> Which according to
> <http://developer.apple.com/documentation/AppleScript/Reference/ 
> StudioRefere
> nce/sr2_fundamentals/chapter_2_section_14.html> means:
>
> the application received an invalid or unrecognized Apple event.
>
> Is anyone experiencing the same problem? Does anyone know the solution?
>
> Thanks,
>
> Ramon
>
> -- 
>
> Ramón M. Figueroa-Centeno, Ph.D.
> Assistant Professor
>
> Mathematics Department
> University of Hawaii at Hilo
> College Hall 4-A
> 200 W. Kawili St.
> Hilo, HI 96720-4091
>
> (808) 974-7387 (office)
> (808) 933-3473 (fax)
>
> http://www2.hawaii.edu/~ramonf/
>
>
>
> --------------------- 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>
>
>

--------------------- 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