I throw this at google and it returns the address...
Route Forestière de la Réserve, 50680 Cerisy-la-Forêt, France,
Can someone please show me, tell me... even shout at me ... what do I need to do to sort out these 'funny charecters' ?
Code: Select all
on mouseUp
put "http://maps.googleapis.com/maps/api/geocode/json?latlng=<coord>&sensor=true" into theURL
replace "<coord>" with fld "coord" in theURL
put URL theURL into temp
put lineOffset("formatted_address",temp) into red
set itemdel to ":"
put item 2 of line red of temp into theAddress
replace quote with empty in theAddress
delete char 1 of theAddress
put theAddress into fld 1
end mouseUp