[OS X TeX] Selecting Textual Part of a Line wo Carriage Return

Alain Schremmer schremmer.alain at gmail.com
Wed Aug 4 23:18:12 EDT 2010

On Aug 4, 2010, at 7:46 PM, Claus Gerhardt wrote:

> there are only three steps
> (1) Placing the cursor in the line
> (2) Running the script
> (3) Placing the cursor where you want to paste the "line",  
> pressing" cmd-v".

... but I had a small problem: in reality, the files I am copying the  
"lines" from are style sheets (for jobarrayx) and I was getting an  
AppleScript Error

So, in

	set theFile to namePath & ".tex" as string

I changed .tex to .sty and everything works fine.

Grateful regards

More information about the MacOSX-TeX mailing list