|
Posted by scripts.contact on 06/14/07 06:30
On Jun 12, 6:41 pm, Kevin Darling <kdarl...@basit.com> wrote:
> On Jun 8, 3:38 pm, "scripts.contact" <scripts.cont...@gmail.com>
> wrote:
>
> > On Jun 8, 12:13 pm, Kevin Darling <kdarl...@basit.com> wrote:
>
> > > In any case, yes, on a PC you can use a .hta file (HTML with a .hta
> > > extension) and the WScript object.
>
> > The WScript object is only available to WSH scripts not HTA.
>
> You're incorrect. You can instantiate it. Save the following as
> an .hta file and start it with IE:
....
> var oShell = new ActiveXObject("WScript.Shell");
....
WScript != WScript.Shell
WScript > http://www.microsoft.com/technet/scriptcenter/guide/sas_wsh_crve.mspx
WScript.Shell > http://www.microsoft.com/technet/scriptcenter/guide/sas_wsh_grmi.mspx
Navigation:
[Reply to this message]
|