Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'View Google Map and TerraServer image for one location' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
View Google Map and TerraServer image for one location
Authored by: jporten on Mar 08, '05 03:59:42PM
-- display dialog to get information
-- i don't think there is a way to
-- pull lon and lat from one dialog...


set latlongtext to text returned of ¬
   (display dialog "Please enter latitude, longitude (decimal)."¬
   buttons {"Cancel", "OK"} default button "OK" giving up after 500 with icon 1 default answer "")

set astid to AppleScript's text item delimiters
set AppleScript's text item delimiters to ","
set lat to the first text item of latlongtext as number
set long to the second text item of latlongtext as number
set AppleScript's text item delimiters to astid


[ Reply to This | # ]