Frogger3140

Blockland CrashHelper

Jan 15th, 2011
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (*
  2. Tested on Snow Leopard only, but it should work on lion.
  3. *)
  4. repeat
  5.     set kakez to ({"Blockland crash on ", (current date)} as string)
  6.     tell application "System Events" to (name of processes) contains "Blockland"
  7.     if the result is false then
  8.         do shell script "open ~/Blockland/BlocklandLauncher.app -dedicated -map slate"
  9.         beep 1 --Get attention
  10.         say kakez
  11.     end if
  12.     delay 5 --Compensate for launcher loadup time
  13. end repeat
Advertisement
Add Comment
Please, Sign In to add comment