There is a very good freeware utility that can help you with your problem. It is called PowerPro by Bruce Switzer. You can find it at http://powerpro.webeddie.com/
It can automatically watch for windows with certain captions and send them keystrokes, mouse moves and clicks etc. Since the labelling program you are talking about probably pops up some sort of confirmation window, this feature should do the trick.
The program is a bit technical to set up, so you may want to enlist the help of your local techie to set it up, but once it is working, you never have to worry about changing it.
Hope this helps.
Note: Please take the time to rate people's answers to your question, and in doing so respect the fact that they have invested time at no cost to you to help them. I am tacking on this request to any questions I answer as I have noted that people asking questions almost never rate the answers on this site, and I think this is most inconsiderate. If this isn't you, sorry to rant.