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


Click here to return to the 'UK Modification' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
UK Modification
Authored by: ukkarhu on May 03, '05 06:01:39PM
Oops - for the 'Google Map directions.scpt', the idea is the same and the lines are in the same location (just below the comment '--this is where the magic happens'), but there are now two parts - myzip and tozip. Change the line so it reads:

if myzip is missing value then
		set addressURL to stripReturn(mystreet) & ", " & mycity & ", " & mystate
	else
		set addressURL to myzip
	end if
	
	set addressURL to addressURL & " to "
	
	if tozip is missing value then
		set addressURL to addressURL & stripReturn(tostreet) & ", " & tocity & ", " & tostate
	else
		set addressURL to addressURL & tozip
	end if
i.e. delete the bits just after each 'else' statement so only the 'myzip' and 'tozip' parts are passed to the addressURL variable.

[ Reply to This | # ]