Re: jscript development tool
From: Michael Harris \(MVP\) ("Michael)
Date: 02/21/05
- Next message: Dave Anderson: "Re: what user launched my script?"
- Previous message: Roland Hall: "Re: Checked checkboxes"
- In reply to: Yunfeng: "jscript development tool"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Feb 2005 10:12:17 -0800
> I know microsoft provide a free jscript debugger tool-windows script
> debugger.But I thinks it is not good enough, and microsoft didn't
> update it anymore since version 1.0.
>
> Can someone advise any better jscript development tools?
Do you have any Office 2000 or Office XP apps?
To install the optional Microsoft Script Editor
--> Add/Remove programs, <your Office 2000/XP app>
--> change, add or remove features
then look under Office Tools -> HTML Source Editing -> Web Scripting.
With the Office XP version of MSE (MSE7.EXE), syntax coloring and
IntelliSense both work great right out of the box. It already knows about
js/vbs/wsf script extensions (I had to add the wsc extension manually).
You can also pass a file name via the command line when you start MSE7.EXE
and it will open the script in the editor (the mse.exe Office 2000 version
wouldn't accept a file name via the command line).
You can't start the debugger for WSH hosted script files via the Debug /
Start menu. But there is a 'View/Open With...' menu option. The Open With
dialog already had wscript.exe as an option.
You can add more 'View/Open With...' choices for:
wscript.exe //d --> which I named wscript (debug enabled)
wscript.exe //x --> which I named wscript (start in debugger)
and cscript.exe versions as well. The dialog complains (only a bit,
probably because of the switches) but lets you add them anyway.
What's really nice is that when you use these, you get a choice of debugging
in the current instance of MSE (where you're editing) or a new instance of
MSE or in any other available script debugger you may also have installed,
such as the various versions of VStudio.
-- Michael Harris Microsoft MVP Scripting http://maps.google.com/maps?q=Sammamish%20WA%20US
- Next message: Dave Anderson: "Re: what user launched my script?"
- Previous message: Roland Hall: "Re: Checked checkboxes"
- In reply to: Yunfeng: "jscript development tool"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|