Re: Determining if file is being executed by IE or mshta.exe (hta issue)

From: Michael Harris \(MVP\) ("Michael)
Date: 05/01/04


Date: Sat, 1 May 2004 11:50:01 -0700


> That was precisely what I needed, and as simple as I'd hoped. Thank
> you very much!

You are very welcome ;-)...

>
> So often I've observed that your posts are on the money. What
> resources would you recommend for anyone wanting to get on top of his
> game with scripting -- including all the administrative uses to which
> we put it in our ADSI, WMI, ADO (etc.) worlds? Do you have a
> definitive list of top sites, books, and so forth?
>

I don't have a list of books I could post, but I have a little library of
about 30-40 titles that I've read over the last 5-6 years. Most are titles
from Wrox Press (published in their better days). I don't really use any
for reference anymore - I bought/read them to grasp concepts, not to
memorize syntax...

Two that do a really good job of painting the 'big picture' are the VBScript
Programmer's Reference (Wrox) and the Microsoft® Windows®2000 Scripting
Guide
http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp

My most visited site...

MSDN Library
http://msdn.microsoft.com/library/

My most used local resources...

WSH 5.6 documentation download
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en

TechNet Script Center Sample Scripts
Download in HTML Help format (searchable)
http://www.microsoft.com/downloads/release.asp?ReleaseID=38942

> And hey -- what's your favorite script editor/debugger?
> [if he says "powered by notepad" I shall despair and retire from all
> matters technical ;-]

I use EditPlus for the one-off 'quick-and-dirty' (personal) stuff, and
PrimlaScript for the important stuff (anything needing production
quality)...

Here's a list of the script editors I've used (or at least tried out) at one
time or another...

ConTEXT http://www.fixedsys.com/context freeware
CREdit http://www.praven3.com/credit/ freeware
EditPad http://www.editpadpro.net freeware/shareware
EditPlus http://www.editplus.com shareware
NoteTab http://www.notetab.com freeware/shareware
Notepad2 http://www.flos-freeware.ch/notepad2.html freeware
PrimalScript http://www.sapien.com/primalscript.htm commercial
PSPad www.pspad.com freeware
TextPad is http://www.textpad.com shareware
UltraEdit http://www.ultraedit.com shareware

VbsEdit/JsEdit http://www.adersoft.com shareware
WEB-ED http://www.jsware.net shareware

As for debuggers, I use the Microsoft Script Editor's debugger. MSE comes
as an optional component install with Office applications. I also have both
VS6 and VS.Net installed, but don't use them for writing/debugging script.

-- 
Michael Harris
Microsoft.MVP.Scripting
Sammamish WA US


Relevant Pages

  • Re: Determining if file is being executed by IE or mshta.exe (hta issue)
    ... TechNet Script Center Sample Scripts ... ConTEXT http://www.fixedsys.com/context freeware ... TextPad is http://www.textpad.com shareware ... as an optional component install with Office applications. ...
    (microsoft.public.scripting.vbscript)
  • Re: vbs sample
    ... Here's the list of script editors I have tried over time. ... ConTEXT http://www.fixedsys.com/context freeware ... TextPad is http://www.textpad.com shareware ... You can't start the debugger for WSH hosted script files via the Debug / ...
    (microsoft.public.scripting.vbscript)
  • RE: Encrypting PERL source code...
    ... > Can anyone suggest where I might be able to find (hopefully a freeware ... > or shareware script..) ... appropriate copyright notice on your program and you should be set. ...
    (perl.beginners)
  • Re: Has your cd collection surpassed your album collection?
    ... Cool Edit 2000 is the only one that I've used to remove pops. ... Some shareware that I've used for years, and gotten addicted to, ... site you can download a great freeware program called Exact Audio ... Copy, with which you can digitally read CDs into .wav files, instead ...
    (rec.music.movies)
  • Games database holes
    ... I've just been looking at the games database full list and there are ... still some bits of missing data that I'm hoping someone can help me ... is it freeware or shareware? ...
    (comp.sys.psion.misc)

Loading