From: MikeB on
I looked and found this really old thread (thank Google) on editors
for VBScript.

Unfortunately the price for VBSEdit is now $60, so it's a little more
than I want to pay.

Then I found a reference to the Microsoft Script Editor (MSE7.exe),
which is still there in Office 2007.

I was hoping this would be sufficient, but has it been deprecated or
something?

I cannot seem to get intellisense working in it, even if I follow the
instructions in this old thread.
http://groups.google.com/group/microsoft.public.scripting.vbscript/browse_frm/thread/74ddee9d069d5e3e/4d0e51b618f18070?lnk=gst&q=editor#4d0e51b618f18070

Any more recent comments on a good editor to use? I think my pain
point is around $30, I'm afraid. Sorry if I'm a cheapskate.


From: Mayayana on
| I cannot seem to get intellisense working in it, even if I follow the
| instructions in this old thread.
|
http://groups.google.com/group/microsoft.public.scripting.vbscript/browse_frm/thread/74ddee9d069d5e3e/4d0e51b618f18070?lnk=gst&q=editor#4d0e51b618f18070
|
| Any more recent comments on a good editor to use? I think my pain
| point is around $30, I'm afraid. Sorry if I'm a cheapskate.
|

Your link comes up as an empty page for me, so
I don't know what it says.

Last I knew vbsEdit was free to use indefintely in
the demo version, but I don't know if that's still true.

WEB-ED Editor. (Disclaimer: This is my own software.)

WEB-ED provides "intellisense" for any object. There's a
built-in object browser. You can pick any registered
object and add intellisense for it. You can also edit
the auto-completion menu. In addition, WEB-ED has
customizable context help for methods and properties;
Basic per-line debugging. And variable colorcoding and
variable auto-case-correction. The last two features are
very handy for avoiding time-wasting typos. I don't know
of any other editor that provides variable color coding.
I think PrimalScript might provide it within subs, but I
haven't looked at that one for quite some time. And the
price of PrimalScript is beyond absurd. Last I saw I think
it was $300.

http://www.jsware.net/jsware/webed.php5

WEB-ED is $30. The trial version used to have a file
length limit, but I recently changed that. The trial version
now just has a splash screen and no support. If you
want to put up with that you can use it for free.

I think that MS Office and Visual Studio used to
accomodate VBScript with a little fiddling, but I'm
not sure about that. I have VS6, but it never seemed
worth the trouble to explore the options. It's quite
a behemoth to fire up just for scripting.

Other options: There are lots of free editors around.
Many have color coding (syntax highlighting) for
VBScript. That might be sufficient for your needs.
But very few have intellisense/auto-completion. What
you'll find is mainly solid, bare-bones editors. You can
recognize them because they typically claim to support
30-50 languages. They can provide that "support"
because all they really do is to provide rudimentary
color coding of keywords. But that in itself is a big
help compared to just using Notepad.



From: MikeB on
On May 3, 5:40 pm, "Mayayana" <mayay...(a)invalid.nospam> wrote:
> | I cannot seem to get intellisense working in it, even if I follow the
> | instructions in this old thread.
> |http://groups.google.com/group/microsoft.public.scripting.vbscript/br...
> |
> | Any more recent comments on a good editor to use? I think my pain
> | point is around $30, I'm afraid. Sorry if I'm a cheapskate.
> |
>
>   Your link comes up as an empty page for me, so
> I don't know what it says.

Try this link: http://groups.google.com/group/microsoft.public.scripting.vbscript/msg/dcf0859335ff005a?dmode=source

It says:

>> After installing the MS Script Editor, I noticed that the Intellisense
>> wasn't working on my .vbs files. In order to make Intellisense work, you
>> must do 2 things:
>>
>> 1. Rename a .vbs file to a .htm file.
>> 2. Add the following code:
>>
>> '<SCRIPT LANGUAGE=VBSCRIPT>
>> .
>> .
>> your script goes here
>> .
>> .
>> '</SCRIPT>




>
>    Last I knew vbsEdit was free to use indefintely in
> the demo version, but I don't know if that's still true.

Yes, it is true, but it has a little nag screen when pening and then
every time I run a script it has a delay that increases by 1 second.
So in no time at all, I have to wait 10-15 seconds+ just to run a
script. Since I make a lot of mistakes, it means I waste a lot of time
waiting for their nags to pass.

Usually when I like software, I tend to buy it, but this is the first
time that I'm actually getting annoyed to the point of not buying it,
regardless.


>
> WEB-ED Editor. (Disclaimer: This is my own software.)
>

Thnaks, this one didn't come up on Google, so I'll look into it.



> I think PrimalScript might provide it within subs, but I
> haven't looked at that one for quite some time. And the
> price of PrimalScript is beyond absurd. Last I saw I think
> it was $300.

PrimaScript is ridiculous in price.

>
> http://www.jsware.net/jsware/webed.php5
>
>   WEB-ED is $30. The trial version used to have a file
> length limit, but I recently changed that. The trial version
> now just has a splash screen and no support. If you
> want to put up with that you can use it for free.

As I said, I tend to pay for a tool if I use it on a consistent basis
and it is reasonably priced, so I'll definitely try out yours and see
how it works for me.


>
>   I think that MS Office and Visual Studio used to
> accomodate VBScript with a little fiddling, but I'm
> not sure about that. I have VS6, but it never seemed
> worth the trouble to explore the options. It's quite
> a behemoth to fire up just for scripting.

Well, I still have the MSE7 executable in Office 2007, and it starts
up pretty fast, so if it had intellisense, I might just use it.

>
>   Other options: There are lots of free editors around.
> Many have color coding (syntax highlighting) for
> VBScript. That might be sufficient for your needs.
> But very few have intellisense/auto-completion. What
> you'll find is mainly solid, bare-bones editors. You can
> recognize them because they typically claim to support
> 30-50 languages. They can provide that "support"
> because all they really do is to provide rudimentary
> color coding of keywords. But that in itself is a big
> help compared to just using Notepad.

I have a few editors (textpad, Notepad2, etc.) that colorcodes, but
I'm looking for th eintellisense part, since I find it very useful.



From: Mayayana on

>
> Your link comes up as an empty page for me, so
> I don't know what it says.

Try this link:
http://groups.google.com/group/microsoft.public.scripting.vbscript/msg/dcf0859335ff005a?dmode=source

OK. I got that one. I thought you were linking
to a whole discussion of editors. I've never used
MS Office, so I don't know anything about MSE.
From what I find it sounds like more trouble than
it's worth, but I did find this link, which might help:

http://stackoverflow.com/questions/533007/how-do-i-run-a-vbs-file-from-within-microsoft-script-editor

If you do get it working you'll need to watch out
for webpage issues. As I understand it, VBS works
in MSE by pretending to write an HTML file. But VBS
in HTML is not the same as VBS in a .vbs file. It's
intended for working with the IE document object
model. WScript is not available. You might run into
security restrictions. Any debugging will probably be
coming from the IE interpreter rather than WSH. Etc.



From: MikeB on
On May 4, 8:01 am, "Mayayana" <mayay...(a)invalid.nospam> wrote:
> > Your link comes up as an empty page for me, so
> > I don't know what it says.
>
> Try this link:http://groups.google.com/group/microsoft.public.scripting.vbscript/ms...
>
>    OK. I got that one. I thought you were linking
> to a whole discussion of editors. I've never used
> MS Office, so I don't know anything about MSE.
> From what I find it sounds like more trouble than
> it's worth, but I did find this link, which might help:
>
> http://stackoverflow.com/questions/533007/how-do-i-run-a-vbs-file-fro...
>
>   If you do get it working you'll need to watch out
> for webpage issues. As I understand it, VBS works
> in MSE by pretending to write an HTML file. But VBS
> in HTML is not the same as VBS in a .vbs file. It's
> intended for working with the IE document object
> model. WScript is not available. You might run into
> security restrictions. Any debugging will probably be
> coming from the IE interpreter rather than WSH. Etc.

Yo are probably right. Your Web-Ed seems to fit the bill. I'm just
trying to figure out how to make intellisense work.

It works for the built-in Wscript functions, but if I instantiate an
object, then it does not seem to work.

In default color mode. the object is red, but only after I press the
enter key to move on to another line. It does not recognize te object
at the point where I put the fullstop (.) to set the method call.

So on this line I would get intellisense

Wscript.E (for Echo)

But not if I do

Dim objIE, objIEDoc
Set objIE = WScript.CreateObject("InternetExplorer.Application")
objIE.Navigate("about:blank")

I don't get intellisense on the objIE object, whereas with vbsEdit I
do get it.

Still working on it, I think there may be something about this in the
Help. Just trying to decode it.