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