Launch Automator. Click Application in the template window. Under the actions list scroll down to Quit All Applications. Drag it to the space on the right. Go to Save, name it what you want and save it.

If you want to get inventive when you make the app you can choose any apps you don't want to shut down under Do Not Quit, use the Add button.

HTH smile