I learn it from websites you'll learn it from me =D
So lets get started ...
What is vbs?
VBScript is a Microsoft scripting language. -_- so being Microsoft they go and make it so it only works on IE. But as well as being a web script it is used for all kinds of things ...
for example on pic 2) (that's the second pic) That is take from the System 32 folder. Vbs can also be used to make programs .. but that's VB.NET .. uses most of the same coding though.
Please enjoy the tutorial .. and please comment and rate.
And please tell me if someone has beet me to making a vbs tutorial .. but i couldn't find one.
Other than cammel8 who seems to be really good with vbs scripting =P .. but i'm still gonna make the tutorial.
Step 1: Basics of vbs
You save the files as: something.vbs
It's not like a batch file it doesn't have a screen telling you information.
to make a var you use dim
e.g .. dim iRule
now you would have a variable call iRule
now you can start to add things to you vars .. like:
this would make a message box pop up saying hello. (pic 1)
Along with that you can add different buttons to the message box ..
here is all about message boxes: HERE
so many tutorials on them that i won't even bother to go into them.
Also with vars you can dim vars in an array:
but that would turn out like this: (because 0 is included)
Using vars in the script..
You can use vars easily ..
you could have: (pic 2)
instructables=msgbox("hello " & iRule)
Because of the & it says 'hello instructables' becuse the value of iRule is instructables.
You can also have subs:
A sub is a procedure that does NOT give a return value.
The arg 1,2,3 are the Arguments.
That about all of the basics .. enjoy them .. or keep reading for not so basics..