hexagon logo

Using Barcode Scanner to Open Programs

I am trying to set up barcode scanners on our CMMs so that when the operator puts a part on the fixture, they will scan the part and it will automatically open the proper program. If this kind of thing possible? I have seen some people using scanners to add data via comments, but is it feasible to scan a part and have it open the corresponding program?