ok thanks for your help dean ----- Original Message ----- From: "Dean Masters" <dwmasters@xxxxxxxxxxxxx> To: "JAWS Scripts" <jawsscripts@xxxxxxxxxxxxx> Sent: Thursday, April 09, 2009 9:44 PM Subject: [jawsscripts] Re: compile problem > The line should be like this: > > If StringContains (RealName, "inbox - Courier") then > > > > Since you are using StringContains you might just want to use part of the > name. so maybe use something like this: > > > > If StringContains (RealName, "Courier") then > > > Dean > ----- 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 > | > | 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 > | > > | > > | > | __________ > | 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 > > __________ 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