Page 1 of 1

What is the easiest way to make a button?

Posted: 18 May 2018 14:27
by uglyninja
What is the easiest way to make a button?

I stumbled across many ways to make a button in .bat files, but I'm not professional so i don't understand many of them.
So, is there a very easy way to make a button?
I want to make a button in the center of the screen with the text "Click Me".
If batbox.exe is the only easy way, can someone tell me the code to make that button and how do i know if the user clicked it?

Thanks for all help.

- uglyninja

Re: What is the easiest way to make a button?

Posted: 18 May 2018 16:46
by Squashman
Pretty sure you can't do any of that with a pure batch file. Might be able to do a hybrid with jscript or vbscript.

Re: What is the easiest way to make a button?

Posted: 18 May 2018 18:16
by Aacini
... or with HTA, like in this topic...

Antonio

Re: What is the easiest way to make a button?

Posted: 19 May 2018 13:53
by penpen
If using executables is an optin, then misol101 has done some remarkable progress on this:
viewtopic.php?f=3&t=8484

penpen

Re: What is the easiest way to make a button?

Posted: 21 May 2018 04:05
by JMan
There is now way to do that in Command Prompt.

Maybe you can try python scripting.
just use tkinter.

python: https://www.python.org/

more info about tkinter: https://wiki.python.org/moin/TkInter