Skip to content

Instantly share code, notes, and snippets.

@moxuse
Last active December 16, 2015 06:39
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 moxuse/5393551 to your computer and use it in GitHub Desktop.
Save moxuse/5393551 to your computer and use it in GitHub Desktop.
プロセス監視AppleScript
on idle
tell application "System Events"
set ProcessList to name of every process
if "YOUR_APPNAME" is not in ProcessList then
tell application "YOUR_APPNAME" to launch
end if
end tell
return 30
end idle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment