[OS X TeX] Applescript Macros & Lion
herbs at wideopenwest.com
Fri Sep 23 08:15:11 EDT 2011
On Sep 23, 2011, at 7:00 AM, Claus Gerhardt wrote:
> I am running TeXShop 3.04 without autosave and the begin/end macro works fine.
> On Sep 23, 2011, at 13:38, Herbert Schulz wrote:
>> With every major OS upgrade there seems to be major changes in the way Applescript behaves. There are several TeXShop Applescript Macros that seem to be broken under Lion (not only on my system). I don't really know Applescript (except to know it annoys me!) but there must be some Applescript guru in our group that also uses TeXShop and is running under Lion that can fix those and submit them for inclusion in TeXShop 3.
>> Ummm... one example is the Begin/End macro. I know there are better ways of doing this (at least in my opinion) but some folks use it.
>> Good Luck,
>> Herb Schulz
>> (herbs at wideopenwest dot com)
To put it mildly I, ummm..., dislike Applescript. I have macros that work on my system that don't on other's system (with the same OS version!) and visa-versa. When I do a major OS update (e.g., 10.5->10.6->10.7) I invariably have problems with undefined variables (which ARE defined) and recently, when I switched to 10.7, I had to remove an error check (on error) since it wouldn't let the macro run even though it ran fine under 10.6 and there was no error. Applescript was ``advertised'' as being ``natural language'' but it isn't any language that's natural to me. Oh..., did I say I dislike Applescript?!
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX