[OS X TeX] applescript in TS

Herbert Schulz herbs at wideopenwest.com
Fri Sep 17 20:21:14 EDT 2010


On Sep 17, 2010, at 6:26 PM, Claus Gerhardt wrote:

> The old script used special symbols (#NAMEPATH#,#TEXPATH#) which Applescript doesn't understand.
> 
> Claus
> 
> 
> On Sep 18, 2010, at 0:45, Herbert Schulz wrote:
> 
>> 
>> On Sep 17, 2010, at 4:14 PM, Claus Gerhardt wrote:
>> 
>>> The refreshpdf script below, when copied as a macro,  runs directly.
>>> 
>>> Claus
>>> 
>> 
>> Howdy,
>> 
>> Works fine! Thanks.
>> 
>> Can you explain why the original script couldn't be run direct but this one can? I know the information in TeXShop but it's as clear as mud to this Applescript-phobic individual.
>> 
>> Good Luck,
>> 
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>> 

Howdy,

Hmmmm... I have an ``Applescript direct'' macro that works and uses the #TEXPATH# macro:

	set texpath to alias POSIX file #TEXPATH# -- gives "/path/to/docu.tex"

so there must be more although that may be part of it

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list