[TxMt] Re: LaTeX bundle wont stop opening TeXShop

René Schwaiger sanssecours at f-m.fm
Thu Jan 8 18:41:07 UTC 2015


Hi Jim,

> On 08 Jan 2015, at 18:51 , Starx <jstarx at gmail.com> wrote:
> 
> Rene,
> 
> After the initial clone the behavior stopped, but because it started back up again last time I decided to wait a day before saying it worked and unfortunately this morning TeXShop has started opening again.
> 
> I do not know the difference between a compiled applescript and an uncompiled applescript.  

as far as I know an uncompiled AppleScript is just a text file. A compiled script on the other hand is a binary. If you open a compiled AppleScript in an editor — that unlike TextMate — does not support decompilation then you should see “gibberish” instead of the source code. You can try it yourself by opening `refresh_viewer` in “vim” or “TextEdit”. 

> There is still just a file, refresh_viewer.scpt, no application or anything like that in the bin directory.  Could my textmate have updated itself back to the uncompiled version?

If the checkbox on the left of the LaTeX bundle in Preferences→Bundles is selected, then TextMate might have overwritten your changes. If that is not the case, then TextMate should not overwrite the cloned version.

>  How do I check if this script is compiled or not?

Just try to open `refresh_viewer.scpt` inside `Support/bin` with “Script Editor”. You should get an error message containing something like the following text:

    The document “refresh_viewer.scpt” could not be opened.

    Unable to read the file because the script is not editable (it was saved as run-only).

> -Jim

Kind regards,
  René


More information about the textmate mailing list