[OS X TeX] Applescript-tcl dictionary, wishlist

Stefan Walsen stefan at walsen.net
Fri Jan 7 10:46:41 CET 2005


Maarten Sneep wrote:
> On 6 jan 2005, at 22:26, Claus Gerhardt wrote:
>> On Jan 6, 2005, at 18:34, Stefan Walsen wrote:
>>> Claus Gerhardt wrote:
>>>> - keystroke "string" -- type the string at the current insertion point
>>>> - set theSelection to selection --selection means highlighted text
>>> these two are actually the same, aren't they?
>> These two commands (requests) are completely independent from each other.
> 
> I think there is some confusion as to what you want: you want both 
> insertion
> of a string and a way to obtain the currently selected text.

Yes, there obviously was :)

>     set the selection to "Help, I'm a Rock!"
>     (this replaces the selection with the text "Help, I'm a Rock!", 
> regardless
>      of the length of the current selection)

This is what i thought Claus wanted.

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