[OS X TeX] Re: Can someone conform this TeXShop applescript behavior?

Ramón Figueroa-Centeno ramonf at hawaii.edu
Sun Jun 6 04:21:23 EDT 2010


Thanks,

So this little snippet will select the whole document:

tell application "TeXShop"
	set the offset of the selection of the front document to -1
	set myoffset to the offset of the selection of the front 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
end tell

Ramón
-- 
View this message in context: http://macosx-tex.576846.n2.nabble.com/Can-someone-conform-this-TeXShop-applescript-behavior-tp5144509p5144923.html
Sent from the MacOSX-TeX mailing list archive at Nabble.com.



More information about the MacOSX-TeX mailing list