Re: Is there any global scope to any Windows Scripting ?




"Andreas M." <foobar@xxxxxxxxxxxxxxx> wrote in message
news:fjaeac$jua$1@xxxxxxxxxxxxxxxxxxxx
Hi,

is the used environment (DOM, WScript, Scripting, Server, etc.) the
global scope or is there another scope sitting behind?

I would especially be interested, as how to translate the 'window'
object of the DOM into ActiveX Scripting and especially the WSH.

--
Andreas M.

Hi, Andreas

What definition are you using for DOM? To me, it means documented
object model, which might refer to documentation for the IE object
model, the ADO object model, the Word object model, the Excel object
model, or documentation for the model of any of the other many objects
available to scripting. Object which display a window, such as IE or
HTAs, typically have a window object which can be manipulated with
script.

Plain scripts, like .WSF, .VBS, .JS or .PY text files are typically
seen as a WScript process in the task manager process list; for these
scripts there is no 'window' unless they create an object that does
present a window, like the internetexplorer.application object, and
manipulate that window through that application's DOM.

I guess I'm not clear on what you want.

You might want to check out the scripting center:
http://www.microsoft.com/technet/scriptcenter/default.mspx

-Paul Randall


.



Relevant Pages

  • Re: Where do I get the VBScript Obj. Model Documentation
    ... But the IE Document Object Model is very ... outline the IE DOM. ... It only lists the objects, ... > Scripting Object Model documentation. ...
    (microsoft.public.scripting.vbscript)
  • Re: FAQ Topic - What are object models? (2009-02-11)
    ... are provided by the host to allow javascript (or other scripting ... The commonest object model is the ... Document Object Model (DOM) provided by web browsers. ...
    (comp.lang.javascript)
  • Re: Disable DOM construction
    ... >>>If you disable scripting in IE then it does not build a DOM. ... C++ objects) that represent an object model themselves. ...
    (comp.lang.javascript)
  • Re: Close a window if it is already open
    ... > it is not worst to have a new window than a new layer ... environments has resulted in pop-up blocking. ... It has been the lesson of the history of browser scripting that whenever ... This takes the reality that pop-up blockers render the ...
    (comp.lang.javascript)
  • Re: Find and Open Specific Files
    ... The Monarch application does support command line ... >> Monarch) needs to be opened and then the files need to be opened in Monarch. ... > AutoItwindow handling defaults to match the start of a window title that ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windows.server.scripting)

Quantcast