[OS X TeX] Save Source As
herbs at wideopenwest.com
Thu Jan 5 08:47:11 EST 2012
On Jan 5, 2012, at 1:08 AM, Kevin Fjelsted wrote:
> WOuldn't the better approach be to use the "duplicate" option under TexShop?
> THis would be the conventional Lion approach.
> On Jan 5, 2012, at 1:04 AM, M. Tamer Özsu wrote:
>> This is very helpful. Is there a way to modify it so that one chooses the folder into which a new (not previously existing) file would go in? The current script sets filefolder to a specific directory and then "counts" the versions in that directory. Of course I can figure out how to ask the user for the filefolder and set it accordingly if the file does not exist, but I don't know how to select the folder using the usual Apple pop-up navigation panel. Is that possible?
>> On 2012-01-05, at 6:41 AM, Michael Sharpe wrote:
>>> For those who miss Save As as you think you remember it pre-Lion, this is an Applescript macro for the Macro menu that works similarly but doesn't offer you the useless suggested name Untitled… in a possibly different folder, giving you instead as suggested name a file in the same folder derived from the original name, with a unique two-digit serial number inserted before .tex.
The only thing you need to be careful about with Duplicate (I've even mapped it to Shift-Cmd-S) is that, unlike Save… which defaults to the .tex extension, you must supply the extension you want. True as of TeXShop 3.06.
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX