The words you have in quotation marks should be in place of sc_SW. The first part of the function is the string you are to search. I am not at home right now so I can't check out the scripts I sent as an example. I will have to check on that later tonight and get back to you as to what should be in the first part. ----- Original Message ----- From: "Desyree Vaughn" <desyree@xxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Wednesday, April 08, 2009 11:25 AM Subject: [jawsscripts] Re: compile problem | yes but if i take out sc_SW then it gives an error saying the stringcontains | function requires 2 parameters not one. | | ----- Original Message ----- | From: "Dean Masters" <dwmasters@xxxxxxxxxxxxx> | To: <jawsscripts@xxxxxxxxxxxxx> | Sent: Tuesday, April 07, 2009 9:13 AM | Subject: [jawsscripts] Re: compile problem | | | > You need to eliminate | > , sc_SW | > | > I had given her an example of a function where I used sc_SW in the .jsh | > file. She doesn't have this so this needs to be taken out. | > | > Dean | > | > | > ----- Original Message ----- | > From: "James Scholes" <james@xxxxxxxxxxxxx> | > To: "Desyree Vaughn" <jawsscripts@xxxxxxxxxxxxx> | > Sent: Monday, April 06, 2009 7:10 PM | > Subject: [jawsscripts] Re: compile problem | > | > | > | The StringContains function needs quotation marks around the text: | > | If StringContains ("inbox - Courier", sc_SW) then | > | | > | __________ | > | Visit and contribute to The JAWS Script Repository | > http://jawsscripts.com | > | | > | View the list's information and change your settings at | > | //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 | > //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 | //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 //www.freelists.org/list/jawsscripts