[OS X TeX] Can someone conform this TeXShop applescript behavior?
herbs at wideopenwest.com
Sun Jun 6 06:33:16 CEST 2010
On Jun 5, 2010, at 9:29 PM, Ramón Figueroa-Centeno wrote:
> When entering the following I always get the cursor at the end of the file.
> tell application "TeXShop"
> set doc_name to the name of the front document
> set the the offset of the selection of document doc_name to -1
> end tell
> Is this the way it is supposed to be, a negative offset points to the end of
> the file? If so I could find it useful!
Haven't tested it but is and offset of -2 one character before the end of the file?
(herbs at wideopenwest dot com)
More information about the macostex-archives