Need advice on this project

I need to program a barcode scanner that will communicate with a Mac and my sales database. Should I do it in Applescript or does anynoe know any current solutions?

Thanks,
Darren

If you are thinking of writing something yourself you’ll want to take a look at this code: http://www.bruji.com/cocoa/barcode.html