So I have minecraft windows 10 edition and am looking to have xJoy, a joy-con combiner, start when the game starts and close when the game closes. One way I tried was with two autohotkey scripts to start and close xJoy, but the close script doesn't activate after ticking run after main application. The start script works fine, as far as I can tell.