[jawsscripts] Re: IE and Firefox

  • From: "E.J. Zufelt" <everett@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 1 Jan 2009 03:33:15 -0400

Good evening Donald,

I'll let someone else answer your question about finding information about 
applications that are not well documented. Note that not all applications 
expose useful objects to the operating system.

As for the IE DOM, I am sure that there is information about this somewhere, 
I just happen to be familiar with it from years of working with Javascript. 
So, any good Javascript DOM information, like that from w3schools, would 
help you out.

See also:
http://en.wikipedia.org/wiki/Document_Object_Model

HTH,
Everett
----- Original Message ----- 
From: "Donald Marang" <donald.marang@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Thursday, January 01, 2009 12:01 AM
Subject: [jawsscripts] Re: IE and Firefox


>I had wanted this feature for some time now!  I had given it some thought,
> but no effort.  Simple and elegant.  It makes me want to brush up on
> objected oriented programming.  I suppose this is a necessity if scripting
> IE.  Do you get all of the object info from Microsoft's documentation
> regarding the DOM?  Thanks for this tidbit!  It works well, is very 
> useful,
> and has got me motivated.
>
> Firefox did not ask if I wanted to make it my default browser.  I think I
> turned this off way back, since I do this type of browser switching all 
> the
> time
>
> On applications that are not well documented or known, how can you obtain
> the methods... about the application's objects?
>
> Don Marang
>
>
> ----- Original Message ----- 
> From: "E.J. Zufelt" <everett@xxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Wednesday, December 31, 2008 3:15 PM
> Subject: [jawsscripts] IE and Firefox
>
>
>> Good afternoon,
>>
>> I prefer using IE 7 for general web-browsing, but sometimes there are
>> pages
>> that I'd like to view in Firefox.  I have created the following script in
>> the Internet Explorer scripts to allow me to open the current Internet
>> Explorer page in Firefox.  I used Control + Alt + F as the keystroke.
>> Comments welcome.
>>
>> Script gotoFirefox ()
>>
>>
>>
>> Var
>>
>> Object oDoc,
>>
>> string sExecute
>>
>>
>>
>> Let oDoc = IEGetCurrentDocument ()
>>
>>
>>
>> ; Gets the url of the current page
>>
>> Let sExecute = oDoc.url
>>
>>
>>
>> ; Creates the statement to execute.
>>
>> Let sExecute = "firefox " + sExecute
>>
>>
>>
>> SayMessage (OT_JAWS_MESSAGE, "Opening page in Firefox.")
>>
>>
>>
>> Run (sExecute)
>>
>> EndScript
>>
>>
>>
>> HTH,
>>
>> Everett
>>
>>
>>
>> __________
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
> 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: