It should effect the current instance, I believe it depends on which window has the greater window handle, but this is just a guess. I've noticed some differences when using the Run command in windows (Windows+R), and this would give you a better idea what to expect when using the function, since this is the command being used by JAWS. Experimenting a bit should give you a better idea by trying the Windows Run command. Hope this helps, Bryan ----- Original Message ----- From: "E.J. Zufelt" <everett@xxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Tuesday, December 23, 2008 9:04 AM Subject: [jawsscripts] Re: Script to switch URL > Good afternoon Bryan, > > If JAWS is currently focused on an IE window and I use that function will > it > change the page in that window, or open a new window? > > Thanks, > Everett > > > ----- Original Message ----- > From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx> > To: <jawsscripts@xxxxxxxxxxxxx> > Sent: Tuesday, December 23, 2008 1:02 PM > Subject: [jawsscripts] Re: Script to switch URL > > >> Why not just use the Run() function in JAWS? Like so >> >> Run("\"" + "httpUrlHere" + "\"") >> >> >> ----- Original Message ----- >> From: "E.J. Zufelt" <everett@xxxxxxxxx> >> To: <jawsscripts@xxxxxxxxxxxxx> >> Sent: Tuesday, December 23, 2008 6:10 AM >> Subject: [jawsscripts] Re: Script to switch URL >> >> >>> Good morning Martin, >>> >>> Thanks for this suggestion. >>> >>> I may end up using it. I am hoping to find a DOM or API call that I can >>> make to accomplish the same in the background, but it may be to much >>> work. >>> >>> Thanks, >>> Everett >>> >>> >>> ----- Original Message ----- >>> From: "Martin" <martinfc@xxxxxxxxxx> >>> To: <jawsscripts@xxxxxxxxxxxxx> >>> Sent: Tuesday, December 23, 2008 10:01 AM >>> Subject: [jawsscripts] Re: Script to switch URL >>> >>> >>>> Okay, got ya. >>>> How about this. Simple, but effective. This script goes to the >>>> address >>>> bar, types www.audible.com and then the enter key is sent. >>>> >>>> Script OpenNewUrl () >>>> typekey("alt+d") >>>> typestring("www.audible.com") >>>> typekey("enter") >>>> EndScript >>>> >>>> cheers, >>>> Martin >>>> >>>>> Date: Tue, 23 Dec 2008 09:32:31 -0400 >>>>> From: "E.J. Zufelt" <everett@xxxxxxxxx> >>>>> To: <jawsscripts@xxxxxxxxxxxxx> >>>>> ReplyTo: jawsscripts@xxxxxxxxxxxxx >>>>> Subject: [jawsscripts] Re: Script to switch URL >>>>> >>>>> Good morning Martin, >>>>> >>>>> Thank you for the suggestion. >>>>> >>>>> I am actually looking for a solution that an end-user is less likely >>>>> to >>>>> accidentally mess up. I can envision someone removing a bookmark and >>>>> then breaking the functionality. My GlobeAndMail.com URL was just an >>>>> example to keep things simple. >>>>> >>>>> Thanks, >>>>> Everett >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Martin" <martinfc@xxxxxxxxxx> >>>>> To: <jawsscripts@xxxxxxxxxxxxx> >>>>> Sent: Tuesday, December 23, 2008 9:10 AM >>>>> Subject: [jawsscripts] Re: Script to switch URL >>>>> >>>>> >>>>> > Hello there, >>>>> > No need for Jaws scripting in this instance. Simply do the >>>>> > following: >>>>> > 1. save the wanted url in your favourites, >>>>> > 2. Go to organize favourites and find the previously saved website. >>>>> > > >>>>> 3. press Alt and enter to launch the properties of this url. > 4. >>>>> Tab >>>>> until you hear shortcut key and then press the key combination > that >>>>> > you wish. >>>>> > 5. Tab to okay and you're done. >>>>> > You can then launch the url at your heart's content. >>>>> > Ooops this is if you're using Internet Explorer. Firefox steps are >>>>> > > >>>>> similar. >>>>> > >>>>> > Cheers, >>>>> > martin >>>>> > >>>>> > >>>>> >> Date: Tue, 23 Dec 2008 08:40:00 -0400 >>>>> >> From: "E.J. Zufelt" <everett@xxxxxxxxx> >>>>> >> To: <jawsscripts@xxxxxxxxxxxxx> >>>>> >> ReplyTo: jawsscripts@xxxxxxxxxxxxx >>>>> >> Subject: [jawsscripts] Script to switch URL >>>>> >> >>>>> >> Good morning, >>>>> >> >>>>> >> I am looking for information on JAWS functions or any script that >>>>> would >> allow me to switch URLs in Internet Explorer. >>>>> >> >>>>> >> Example: >>>>> >> 1. User is on Google.com >>>>> >> 2. User presses Alt + G >>>>> >> 3. Internet Explorer switches web-page to GlobeAndMail.com >> >>>>> >> Thanks, >>>>> >> 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 >>>>> >>>>> __________ >>>>> 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 >>>> >>> >>> __________ >>> 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 >>> >>> >>> _______________________________________ >>> No viruses found in this incoming message >>> Scanned by iolo AntiVirus 1.5.6.3 >>> http://www.iolo.com >>> >> >> __________ >> 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 > > > _______________________________________ > No viruses found in this incoming message > Scanned by iolo AntiVirus 1.5.6.3 > http://www.iolo.com > __________ 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