I tried to modify the Macro code, but I failed. If you have time, please add a method like app.close()