Sorry for posting but i wasn't able to find it on the forum. I made a little program which automates some functions on my pc. I've set 3 hotkeys. f1 starts the script, f2 pauses/unpauses it, f3 closes it. When i use hotkeys, all fine.The script goes, starts, pauses and exit normally. I set up some buttons on the gui too to make the thing more comfortable. At first i named the buttons handles like the function that they activates and there i got the first problem, so i had to change the bu