document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. tell application "Terminal"
  2.   do shell script "/usr/local/bin/blueutil status"
  3.   set _Result to the result
  4.   if _Result is "Status: on" then
  5. do shell script "/usr/local/bin/blueutil off"
  6. end if
  7. if _Result is "Status: off" then
  8. do shell script "/usr/local/bin/blueutil on"
  9. end if
  10. quit application "Terminal"
  11. end tell
');