/ Published in: AppleScript
This example is the loop that waits until "mi.app" is quitted.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
repeat try do shell script "ps -auxw | grep '[ m]i\.app'" on error exit repeat end try delay 1 end repeat