[jawsscripts] Re: IE and Firefox

  • From: "Donald Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 31 Dec 2008 23:01:09 -0500

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
> http://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 
http://www.freelists.org/list/jawsscripts

Other related posts: