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