Good suggestion, I'll go over there...
> Michael,
> Thank you for all the info. As it turns out, I have the MSDN version
> of Visual Interdev here at work. Man, what a bear to figure out. All
> I want to do is install the IDE. Anyway, I seem to have it installed
> but the only way to run it is to "start a project". Doesn't seem to
be
> any way to just open a file, work on it, run it, and debug it. Know
> any good places to get help with the Interdev environment?
> Jim
> > As for good script editors...
> > EditPlus www.editplus.com is popular and $30
> > UltraEdit www.ultraedit.com is also popular and $30
> > EditPad www.jgsoft.com/editpad.shtm is "almost free" according to
the
> author
> > NoteTab www.notetab.com is also good. Light version is free and Pro
> version is $10
> > PrimalScript www.sapien.com/primalscript.htm is high-end and $99
> > There are others but these are all ones I've used personally at one
> time or another (I use EditPlus
> > at the moment)...
> > --
> > Michael Harris
> > MVP Scripting
> > OOps, my mistake. I had associated the line with .VBE by mistake.
It
> > works fine now. Thanks for the help.
> > Do you know of a decent editor for script files? I don't really
want
> > to invest in Visual Studio just for these. But I thought there
might
> > be a low cost or shareware editor out there.
> > Jim
> > > I just added a "Start in debug" context menu command for .wsf
files
> > with a command line of
> > > C:\WINNT\System32\WScript.exe_//x "%1" %* (where the _ is
actually
> a
> > space)
> > > and it works fine.
> > > You may need to include
> > > <?job error="true" debug="true" ?>
> > > The _//d switch just allows the stop statement (de{*filter*} in
jscript)
> > to work.
> > > --
> > > Michael Harris
> > > MVP Scripting
> > > Good info, thanks...
> > > Now, I've got it working from a command prompt. But is there any
> way
> > > to get the de{*filter*} to work via file association? I've
> > > tried "C:\WINNT\System32\WScript.exe "%1" %* file://d"
> > and "C:\WINNT\System32
> > > \WScript.exe file://d "%1" %*" to no avail.
> > > Jim
> > > > To enable debugging in general for WSH hosted scripts (and also
> > > WSCs), set the registry key
> > > > HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings
> > > > named value JITDebug = 1 (DWORD)
> > > > You may need to add both the Settings key and the JITDebug if
they
> > > aren't there already.
> > > > Note that the
> > > > ...\Windows Script Host\...
> > > > ...\Windows Scripting Host\...
> > > > are obsolete (used by WSH 1.0 and the 2.0 betas).
> > > > Once the JITDebug value is set to 1 (note: the _ is a space to
> avoid
> > > wscript file://x)
> > > > To start in the de{*filter*}:
> > > > wscript.exe_//x myscript.wsf
> > > > To enable the stop statement (de{*filter*} in jscript):
> > > > wscript.exe_//d myscript.wsf
> > > > If you use strict xml syntax you need the <?job...?> processing
> > > instruction (PI).
> > > > <?xml version="1.0"?>
> > > > <job>
> > > > <?job error="yes" debug="yes"?>
> > > > <script language="vbscript">
> > > > <![CDATA[
> > > > stop
> > > > msgbox "hello"
> > > > ]]>
> > > > </script>
> > > > </job>
> > > > If not strict xml, then the <?job...?> PI isn't required but
still
> > > works.
> > > > <job>
> > > > <script language="vbscript">
> > > > stop
> > > > msgbox "hello"
> > > > </script>
> > > > </job>
> > > > --
> > > > Michael Harris
> > > > MVP Scripting
> > > > Does anyone know how to start the Microsoft Script De{*filter*} on a
> WSF
> > > file?
> > > > Thanks,
> > > > Chris Wood
> > > --
> > > Jim
> > > Please CC: by email
> > > Sent via Deja.com http://www.*-*-*.com/
> > > Before you buy.
> > --
> > Jim
> > Please CC: by email
> > Sent via Deja.com http://www.*-*-*.com/
> > Before you buy.
> --
> Jim
> Please CC: by email
> Sent via Deja.com http://www.*-*-*.com/
> Before you buy.