An official Batch Programming blog! To Solve the daily problems with windows and fixing them with little notepad scripts. Unlock the Hidden Secrets of Windows, Learn to crack Software via CMD & Make your own Programming tools. Understand to Manipulate your PC via CMD.

Input Function v.1.0 | By Kvc

INPUT FUNCTION V.1.0: Hey hello guys, #TheBATeam is again back with an awesome batch plugin or Function.

As we all know, that almost from the last decade we (batch programmers) are using the same plugins or similar plugins to get user interaction with our created programs.


Input.exe plugin (mouse) | By Kvc

As we all came across some of the famous plugins such as Batbox.exe, Fn.dll, Bg.exe, colous.exe, etc. in batch programming.

And if you’ve created some of your awesome batch projects using these plugins, then you are not different from #TheBATeam. We’ve also created some amazing batch programs using these awesome and reliable plugins. 


Meanwhile in Requested Batch Scripts Section

Also, we’ve got a request from KKZiomek, another awesome batch programmer, but we have not got the pleasure of including any of his good batch projects in our blog yet.

But we’ll try to do so. He has asked us for a Batch plugin, which can detect mouse hovering effect in batch programs, we were already working on Input.exe Plugin.

And after reading his request, it seems to us as one post can accomplish both tasks. So, we’ve included his request in this post also.


Input.exe plugin (Keyboard) | By Kvc

Back to our previous talk. As now, if we will not update ourselves, we’ll always be the same as from the last 10 years. To take batch programming to a new level, we need to update our tools, which we are using to create awesome programs.

That’s why, #TheBATeam has created an awesome and reliable, plugin using CPP programming language, which can only do one task, i.e. To Detect the User input Type, and which Input he/she has given. 

As from the above two images, you’ve got a little idea about the working of this batch plugin. We needed to create this plugin in order to make things easier in batch programming.

Also Read:  Keylogger Ver.3.0 - KEYLOGGER IN BATCH | By Kvc

As all the available plugins make our scope limited for getting user input. In other words, We can Either Take mouse input or Keyboard input.

 As you’ve seen some of my older batch projects uploaded on this blog, they are either totally mouse-based programs, or totally keyboard-based. So, This is a kind of limitation in batch programming. That we definitely need to fix.


Input.exe plugin (with parameters) | By Kvc

INPUT FUNCTION V.1.0

So, In the ERA of #TheBATeam, we are presenting this awesome Batch Plugin, which will make the life of all batch programmers easy, as now no need of doing Multi-threading in order to get both keyboard and mouse inputs simultaneously.

You only need to call this Function once via your batch program, similarly as you are calling other plugins to get user input. The plugin will take care of multi-threading itself.


Input.exe plugin (with parameters) | Mouse Hovering

You can also get the mouse hovering details via using this function in a loop. Below Within the Download link, we’ve provided an example file which will show you simply how to use it for showing hovering effect in the batch programs.

As now you almost know everything about this Awesome Batch plugin, but you still don’t know about its full usage. So, Now we gonna talk about using this awesome plugin with the help of its HELP menu.


Help Menu | Input plugin By Kvc

As most of the details are given in the image above, and we can’t explain things more than that. You’ll also get an ‘Example.bat‘ file as always with our downloads where you can test this plugin out. Here, We wanna explain a thing that is not given in the help menu.

Also Read:  Locker ver.1.0 | By Anonymous

i.e. The Output


Explorer view | Input.exe

The Output 

Basically, we’ve considered that only two types of inputs are possible in windows, i.e. Keyboard or mouse. (Our assumption for making this plugin work) .

Although there can be many other types of inputs, which can be given to windows. But we kept our focus only on these basic and standard inputs so that our batch program can easily interact with the user.

Above, You’ve seen two types of output that Input.exe plugin can return, corresponding to two types of inputs that a user can give. i.e. Keyboard and mouse. Let’s talk about both of them separately.

The Keyboard input

When the user presses any key via keyboard, e.g. ‘K’. Then the plugin will return the following kind of output.

k:K:75

Here, First ‘k‘ represents that the user has given input via Keyboard. And Second ‘K’ represents the key pressed on the keyboard. The last parameter will tell you the ASCII Code for the key pressed.

As in some of the previous plugins, (like Batbox) returns the ASCII Code instead of character. So, this plugin contains both properties, you can use anyone, either key directly or its ASCII Code in your program.

The Mouse input

When the user presses any key via mouse, e.g. ‘Left Click’. Then the plugin will return the following kind of output.

m:1:75:6

Here, First ‘m‘ represents that the user has given input via Mouse. And Second ‘1’ represents the key pressed on the Mouse. The last parameter will tell you the X: Y Co-ordinates of the mouse clicking location.

That’s All from our side. We hope we’ve explained everything in order to make it easy to use this plugin. If you still have any doubts about using it, You can simply watch the video Embedded below.

Also Read:  VideoStealer v.1.0 | by Kvc

You can clarify your doubts by posting a comment below. We’ll try to reply to you as soon as possible.

But we can’t log on to the internet daily due to our real life. which is much more different than this virtual life.

There We are separated persons, and I’m working in a firm as a trainee Engg. My team-mate Brother, on the other hand, is a great graphics designer.

So, Life is not so much easy as it was in our childhood. Please Do comment.,We’ll appreciate it. 

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

TheBATeam

DOWNLOAD LINK:


Must Read: Mouse Hovering in CMD | Fight for efficiency | Advance Batch

Next Post

Previous Post

Leave a Reply

© 2020 TheBATeam

Theme by Anders Norén