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


Click here to return to the 'Get Google directions via Address Book' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Get Google directions via Address Book
Authored by: Werd on Feb 18, '05 12:30:03AM
This script is great! I was hoping it wouldn't be long after the original "map of" script before someone figured out how to get directions directly (especially since Google Maps wants addresses on one line, which prevents simple copying and pasting into the "End address" field).

It is important to note, as akakie@acsalaska discovered in the above comments, that you can't open the text file in Safari or Firefox, and then copy and paste into Script Editor. Apparently browsers don't completely support the "less than or equal to" and "greater than or equal to" characters in text files. Is this a bug, or some kind of ASCII/Unicode limitation?

Strangely, option-clicking the links in Safari to download the text files from Mac OS X Hints gives me a "file doesn't exist" error, even though the files obviously do exist. (Doing the same thing on samer's site works fine, so I don't know what's going on there.) You can either "Save Linked File As..." from the contextual menu or once the text file is open in your browser, do a normal "Save As..." Even though the file doesn't appear (or copy) correctly in the browser, the saved file will be fine when opened in TextEdit or whatever.

[ Reply to This | # ]