Thank you so much Andrew. I would never have thought of going that route. I did take a look at the builtin file but believed implicitly what it told me so I couldn't figure out the problem. I will look more closely at what it has to say next time. Regards Tom Bisset -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Andrew Hart Sent: March 23, 2011 4:37 PM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Re: SetActiveVoiceProfileByName According to builtin.jsd, SetActiveVoiceProfileByName expects its first argument to be an integer, which is clearly incorrect. If you edit the builtin.jsd file and change the first parameter type to String instead of Int, the Script Manager will allow your script source to compile. In case my explanation is not clear, open builtin.jsd in the script manager from the shared folder. If you search for SetActiveVoiceProfileByName, you will find the following lines :function SetActiveVoiceProfileByName :Description Sets the active voice profile to the one with the given name. :Param int The name of a voice profile. :Optional :Param Int/persist This optional parameter was added in JAWS 10.0. The default value for the parameter is FALSE. This parameter controls whether or not JAWS makes the change permanent by saving the change in active voice profile to Default.jcf. :Category Voices You need to change the line :Param int The name of a voice profile. to be :Param string The name of a voice profile. and then save the file. Hth, Andrew. On 23/03/2011 4:33 PM, Bissett, Tom wrote: > I am trying to use the function SetActiveVoiceProfileByName. If I put the > name in quotes it is telling me that it is "incorrect parameter format", if > I supply the name in the function with out quotes it tells me it doesn't > recognize the variable. If I put it in to a variable it gives me the error > "incorrect parameter format" message. I am not sure what is looking for. > Any ideas on what might be wrong? > > Any help is appreciated. > Tom Bisset > __________� > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > > > __________ View the list's information and change your settings at //www.freelists.org/list/jawsscripts __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts