So I play around with AppleScript and am completely new to it.
How did I turn off the script with both apps if:
- app1 and app2 run
- or if app1 or app2 is running  and run them if they are not running
if the application "app" runs or "app2" then runs Tell the app "app1" to quit Tell the app "app2" to quit else Tell the app "app1" to enable Tell the app "app2" to enable end up