topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 15, 2024, 1:54 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Take highlighted address and add +4 to zip code  (Read 4385 times)

dpupello

  • Participant
  • Joined in 2008
  • *
  • Posts: 4
    • View Profile
    • Donate to Member
IDEA: Take highlighted address and add +4 to zip code
« on: December 21, 2011, 04:20 PM »
Can someone whip up a program or AHK script that would take a highlighted address, such as:

123 Main Street, Anyville, ST 55555
or...

123 Main Street
Anyville, ST 55555

...and "lookup" the Plus 4 zip code, so that it would return:

123 Main Street
Anyville, ST 55555-1234

or

123 Main Street, Anyville, ST 55555-1234

...depending on the input format.  Even just returning the Plus 4 code (1234) to the clipboard might also be useful.  Would beat the hell out of going to the USPS +4 lookup web page, then individually typing/pasting in the pieces of the address, then clicking "LOOKUP", etc.

Thanks for consideration!

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: IDEA: Take highlighted address and add +4 to zip code
« Reply #1 on: December 23, 2011, 08:40 PM »
This is the only thing I found that seemed close. I don't know what Yahoo Widget Engine is though:

http://www.softpedia...dress-Verifier.shtml


kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: IDEA: Take highlighted address and add +4 to zip code
« Reply #2 on: January 12, 2012, 08:29 PM »
If I or someone can find me a text file listing of 9-digit zip codes with associated city and state, I can easily do this. I found this webpage but it's only got 5-digit zip codes. Using a CSV text listing, this coding snack would be a piece of cake.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: Take highlighted address and add +4 to zip code
« Reply #3 on: January 12, 2012, 09:56 PM »
I might be able to leverage the USPS website itself.  Hang tight...

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: Take highlighted address and add +4 to zip code
« Reply #4 on: January 12, 2012, 11:34 PM »
Here's a quick'n'dirty proof of concept:

http://skwire.dcmemb...snacks/Zip+4Tool.zip

Please let me know if it works for you.

2012-01-12_232934.pngIDEA: Take highlighted address and add +4 to zip code