How do I add a picture to a button I'm too inexperienced
Posted: 04 Apr 2020, 03:01
I made a program to turn off my computer when I'm across the room with a remote but I would accidentally press it too often so I'm trying to add a button that I can press to cancel the action. I figured out how to do all of this but now I want to make the button a black picture because the default color of the button is really bright and I'm usually turning off my pc with the remote because I'm falling asleep. I tried to figure it out but it seems very complicated to use a picture for the button.
Code: Select all
Gui, Add, Button, x0 y0 w2560 h1440 gCancel Gui, +AlwaysOnTop -Caption +Border Gui, Color, Black AppsKey:: Gui, Show, x0 y0 w2558 h1440, The Gui sleep 10000 Shutdown, 8 return, Cancel: Reload