[jawsscripts] Re: IE and Firefox

  • From: "Reed Poynter" <reed.poynter@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 13 Jan 2009 16:23:24 -0800

Hi Don,

What tells you that you'd like to open the current page or link in Firefox.

Thanks.

Reed 

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Donald Marang
Sent: Tuesday, January 13, 2009 16:03
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: IE and Firefox


To expand on Everett's handy Internet Explorer script to open the current
page in Firefox.  The script below is a nice companion to Everett's script. 
It will open the current link on a the page in Firefox.  I use the keystroke
Alt + Control + Shift +f to run the script.  I may need to change this since
I am missing several fingers and this is somewhat difficult.  I find this
particularly useful when browsing videos and find a link I might want to
download with the Firefox extension, Video Download Helper.

Script OpenInFirefox ()
Var
 Object oDoc,
 Object oLink,
 string sExecute

Let oDoc = IEGetCurrentDocument () ; Gets the object for the current page
Let oLink = oDoc.activeElement ; gets the element with focus Let sExecute =
oLink.href ; Creates the statement to execute.
Let sExecute = "firefox " + sExecute
; SayString ("run command:  " + sExecute) SayMessage (OT_JAWS_MESSAGE,
"Opening link in Firefox.")

Run (sExecute)

EndScript

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: