9. VbScript | Len, Left, Right Functions

Remember to try the codes yourself for practice. So today I will be talking about the Len, Left, and Right functions that can be used to manipulate string data. Len(string)=# ↑ Counts the number of characters in your string. Left(string, #)= reads left to right ↑ Cuts off from the left after reading # of […]

Read More

8. VbScript | SendKeys

Remember to try the codes shown down below for practice & for understanding the material. Ask questions in the comments below, if needed. Today we are going to talk about Sendkeys. Sendkeys sends keyboard key input, just without the physical keyboard. Format: createobject(“wscript.shell”).sendkeys”” Sendkeys is very similar to the run command; both use the same […]

Read More

7. VbScript | Do Loop

Try running the codes yourself for practice. The ‘Do Loop’ Today we are going to talk about Do Loops in VbScript; which loops or repeats something until a condition is satisfied. For example: Do msgbox “hello” Loop Output: Here the message box will continue to run a Message Box after you close the Message Box. […]

Read More

6. VbScript | Input Box

In this tutorial, we will be talking about the Input Box in vbscript. The Input Box is a valuable function because it allows the user to give more feedback back to the VbScript than the Message Box. Specifically, you can enter characters for the Input Box, but you can only click on a button for […]

Read More

5. VbScript | Run Command

Today we are going to talk about the run command. This command allows you to open applications outside of Vb Script. CreateObject(“wscript.shell”).run “mspaint.exe” Output: When you run the Vbscript, the Microsoft Paint application is opened. To open a website: CreateObject(“wscript.shell”).run “www.google.com” Or: set a=CreateObject(“wscript.shell”) a.run “www.google.com” Output: The internet browser is opened to the website […]

Read More