A script to find public wireless hotspots

Jun 02, '03 09:14:00AM

Contributed by: macubergeek

Ok this is a quick repurposing of the eBay auction script I submitted the other day, but perhaps someone can use it. Just enter the name of your town in the dialog box and it'll look up open WiFi hotspots.

set my_town to "AnyTown"

tell application "Finder"
  display dialog ¬
    "What's the name of your town?:" default answer my_town ¬
    buttons {"OK"} default button 1
  set my_town to text returned of the result
  tell application "Safari"
    activate
    open location ¬
      "http://www.ezgoal.com/hotspots/wireless/s.asp?qu=" & ¬
      my_town
  end tell
end tell
[robg adds: Yes, you can do this by bookmarking the ezgoal site, but if you travel a lot, you may find it easier to just run the script instead of loading the page, entering the city, hitting Search, etc. each time...]

Comments (7)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030529142538999