Existing users, log in.  New users, create a free account.  Lost password?

Mac OS X  |  Internet  |  RSS / Podcast / Blog  |  Homeland Alert  |  Homeland Alert Script

Homeland Alert

Homeland Alert

displays US terror alert status in menu bar

Version:  3.6.5

   [ Views: 620 ]

Homeland Alert Script

Feedback Type:  Commentary

Contributed by: bobw12 Thursday, January 29 2004 @ 04:04 PM PST

Product Platform: MacOSX

Used Product For: Have Not Tried

Recommend Product: NO

Why not just use a script to get the Level;

set the_command to "curl -s 'http://www.dhs.gov/dhspublic/getAdvisoryCondition' | grep CONDITION"
set the_level to (word -1 of (do shell script the_command))
display dialog ("Terror Alert Level: " & the_level) buttons {"OK"} default button 1 with icon 2 giving up after 10
Jon   

3 of 3 users found this helpful.

Rate this Commentary

Was this Commentary helpful? Yes | No

Comments

0 comments |

No user comments.