[OS X TeX] TeXShop: open last source file at startup?

Murray Eisenberg murrayeisenberg at gmail.com
Fri Mar 5 19:15:42 CET 2021



> On 5 Mar2021, at 12:35 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
> 
> 
>> On Mar 5, 2021, at 11:16 AM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> 
>> Is there some way to configure TeXShop so that, when you start it, it opens automatically what was the active .tex source file from the previous TeXShop session?
>> 
>> (Of course I’m aware of the File > Open Recent menu item.)
> 
> Howdy,
> 
> If you want that behavior for all apps... under the General tab of System Preferences make sure `Close windows when quitting an app' is unchecked.
> 
> 

No, I wanted it just for TeXShop.

If there’s no hidden preference in TeXShop to do this, might there be a way to do it by means of a script that can examine the recently opened files for the app, find the most recent one, and then open TeXShop with that.

---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	
Rockville, MD 20850-6667	Mobile (413)-427-5334


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20210305/7574e563/attachment-0001.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list.