I am creating a code which allows a user to scan an barcode, resulting in the correct file in the explorer they need to open on the computer. A BIG problem I have recently run in to: the files only open properly when they are opened through the application they run on.
My question would then be, is it possible to create a script which mimics opening a file through an application? Similar to being in excel and clicking File -> Open... If this is possible, what would be the first steps in order to make it happen?