[OS X TeX] Update to 10.9.3 & Applescript TeXShop Macro

Herbert Schulz herbs at wideopenwest.com
Sat May 17 04:49:39 CEST 2014


On May 16, 2014, at 9:41 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:

> 
> On May 16, 2014, at 9:29 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
>> 
>> On May 16, 2014, at 7:06 PM, Michael Sharpe <msharpe at ucsd.edu> wrote:
>> 
>>> 
>>> On May 16, 2014, at 9:25 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>>> 
>>>> Howdy,
>>>> 
>>>> I've used an Applescript Macro in TeXShop to remove auxiliary files for many years. I like it because it's easy to edit and adjust the list of extensions to remove. Unfortunately it is Applescript which, all too often, seems to change syntax. That usually only happens with major OS updates, e.g., OS X 10.8->10.9, but now I'm seeing a problem with my update from OS X 10.9.2->10.9.3. I get a spinning wheel when I execute it and occasionally an error about not finding .tex.
>>>> 
>>>> I know we have some Applescript experts on the list and wonder if they could take a look at the macro and see if they can analyse and fix the problem.
>>>> 
>>>> <DeleteAllAuxiliaryFiles.plist>
>>>> 
>>> 
>>> I've attached my reworking of the macro so that it runs quite fast even in a very large folder with about 3000 files. I can't be sure this fixes the problems you were seeing, as it's possible the update to 10.9.3 affected TeXShop's AppleScript interpreter.
>>> 
>>> Michael
>> 
>> Howdy,
>> 
>> This is AMAZING! I had to add the .gz to the end of synctex in the list but it's really amazingly fast and accurate. Thanks!!!
>> 
>> Good Luck,
>> 
>> Herb Schulz
>> (herbs at wideopenwest dot com)
> 
> Howdy,
> 
> Actually had to add .gz* to the end of synctex in the list! If you abort you get a .synctex.gx(busy) extension and rm hates the (! :-)
> 
> This works amazingly well!
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)

Howdy,

Sigh... and one more thing. I deleted the section that calls TextEdit. It seemed to open TextEdit no matter what was happening and the dialog box never opened to give me a choice.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list