Posted By

dbug13 on 06/10/07


textmate applescript osx quicksilver

Versions (?)

Ping Google and display result in quicksilver

 / Published in: AppleScript

I use this to test if my internet connection is up, I run it from quicksilver, it's much faster for me than opening up a terminal.

  1. set strData to do shell script "ping -c 3"
  3. tell app "Quicksilver"
  4. show large type strData
  5. end tell

Report this snippet  


RSS Icon Subscribe to comments
Posted By: reelrootsryan on November 20, 2008

if the ping_result is negative, how would I tell the system to wait 5 seconds then retry the ping?

You need to login to post a comment.