Skip to content

Instantly share code, notes, and snippets.

@msabramo
Created August 22, 2019 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msabramo/ddd82209b0c7508ae21cd853eef4d913 to your computer and use it in GitHub Desktop.
Save msabramo/ddd82209b0c7508ae21cd853eef4d913 to your computer and use it in GitHub Desktop.
Restart Adobe Bridge 2019 with AppleScript
#!/usr/bin/env osascript
set appName to "Adobe Bridge 2019"
tell application appName to quit
repeat
tell application "System Events"
if appName is not in (name of application processes) then exit repeat
end tell
do shell script "sleep 0.5"
end repeat
tell application appName to launch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment