Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

New Scripter

Jul 20, 2007 3:24PM PDT

Well letme introduce my self, hi im Greg and im 16, anyway i just decided to learn scripting for a Private server i help run for a game. So i was reading some basics etc etc and i have a few questions that the guides dont answer at all really. I run on Windows XP Home edition. Also the first script thing i was able to do was open up notepad type:

Wscript.echo "blah blah blah"

then save as with a ".vbs" extension on it and double click it on my desktop to reveal my stupid message in a Windows box.

So please answer my question by telling me how to do it this way unless u wanna explain it in a new way.

Im wondering: (im sure an awesome guide is out there link me if u have one as i feel pretty dumb asking these questions...)

1)How does some one know what to put? the Guides i saw only told me how to do a small message thing as i said up there and dont explain what to type in where and when depending on what u want to do

2)Why are there sometimes random "spaces" before lettering such as this:

~no space~
~<-- random spaces!!~

(Hope you understand what i mean with that)

3)Am i rushing into to fast into this without knowing something else first?

4)How do u make a script that will bring up a question and show different options to choose from in a box that shows up like my very first script

Well i hope i don't sound completely stupid here.

Ill wait for you masters of script to answer me or whatever thank you ahead of time.

Discussion is locked

- Collapse -
What do you want the scripts you write to do?
Jul 20, 2007 6:33PM PDT

That's the important question here. Maybe vbs isn't the best tool to use for that and a .bat file is better. For some purposes it is.

Anyway you'll find full documentation for Windows scripting in
http://www.microsoft.com/downloads/details.aspx?FamilyID=01592c48-207d-4be1-8a76-1c4099d7bbb9&DisplayLang=en
That page contains useful other links like
http://www.microsoft.com/downloads/details.aspx?familyid=9C80B0DF-B9B4-4FCB-B513-02F8F40049E8&displaylang=en
(quick vbscript reference)
http://www.microsoft.com/downloads/details.aspx?familyid=5F5E0BDA-923A-4744-8289-AFB73F6A5ED8&displaylang=en (tutorials)

You know, this is real programming. And it's a real profession to be a programmer. I happen to know a lot of people earning their money by programming.

Hope this helps.


Kees

- Collapse -
re: What do you want the scripts to do?
Jul 21, 2007 4:46AM PDT

Thank you for the links but it seems there all broken.

I get threw the Validation process that Microsoft makes u do and then the page after that it starts loading...Stops....refresh...loading...stops...refresh...load...stops...refresh

Mind you im not hitting load stop or refresh did i fail the validation?

(this happens for all those links)

please send your help again.

-thanks

- Collapse -
They work with me.
Jul 21, 2007 5:36AM PDT

I pressed continue, downloaded the (latest?) validation component, pressed download, came on the download page and I could download script56.chm without any trouble.

Try on another PC maybe?

Kees

- Collapse -
uhh
Jul 21, 2007 11:34AM PDT

ahh, i dont have another Computer :/ can u send to me over MSN or something? or link me to some online "scripting for beginner" type articals? that would work fine if all else fails

-thanks

- Collapse -
Search only. Pick your choice.
Jul 22, 2007 4:01AM PDT
- Collapse -
wow
Jul 22, 2007 3:01PM PDT

tha helped alot thank you for your time Grin