Hey guys, I created a script that will put the computer to sleep when I open it with voice commands. But because I don't want it to go to sleep by accident, I installed a "Are you sure?" dialog box.
Of course, I want to handle that dialog box with my voice as well, because the whole idea is putting my computer to sleep with my voice.
Problem is, I can't get the new dialog window active. I have to click the dialog window, before it accepts my "Yes" or "No". The rest all works fine.
How can I fix this?
Of course, I want to handle that dialog box with my voice as well, because the whole idea is putting my computer to sleep with my voice.
Problem is, I can't get the new dialog window active. I have to click the dialog window, before it accepts my "Yes" or "No". The rest all works fine.
How can I fix this?