Windows Vista Forums

Good editor for VBScript?

  1. #1


    MikeB Guest

    Good editor for VBScript?

    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/micro...0e51b618f18070

    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.



      My System SpecsSystem Spec

  2. #2


    Mayayana Guest

    Re: Good editor for VBScript?

    | I cannot seem to get intellisense working in it, even if I follow the
    | instructions in this old thread.
    |
    http://groups.google.com/group/micro...0e51b618f18070
    |
    | 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.




      My System SpecsSystem Spec

  3. #3


    Special Access Guest

    Re: Good editor for VBScript?

    On Mon, 3 May 2010 11:10:03 -0700 (PDT), MikeB <mpbrede@newsgroup>
    wrote:

    >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/micro...0e51b618f18070
    >
    >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.
    >
    Notepad++ is good, and free
    http://notepad-plus.sourceforge.net/uk/site.htm

    vbedit will run indef with a nag. Each time you 'run' the script from
    the editor, you will add 1 second time to the delay. However, if you
    use vbedit as an editor and use the command prompt as the 'run', then
    there is no added delay.

    Mike

      My System SpecsSystem Spec

  4. #4


    MikeB Guest

    Re: Good editor for VBScript?

    On May 3, 5:40*pm, "Mayayana" <mayay...@newsgroup> 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/micro...ng.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/micro...a?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.




      My System SpecsSystem Spec

  5. #5


    Mayayana Guest

    Re: Good editor for VBScript?


    >
    > 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/micro...a?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/5...-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.




      My System SpecsSystem Spec

  6. #6


    MikeB Guest

    Re: Good editor for VBScript?

    On May 4, 8:01*am, "Mayayana" <mayay...@newsgroup> 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/micro...ng.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/5...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.


      My System SpecsSystem Spec

  7. #7


    MikeB Guest

    Re: Good editor for VBScript?

    On May 4, 1:31*pm, MikeB <mpbr...@newsgroup> wrote:

    > Still working on it, I think there may be something about this in the
    > Help. Just trying to decode it.
    Hmmm... just tried something and the app just failed (on Vista). I
    hate Vista, but I don't have the time/energy to migrate this laptop to
    Win 7.


      My System SpecsSystem Spec

  8. #8


    Special Access Guest

    Re: Good editor for VBScript?

    On Mon, 3 May 2010 20:37:24 -0700 (PDT), MikeB <mpbrede@newsgroup>
    wrote:

    <snip>


    >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.
    >
    That is why I installed the debugger from Office, and use VBSEdit for
    it's intellisense. I don't run the script from vbsedit, I run it from
    a command prompt... The JIT debugger from Office works great.

    Mike

      My System SpecsSystem Spec

  9. #9


    Mayayana Guest

    Re: Good editor for VBScript?

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

    >
    It doesn't work the same way as with vbsEdit.
    You open the Auto-Insert settings and enter either
    a progID or CLSID. Then assign one or more variables
    to the object. It's not as convenient as the approach
    where it automatically works when you use CreateObject
    (like vbsEdit) but it's more flexible. You can also get
    intellisense for non-created objects.

    It's all there in the help. WEB-ED is designed to be
    customizable, so you really need to look at the various
    settings (auto-insert settings, object browser, snippet
    library, and general settings).



      My System SpecsSystem Spec

  10. #10


    MikeB Guest

    Re: Good editor for VBScript?

    On May 4, 9:53*pm, "Mayayana" <mayay...@newsgroup> wrote:

    > * It's all there in the help. WEB-ED is designed to be
    > customizable, so you really need to look at the various
    > settings (auto-insert settings, object browser, snippet
    > library, and general settings).
    I guess you are right. I've spent some time (more time than I usually
    would) looking at and reading the help, but I guess I'm in over my
    head, since a lot of the terminology doesn't make sense to me.

    Thanks anyway.

      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
Good editor for VBScript?

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ann] vbScript Editor with Intellisense mr_unreliable VB Script 0 01 Feb 2010
Know of a good Hex Editor for x64 Vista? Butler Software 3 07 Jul 2009
How do I change to Outlook editor, and not the Winword editor in Vista pmaston Vista mail 2 24 Apr 2008
Vista 64-"Sandbox 2 editor has Stopped working"- when importing files to editor. iDash Gaming 1 20 Feb 2008
Some good comparisons with VBScript? Marco Shaw PowerShell 2 12 Feb 2007