Okay, so I know how to prevent all previously open apps from being reopened on restart, but I haven't been able to find out how to prevent this only for specific apps. You see I have an application that can't actually function properly until a specific volume is available, which usually doesn't appear straight away. So I have a script setup to detect the volume and open the application, however this doesn't help if the app was already reopened. It's an application that I tend to leave open but hidden so I can quickly switch to it as needed, but I almost never remember to close it before shutting down. There are various useful tricks for preventing Resume on applications (locking saved state folder and/or specific app state folders) but I haven't figured out where OS X stores the list of open applications to be reopened after restarting. Does anyone know, and if so, know of a way to prevent specific applications form being reopened? I don't mind the feature in general, so I don't want to disable it completely.