Let me explain to you more fully what script files I'm talking about. , I can't keep up with lots and lots of typoes made in service requests. The survey job that I'm doing is based on information loaded from Siebel. I'm using internet explorer to perform the surveys. The information is loaded from Siebel into a pool and we use IE to use this pool. So now I add typoes and dates to the jaws .jdf file for internet explorer. It confuses me to hear dates in figures all the time and to hear typoes. Its stresses me out, so now I add these dates and typoes to the internet explorer.jdf file but it can only process 1000 entries. In other words if there is 1000 entries in the internet explorer.jdf file and I add entry number 1001. Lets say entry number 1001 is Actual word: assssessssnmennnnt. Replacement word: Assessment. Now I click ok and I save and exit the dictionary manager. Now I'm back in internet explorer, where the service request is. Now if I read the long description of the service request, jaws is going to read assessment as its spelled wrongly, not the way I set jaws to pronounce it, because jaws can only process 1000 entries. So now I have copied all the files starting with internet explorer. Step1: I go to the folder where all the script files are. I click start, click programs, click jaws8, click explore jaws, and click explore my settings. 2. now I copy all the files that starts with internet explorer, that means .jss, .jdf, .jsd, .jsb and .jkm. I simply press I until I arrive at the first internet explorer file and then I select all of them with shift+down arrow and I press control+c and control+v right after each other. Now I have files called: copy of internet explorer.jdf. etc. Now I rename these files starting with the word copy, to a number such as 1, 2 etc. Each time the current dictionary file gets full, I copy these files, and rename them to the next number. 3. then I delete the file called internet explorer.jdf. So now I have the factory internet explorer.jdf file if I press insert+d, it's the default .jdf file for internet explorer that ships with jaws. It contains 15 entries. I delete these 15 factory entries. so now I start adding entries such as dates and typoes to it. If I come across a common typoe such as assessment spelled wrong, I go to the previous .jdf file and there it is spelled right. So now I don't have to add that incorrect spelling of assessment to the new .jdf file as its already in a previous .jdf file. So I have created scripts to switch to each base configuration. For example. I assign the script's keystroke to windows key plus number 1, etc. Then in the body of the script I put the function switch to configuration and in the parameter box I type in the number. If within IE I press the keystroke that I have assigned such as windows key plus 1 that specific base configuration's .jdf file is loaded. But now I rather want a list of those base configurations so that I can choose base configurations because if I have more than 10 of these scripts I have to think of other keystrokes to use. If I have all of them in a list and I can just pick one, I don't have to use a lot of keystrokes to press, I can just hit one keystroke and select the desired base configuration from a list. -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jackie McBride Sent: 27 November 2008 04:55 AM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Re: switch to configuration My first question is--what are configurations 1-8? Here is the help for switchToConfiguration: int SwitchToConfiguration(string strConfiguration) Category: Settings Return Type: int Return Description: TRUE if the argument passed in is a valid string (not ""). FALSE if an invalid string is passed into the function. string strConfiguration The base name of the set of Configuration files to load. Calling this function with "MyConfigurations" for example, would load the Configuration, Keymap, Script, Dictionary, Graphics, Symbols, and Frame files that have base name "MyConfiguration." Description: When this function is called, the currently loaded set of configuration files is unloaded from memory and the specified set of configuration files is loaded in its place. So, if u don't have scripts & configurations & keymaps & dictionaries etc. named 1, 2, 3, etc., nothing is gonna load. I think I'd do this a bit differently, e.g., 1) add a string called SConfig or whatever to the declared variables list; 2) write something like: if (dictionary == 1) then let SConfig = "dictionary1" etc. endif SwitchToConfiguration(SConfig) The kicker is each of those files has to be present & accounted for. On 11/26/08, Reed Poynter <Reed.Poynter@xxxxxxxxx> wrote: > Hi Nicol, > > Try this... > > Script SwitchToDictionary () > > var > String menu, > Int dictionary > > Let menu = "1|2|3|4|5|6|7|8" > Let dictionary = DlgSelectItemInList (menu, "please select a dictionary to > switch to", 0, 1) > > If dictionary == 1Then > SwitchToConfiguration ("Adobe") > > ElIf dictionary == 2 then > SwitchToConfiguration ("AudibleManager") > > ElIf dictionary == 3 Then > SwitchToConfiguration ("HyperTerminal") > > ElIf dictionary == 4 Then > SwitchToConfiguration ("IECustomSettings") > > ElIf dictionary == 5 Then > SwitchToConfiguration ("Internet Explorer") > > ElIf dictionary == 6 then > SwitchToConfiguration ("LogonUI") > > ElIf dictionary == 7 then > SwitchToConfiguration ("Lotus Notes") > > ElIf dictionary == 8 Then > SwitchToConfiguration ("default") > EndIf > > Say (GetActiveConfiguration ()+" configuration", 0, 0) > > EndScript > > Your SwitchToConfiguration has to include the name of your configuration > Notice the "say" statement just before the endscript. > > Assign this script to a key, compile and try it. > After you have done this, see if you can assign a comment to each of your > menu choices. So, for example, when you go down through the menu you will > hear, 1. Adobe 2. AudibleManager 3. HyperTerminal And so on. > > Hope this works. > > Reed > > -----Original Message----- > From: jawsscripts-bounce@xxxxxxxxxxxxx > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Nicol Oosthuizen > Sent: 2008/11/26 01:24 > To: jawsscripts@xxxxxxxxxxxxx > Subject: [jawsscripts] switch to configuration > > > Hi all > I'm battling with a script. > > I want to create a menu so that I can choose an option from the menu and > jaws must switch to the base configuration I have selected. The script > compiles fine without any errors but when I choose a number from the menu > jaws does not switch to that configuration. If I press the assigned > keystroke it pops up the menu I have created and I can move between options > fine, but when I press enter on an option it does nothing. It doesn't > switch to that base configuration. > > Please can someone have a look at my script. > > Script SwitchToDictionary () > > var > > String menu, > > Int dictionary > > Let menu = "1|2|3|4|5|6|7|8" > > Let dictionary = DlgSelectItemInList (menu, "please select a dictionary to > switch to", 0, 1) > > If dictionary == 1Then > > SwitchToConfiguration ("1") > > ElIf dictionary == 2 then > > SwitchToConfiguration ("2") > > ElIf dictionary == 3 Then > > SwitchToConfiguration ("3") > > ElIf dictionary == 4 Then > > SwitchToConfiguration ("4") > > ElIf dictionary == 5 Then > > SwitchToConfiguration ("5") > > ElIf dictionary == 6 then > > SwitchToConfiguration ("6") > > ElIf dictionary == 7 then > > SwitchToConfiguration ("7") > > ElIf dictionary == 8 Then > > SwitchToConfiguration ("8") > > EndIf > > > > EndScript > > > Please Note: This email and its contents are subject to our email legal > notice which can be viewed at http://www.sars.gov.za/Email_Disclaimer.pdf > > __________ > 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 > > -- Change the world--1 deed at a time Jackie McBride Check out my homepage at: www.abletec.serverheaven.net & please join my fight against breast cancer <http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489> __________ 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 Please Note: This email and its contents are subject to our email legal notice which can be viewed at http://www.sars.gov.za/Email_Disclaimer.pdf __________ 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