Q:

Export TeXShop macros

I am currently using two different computers to write my papers and slides with TeXShop : my personal one at home, and my office computer.
I am searching for a way to "synchronize" my TeXShop macros between the two computers, or at least export a macro I write on a computer to the other. Even some artisanal solution would suit me, like finding where the macros are saved on a computer and manually copy the files to the other.
For example I have a Beamer template that I constantly update, actually I am forced to keep the template on a file on my Dropbox to keep it synchronized, whereas I would like to save it as a macro.
I insist upon the fact that I am talking about TexShop macros, the ones we create/modify with the Macro editor menu.

A:

To move all of the macros copy the ~/Library/TeXShop/Macros folder from one computer and replace the one on the other system with that folder. Note: ~/Library is the Library folder in your HOME folder. In recent versions of TeXShop you can open ~/Library/TeXShop using the TeXShop->Open ~/Library/TeXShop menu command.
To move selected Macros open the Macro Editor (Macros->Open Macro Editor…), select the macro(s) in the list on the left and then click on Macros->Save selection to file… (Note: that menu item only appears when the Macro Editor is active) to create a file with extension .plist and a name of your choice in the location of your choice. Copy that file to the other system. On the other system open TeXShop and the Macro Editor and click on Macros->Add macros from file… (again, only available when the Macro Editor is active). Drag and drop that .plist file onto the selection window and import the file. Once the macros are imported you can move them to your preferred location(s) on the menu in the list at the left side of the Macro Editor window and then Save the changes.

