In Windows, it may be easy to learn computer operations, but many computers work repeatedly. For example, you may need to copy, paste, rename, and delete some computer files every week, maybe the first thing you do to start a computer every day is to open Word, switch to your favorite Input Method for text editing, and play beautiful music to create a comfortable environment for your work, of course, you may also need to sort out some data in the text, arrange all kinds of data according to certain rules ....... These things are repetitive and trivial, making people easy to get tired.
Third-party software may be able to enhance certain computer functions, but it is often more than half the effort to solve these repetitive tasks. I have also tried to write programs in computer languages to solve these problems, however, the following commands, syntaxes, algorithms, system frameworks, and class libraries often make me feel that this is necessary or not. Is it because pig Mao is difficult to pull out, so I will learn more about it, design a Pig Hair Removal Machine for yourself (?) ?
Vbs is a Windows Script. Its full name is Microsoft Visual BASIC script Editon. (Microsoft Visual BASIC script version), vbs is an abstract subset of Visual Basic and is built in the system. The script code written with it cannot be compiled into binary files, it is executed directly by the Windows System (it is actually an interpreter of the source code of the host and executed), which is efficient and easy to learn. However, most of the tasks that can be done in advanced languages are basically available, it can automate various tasks, free you from repetitive and trivial work, and greatly improve work efficiency.
I personally think that vbs scripts are actually a computer programming language. However, due to the lack of some elements in the computer programming language, the ability to describe events is weak. Therefore, they are called scripts, it provides simple support for COM objects. So what is a COM object?
In this way, COM objects are program modules with specific function functions. They generally use OCX or dll as the extension. You only need to find the module files that contain the functions you need, and standard references in the script can implement specific functions. That is to say, the vbs script calls a ready-made "control" as an object and uses the attributes and methods of the object to achieve the purpose, it eliminates the trouble of coding, designing algorithms, and so on. To put it bluntly, I don't think it's troublesome to pull pig hair? I found that xx machine (such as a vacuum centrifuge) has a function to achieve hair removal. OK, I will take it to pigs for hair removal. What? Is it easy to use? A waste of resources? Oh, my God, it's a computer chip thing. It's easy and quick for me to solve the problem.
The most convenient thing is that it does not even require a special development environment. In your computer, you can write vbs scripts as long as you have notepad, And you can execute them directly.