Re: Javascript and Microsoft Windows
- From: "Peter Olcott" <olcott@xxxxxxx>
- Date: Tue, 15 Aug 2006 09:39:34 -0500
"Richard Cornford" <Richard@xxxxxxxxxxxxxxxxxxx> wrote in message
news:1155650612.498299.19170@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Peter Olcott wrote:
<snip>
... . My original question can not be rephrased.
That would be a pity as your original question did not make sense in
javascript terms (javascript has no 'controls', instead relying on a
host to provide that type of facility). But It has been answered
anyway: browser hosts use Windows native input elements, their own
internal input elements and even Java Swing input elements (in the case
of IceBrowser at least).
What I really need to know is exactly how difficult it is for another
program
What is 'another program'?
If we assume that there is a JavaScript program running in the web-browser, the
other program is any program besides this program. In other words I need a way
to determine the exact location and current state of any graphical user
interface controls that are displayed in the web-browser, and this way must be
able to provide this information to a different program beside the one running
in the web-browser.
to determine the exact location
Javascript executing in browser environments can determine the exact
pixel position (screen/ within the window and on the HTML page) of
elements being displayed in an HTML document that it is scripting
whenever the browser eposes sufficient information for that
determination to be possible (which is often, but not universally, the
case).
and current state of any graphical user interface controls.
What do you consider the 'state' of a graphical user Interface control?
Is the checkbox currently checked or unchecked ("Current state" is a generic
term of the art of computer science).
Brower hosts expose properties of controls/elements to scripting and
the values of those properties are normal candidates to be considered
the 'state' of the control/element.
Great exactly how do they expose this, an API call?
Someone told me that this is pretty easy using Ajax.
AJAX is completely irrelevant to the issue.
The way that it was explained is that Ajax is a hodge podge conglomeration of
JavaScript, XML and some other things, and that these exposed properties are
exposed in an XML format.
Richard.
.
- Follow-Ups:
- Re: Javascript and Microsoft Windows
- From: Richard Cornford
- Re: Javascript and Microsoft Windows
- References:
- Javascript and Microsoft Windows
- From: Peter Olcott
- Re: Javascript and Microsoft Windows
- From: Dr John Stockton
- Re: Javascript and Microsoft Windows
- From: Peter Olcott
- Re: Javascript and Microsoft Windows
- From: RobG
- Re: Javascript and Microsoft Windows
- From: Peter Olcott
- Re: Javascript and Microsoft Windows
- From: The Magpie
- Re: Javascript and Microsoft Windows
- From: Peter Olcott
- Re: Javascript and Microsoft Windows
- From: Richard Cornford
- Javascript and Microsoft Windows
- Prev by Date: Re: Dyanmic names for text fields
- Next by Date: Re: Determining the exact location and current state of any controls
- Previous by thread: Re: Javascript and Microsoft Windows
- Next by thread: Re: Javascript and Microsoft Windows
- Index(es):
Relevant Pages
|
Loading