The idea is to close/kill Program 1 as Program 2 starts and then when Program 2 is closed, Program 1 is started again. Thinking this might be an easy task I've been trying to modify some scripts I found here but without at any success at all because I'm really new at AHK.