Batch Archive [Version 2.1.0001]
Copyright (c) 2018 TheHacker. All Rights Reserved

C:\Users\TheHacker>

Read Mode
Default

Box function v.3.0 by Gls

20:14
Box Function v.3.0 by Gls
Box Function v.3.0 by Gls
As you know that The box function v.1.0 and 2.0 were very much efficient and effective in making the batch programs more advanced and GUI kinda thing, but the problems of Box function ver.1.0 were solved by creating version 2.0, which was more efficient and faster than ver.1.0. As we already know that the version 2.0 uses fn.dll file for printing the box layout on the console. The function’s main idea is to print a box on console by using any method. So, calling the plugin file fn.dll repeatedly makes it enemy of CPU usage, thus as it seems it was not that much efficient. While batbox.exe is a plugin that has property of performing multiple commands in just a single go, without using CPU resources much.

Hence, we used this property of batbox.exe in our version 3.0 of the Box function. Where, the version 1.0 uses 260 ms to perform an action, and ver. 2.0 uses 190 ms to perform the same action. Here’s the main advantage of the Box function ver.3.0 as it uses only 80 ms to perform the same action. Also the code length (Size of function) got reduces due to more systematic approach towards the goal.

Box Function v.3.0 by Gls
A Preview
The above image will show you demonstration of printing a simple Box on the console using Box function ver.3.0 by Gls. These are the minimum number of arguments that you have to provide, in order to print a proper box on the console. If you want to add of change properties of the Box to be printed on the console, then you need to provide some more parameters while calling the Box function from your batch file. So, lets see the help menu of this function as, it is the main thing which can provide true information about using this function.


Box Function v.3.0 by Gls
Help Menu
As you can see that, extra unnecessary options are removed in version 3.0 (dialogue box option) because you can make any box dialogue box by simply providing right color codes while calling this function. All rest options remain same, in order to keep things simpler for the users of version 1.0 and 2.0 of this Box function by Gls. Also this function is approx. 70% faster than the previous version. Which is a huge success for #TheHacker.

Box Function v.3.0 by Gls
Usage Example
The example for using this function in your batch files is shown in the above picture. You just have to write a line similar to above line in your batch file, and don’t forget to write ‘Call’ before the Box, otherwise your program may show some unwanted crashes. You can print dialogue boxes on console as shown in the image below.

Box Function v.3.0 by Gls
Dialogue Box
At-last, we only have to say this much that, if you really like our work in the field of batch programming, feel free to leave your precious reviews / feedback below in the comment field. Till then, as we always say…

Keep learning, keep sharing…
Be happy, spread happiness…



#TheHacker

No comments:

Powered by Blogger.