you are right inbox-courier is a window title and has been put in quotes now. ----- Original Message ----- From: "Sean Randall" <seanr@xxxxxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Monday, April 06, 2009 5:13 PM Subject: [jawsscripts] Re: compile problem > Martin, > > Isn't "Inbox - Courier" supposed to be the title of a window? If so, I > cannot see a purpose for using it there, nor what the second parameter > means. > > Sean. > > -----Original Message----- > From: jawsscripts-bounce@xxxxxxxxxxxxx > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Martin Slack > Sent: Tuesday, April 07, 2009 12:09 AM > To: jawsscripts@xxxxxxxxxxxxx > Subject: [jawsscripts] Re: compile problem > > Hi, > > The first problem is in the line: > > If StringContains (inbox - Courier, sc_SW) then > > The first parameter of the function StringContains should be a string, > but > > you have made it the difference between two variables, which lacks > meaning. > Either inbox and Courier are integers, so that they can be subtracted, > which > > makes them the wrong type for this function, or they are both strings, > when > the subtraction operation cannot be performed. What are you trying to > represent by inbox - Courier? > > Martin > > __________ > 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