Hi Philip, Just a thought, maybe use JawsKey+control+f to find a string that you know is on screen that you want to get ot. When you land on field then use home row, JawsKey+SpaceBar. Press Shift+F2 to get parent of desired field. Then you can find all about parent and ll its children. Ann ----- Original Message ----- From: "Philip Gates" <p_gates@xxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Thursday, July 16, 2009 8:09 PM Subject: [jawsscripts] help with finding fields > trying to write scripts for a program called " Service Center". What I am > trying to do is make short cuts keys to go to certain fields. I don't > know > what programming language it is written in, but I do know that it is not > html. I try to use the function : FindString and wrote a script to search > by word for the label name. neither of these work does any one know what > would be a good function to use. Below is my code I wrote for this, which > did not work. > *************** Script EmployeeId () > > ; this will move to the Employee ID field > > var > > string SName, > > handle HReal > > let SName = "Employee" > > let Hreal = GetRealWindow (GetFocus ()) > > ; the below command did not bring back any value. > > SayInteger (hReal); speak the value of the window handle > > FindString (HReal,SName,S_TOP,S_UNRESTRICTED ) > > EndScript > > > > Script EmpId () > > Var > > Int IWhileLimit, > > > > > > String SSearch > > Let IWhileLimit = 0 > > let SSearch = "Employee" > > JAWSCursor () > > RouteJAWSToPc () > > JAWSPageUp () > > JAWSHome () > > NextLine () > > While IWhileLimit < 30 > > sayword() > > if StringContains (GetWord(), SSearch) == 1 then > > SayWord () > > Let IWhileLimit = 30 > > EndIf > > NextWord () > > Let IWhileLimit = IWhileLimit +1 > > EndWhile > > > > > > EndScript > > > > Philip Gates > > > > __________ > Visit and contribute to The JAWS Script Repository http://jawsscripts.com > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > -------------------------------------------------------------------------------- Checked by AVG - www.avg.com Version: 8.5.387 / Virus Database: 270.13.16/2240 - Release Date: 07/15/09 17:58:00 __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at //www.freelists.org/list/jawsscripts