Thanks for this Mike. So reading from you're code I presume GetObjectState () doesn't except any arguments, one has to be focused upon the object in question? I'm just trying to think how else one would point JAWS towards it. I guess I should really consult the documentation for this particular function, but as I've just come in from sunning myself feeling a bit hazy at the moment *Smile*. Regards, Mark Mark Matthews Cardiff, Wales UK Email: Mark.Matthews53@xxxxxxx MSN: mark.matthews53@xxxxxxxxxxxx Skype: MMatthews1981 Mobile: 07800 561442 ----- Original Message ----- From: "Michael" <mike_sharp@xxxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Sunday, June 08, 2008 7:49 AM Subject: [jawsscripts] Re: Obtaining Control Attributes > Hi Mark > > This is something i have to use fairly often and i think you can achieve > what you need using a string variable and an If statement. > > So for instance: > > Var > sObjectState > Let sObjectState = GetObjectState () > If sObjectState = "Checked" Then > ;insert what you want to happen here > Else > ;this would be what you want to happen if item returns "Not > Checked" > EndIf > I guess someone would be able to provide something more intricate but this > works for me and my limited scripting knowledge. > if you want to discuss you can try and catch me on msm > Regards > Mike > > -------------------------------------------------- > From: "Mark Matthews" <mark.matthews53@xxxxxxx> > Sent: Saturday, June 07, 2008 5:38 PM > To: <jawsscripts@xxxxxxxxxxxxx> > Subject: [jawsscripts] Re: Obtaining Control Attributes > >> Hi Jackie, >> >> First of all apologies for the delay in responding regarding your >> message - >> been somewhat hectic here over the last 7 or so days. >> >> I'll experiment and see if I'm able to achieve what I'm aiming to. No >> doubt >> I'll be in touch again regarding this *Smile*. >> >> Regards, >> >> Mark` >> >> Mark Matthews >> Cardiff, Wales UK >> >> Email: Mark.Matthews53@xxxxxxx >> MSN: mark.matthews53@xxxxxxxxxxxx >> Skype: MMatthews1981 >> Mobile: 07800 561442 >> ----- Original Message ----- >> From: "Jackie McBride" <abletec@xxxxxxxxx> >> To: <jawsscripts@xxxxxxxxxxxxx> >> Sent: Saturday, May 31, 2008 7:20 PM >> Subject: [jawsscripts] Re: Obtaining Control Attributes >> >> >>> This is not a function that requires bitwise operators--an integer >>> value of 1 indicates a checked state. U might also consider the >>> IsControlChecked function. >>> >>> Mark, I'd suggest u get the fs developer's network documentation, >>> available from the freedom scientific site. It's not wonderbar by any >>> stretch of the imagination, but it does answer basic questions such as >>> a function's return values & sometimes, if you're *really* lucky, even >>> gives the return value's meaning if it isn't clear. >>> >>> On 5/31/08, Mark Matthews <mark.matthews53@xxxxxxx> wrote: >>>> Hi guys, >>>> >>>> I'm wanting to write a piece of code that checks whether or not a >>>> checkbox >>>> is checked, and then takes action accordingly. From what I've been able >>>> to >>>> find out so far, I need to use the GetControlAttributes function >>>> together >>>> with the CTRL_ constants. >>>> >>>> Could someone point me in the right direction on how to achieve this? >>>> I've >>>> got a sneaky feeling I'm going to have to use Bitwise operators, which >>>> is >>>> something I'm not altogether familiar with. >>>> >>>> Regards, >>>> >>>> Mark >>>> >>>> Mark Matthews >>>> Cardiff, Wales UK >>>> >>>> Email: Mark.Matthews53@xxxxxxx >>>> MSN: mark.matthews53@xxxxxxxxxxxx >>>> Skype: MMatthews1981 >>>> Mobile: 07800 561442 >>>> >>>> __________ >>>> View the list's information and change your settings at >>>> //www.freelists.org/list/jawsscripts >>>> >>>> >>> >>> >>> -- >>> Jackie McBride >>> Please join my fight against breast cancer >>> <http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489> >>> & Check out my homepage at: >>> www.abletec.serverheaven.net >>> __________ >>> View the list's information and change your settings at >>> //www.freelists.org/list/jawsscripts >>> >> >> __________ >> View the list's information and change your settings at >> //www.freelists.org/list/jawsscripts >> >> > __________ > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > __________ View the list's information and change your settings at //www.freelists.org/list/jawsscripts