I completely misunderstood what you were trying to do, lol.
Colludium:
Hehe, A for effort brudde
zenox98:
That worked. But I don't understand why my example doesn't?
Okay. To clarify, I'm trying to run an executable that changes OS resolution to something lower on game start, then switches back to the original resolution when the game quits, gets suspended, or goes into window mode. Does it have to be an 'on clicked' event maybe?