A similar idea from July 2017 has recently been updated to under review - you can CLICK HERE to find out more.
Apologies for the repetition but the original post for the request seems to have disappeared and I am unable to find any progress on this by Microsoft.
I and a number of others have asked for the ability to set the cursor focus to a field. For example, when a new window opens we can tell the cursor to position itself in field 'x' ready to receive input, instead of the user having to press or click on the field before they can start entering data.
For a barcode application, this would work like so: End-user opens the app, which places the cursor in a field of our choice (in this case the TextSearchBox', and immediately scans a barcode, which then goes into the 'TextSearchBox' and activates a lookup. The user then clicks on a button to accept or reject the data from the lookup, and the cursor is sent back to the 'TextSearchBox' for the next scanned data.
Without this, the user first has to click on the textsearchbox to enable the data to be entered, then they scan the data and choose the accept or reject button. But before they can scan the next barcode they have to click on the searchbox again in order to allow the application to accept data.