[jawsscripts] Re: scripting for multiple programs running on Internet Explorer?

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 12 Oct 2012 09:11:06 -0400

But what script commands do you use to load scripts and settings from
the ini file, and what code must each script file contain in order for
this to work? I find that SwitchToConfiguration only works if you copy
Internet Explorer.jcf settings into the newly loaded jcf, and
SwitchToScriptFile and SwitchToConfiguration both require the script
chaining system I detailed in yesterday's message.

On Fri, Oct 12, 2012 at 08:54:51AM -0400, Chad Foster wrote:
The way I have done it is to check the URL and domain within various
events e.g. AutoStartEvent, DocumentLoadadEvent, FrameLoadedEvent, and
then cross reference that URL/domain with an INI file where I can look
up the settings and files to load.

I even built a UI to add new domains/URLs to a given settings
configuration to avoid recoding -- siply toggle a few switches while
on the website of choice. this makes it far easier for the average
JAWS user to keep the code updated with server changes etc.

-Chad


On 10/12/12, Paul Magill <magills@xxxxxxxxxxx> wrote:
> Thank you all heaps...
>
> The code we have is quite "entangled", rather than complex, & it will take a
>
> wee while to both come to grips with your suggestions, & untangle the code
> into different files...
>
> My initial view was a bit simplistic, but I can see the advantages of these
>
> approaches, so will work on them.. .
>
> Will get back to the list with the results.
>
> Thanks again,
> Paul from Australia
>
> __________???
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>


-- 
Chad Foster
Access Technology Solutions
Leveling The Playing Field Through Technology
http://www.GO-ATS.net
__________???

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

-- 
Doug Lee, Senior Accessibility Programmer
SSB BART Group - Accessibility-on-Demand
mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
"While they were saying among themselves it cannot be done,
it was done." --Helen Keller
__________�

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

Other related posts: