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

  • From: Chad Foster <chad.foster@xxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx, Doug Lee <doug.lee@xxxxxxxxxxxxxxxx>
  • Date: Mon, 15 Oct 2012 09:22:03 -0400

The tried and tested approach is simple IF statements. I suppose one
could just as easily capture the INI values in a way to permit direct
SwitchTo function calls. As you pointed out, the structure of the IE
script files are important.

I have my setup for the FS_IE code to be used in the main JSS file. I
have a few batch files that automate the setup of the structure e.g.
copying FS shipping files over, renaming them, etc. This way my code
can be refreshed for a newly installed version of JAWS by running the
batch file.

It sounds like now however, FS has made it even easier to roll custom
and default code together. I'll need to check into that further.

-Chad


On 10/12/12, Doug Lee <doug.lee@xxxxxxxxxxxxxxxx> wrote:
> 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
>
>


-- 
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

Other related posts: