[OS X TeX] Re: Can someone conform this TeXShop applescript behavior?
ramonf at hawaii.edu
Sun Jun 6 04:35:52 EDT 2010
This is a safe way of selecting the whole document
tell application "TeXShop"
set whole_document to (the text of the front document) as string
set myoffset to count characters of whole_document
set the offset of the selection of the front document to 0
set the length of the selection of the front document to myoffset
View this message in context: http://macosx-tex.576846.n2.nabble.com/Can-someone-conform-this-TeXShop-applescript-behavior-tp5144509p5144942.html
Sent from the MacOSX-TeX mailing list archive at Nabble.com.
More information about the MacOSX-TeX