Ah, ok, Martin, for some reason I thought what u were asking was to be able to add/delete the highlight, not enable/disable an already existing 1. Duh. I guess the congestion from the cold I have is pressing on my brain cells, too--thus the headache--lol. On 12/21/11, Martin Berrisford <mberrisford@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > Thanks for the reply Jackie, but I have found a more elegant way to > accomplish this (in my view) using the SetJCFOption function. Here is the > test code I came up with after scouring the HJConst file. Works great... > > Script DisableCustomHighlights () > SetJCFOption (OPT_USE_CUSTOM_HIGHLIGHT, 0) > EndScript > > Script EnableCustomHighlights () > SetJCFOption (OPT_USE_CUSTOM_HIGHLIGHT, 1) > EndScript > > Martin > -----Original Message----- > From: jawsscripts-bounce@xxxxxxxxxxxxx > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jackie McBride > Sent: December-21-11 11:22 AM > To: jawsscripts@xxxxxxxxxxxxx > Subject: [jawsscripts] Re: Disabling Custom Highlights in a script > > Custom highlights r turned on in the app's .jcf file. The usual way to do > this is to use the IniRead & IniWrite functions to get & change this > particular option. The section name is [Highlight Colors] The key is the 9 > integer foreground/background colors, & the value is the number representing > the type of highlight. > > On 12/21/11, Martin Berrisford <mberrisford@xxxxxxxxxxxxxxxxxxxxxxx> wrote: >> Greetings all, >> >> I'm looking for a way to disable custom highlight functionality >> temporarily in a script and then turn it back on later. Any ideas? >> >> Martin >> >> __________ >> >> View the list's information and change your settings at >> http://www.freelists.org/list/jawsscripts >> >> > > > -- > Blame the computer--why not? It can't defend itself & occasionally might > even be the culprit Jackie McBride Ask Me Computer Questions at: > www.pcinquirer.com Jaws Scripting training materials: > www.screenreaderscripting.com > homePage: www.abletec.serverheaven.net > __________ > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > > __________� > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > > -- Blame the computer--why not? It can't defend itself & occasionally might even be the culprit Jackie McBride Ask Me Computer Questions at: www.pcinquirer.com Jaws Scripting training materials: www.screenreaderscripting.com homePage: www.abletec.serverheaven.net __________� View the list's information and change your settings at http://www.freelists.org/list/jawsscripts