Batch Archive [Version 2.1.0001]
Copyright (c) 2017 TheBATeam. All Rights Reserved

C:\Users\TheBATeam>

How to Create `Advance Clickable Buttons` on CMD with Mouse Hover Enabled | Button Function 2.0 By Gls

January 26, 2018
How to Create `Advance Clickable Buttons` on CMD with Mouse Hover Enabled | Button Function 2.0 By Gls
Create Advance Clickable Buttons on CMD + Mouse Hover Enabled:
Today, In this article - I'm gonna share with you my New creation in the field of Batch Programming. This will definitely help you in making your batch programs much more simpler and Advanced. In the previous project, Speecher - A Pro Text-to-Speech Engine in Batch | By PaperTronics - When PaperTronics and I were talking on the Email about few problems related to the working of the project. I Personally analyzed few things from his genuine questions related to the usage and syntax of the Button function 1.0.


I Noticed that, The Implementation is quite smart in Button function 1.0 - But, The usage for the End User (i.e. Main Programmer) is quite difficult. Although, this method provides a lot of flexibility to them. But, in a way - this one doesn't seems to be efficient way of achieving the goal of displaying Button. because, User (i.e. Main Programmer) need to first generate the code for the button and then has to fit it into the console using another line of code (by calling Batbox plugin). 

The main Problem arises, when They have to write the code to check for the button click. Because, It makes is Very Difficult for the programmers to calculate the length of the button and then, Write according to that. More the buttons on the console, more will be the mess in the main code. So, To reduce this mess. And, Taking the Batch programming to a new level. I started working on the Button function version 2.0, And Just because - We Also have The Ultimate - GetInput Plugin By Aacini. I Decided to also enhance the output by enabling the Mouse Hover. So, Lets Talk more about this new Button Function Version 2.0 By Gls.

Advance Clickable Button on CMD with Mouse Hover

I've divided this article in basic three Sections - Based on the Questions that you would probably ask before even looking at the Function itself. So, I changed the layout of article a bit towards towards more professional.

What is button function?

Button function is a Portable Batch plugin / Function that you can use in your batch programs to make a mouse clickable button like layout on the CUI CMD Console. It is Created by Kvc. It will help you in creating complex colored buttons in just a single line of code on CMD. It’ll definitely Help in making Your Batch Programs much more Beautiful and Advance. And, makes your life much easier.

How to Create `Advance Clickable Buttons` on CMD with Mouse Hover Enabled | Button Function 2.0 By Gls
A Sample Output on CMD



What’s New in ver.2.0?

As you already know about the Button function v.1.0 and its features. While, In this version – we’ve eliminated the limitations of the previous version.
  • Mouse Hover Detection
  • Specify all the required buttons in a single line.
  • Easy Usage than previous version.
  • Sexy & More Interactive Output in less lines of Code.
  • Removed Unnecessary Parameters (2nd Last Parameters, i.e. Shadow…)
  • Reduced the Efforts of main Batch Programmer by reducing Main Code. 😱
Related Post:


All this is possible due to the astonishing GetInput Plugin by Aacini. In the v.2.0 - We’ve updated the usage of Batbox in Button function and now, It uses GetInput mainly. But, this doesn’t mean Batbox is completely eliminated. For the Lightning fast output on console – we still need Batbox – An Awesome Batch plugin by DarkBatcher. 😎

How to use it?

The Usage of this version 2.0 of Button Function is quite similar to the version 1.0. But, Not exactly Same. As you have read above, we’ve removed the unnecessary parameters from the syntax. So, we are afraid that you can’t directly replace button function v.1.0 with 2.0 in you projects – unless you do a little change in them. But, You don’t need to change them completely – so Don’t afraid. 😇
Let’s talk about the usage of this Button function v.2.0 in your batch programs. The following Screenshot will clear 90% of your doubts. And rest 10% are on me. 

How to Create `Advance Clickable Buttons` on CMD with Mouse Hover Enabled | Button Function 2.0 By Gls
Help Menu
So, Technically… Button function 2.0 don’t directly uses GetInput, But this time it Generates a code for the getinput plugin , instead of Batbox. So, You need to have both in the path too.

If you are still in doubt about using it or something else. Watch the video embedded below. It will clarify it. Otherwise you are most welcome to ask them in the comments. You can also motivate us through your comments. We’ll be happy to see them. Thanks for your time.


In the End, I really thank to PaperTronics for asking me such questions - which lead me to think in this way. And, Result into making an upgrade to the Button Function for making Batch Programs more sexy and Beautiful - But, with less efforts. Our Goal of making Batch Programming an Easy and Powerful programming language is under progress.

Keep Learning, Keep Sharing...
Be Happy, Spread Happiness...

#TheHacker

No comments:

Powered by Blogger.