|
|
Get Google directions via Address Book
It doesn't replace it for me. I get the number sign in Firefox's URL field with a "did not match any locations" error (because there's no city or ZIP, since it's not seeing anything past the number sign), and if I replace it with %23 by hand, it works fine. All other characters seem to translate fine. Is anyone else having this problem?
Get Google directions via Address Book
I had the same problem, and, based on the original "Google Map Of" script, I modified it thus:
Replace the line
if street of v is not missing value then set params to params & street of v & " "
with if street of v is not missing value then
set shortstreet to street of v
if shortstreet contains "#" then
set poundcut to offset of "#" in shortstreet
set shortstreet to get text 1 thru (poundcut - 1) in shortstreet
end if
set params to params & shortstreet & " "
end if
This truncates the street at the # symbol. There may be a better syntax, but Applscript is quite picky about the offset function. Obviously google ignores the unit number, but it does get you to the front door of the building! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|