Dear Jim, Thank you for your swift response. I want to find a function which helps to evaluate whether the last line of a file has been reached or not. If the result is true, the while loop in my script will be terminated. Howver, your suggested BottomEdgeEvent is a void function. Can you suggest another function? Thanks! KL ----- Original Message ----- From: "Jim Snowbarger" <Snowman@xxxxxxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Monday, March 31, 2014 9:28 AM Subject: [jawsscripts] Re: How to detect bottom of file > BottomEdgeEvent(); > Make a copy for yourself, like the one in default.jss > > > ----- Original Message ----- > From: "KL Ng" <ngkingling@xxxxxxxxxxx> > To: <jawsscripts@xxxxxxxxxxxxx> > Sent: Sunday, March 30, 2014 4:58 AM > Subject: [jawsscripts] How to detect bottom of file > > > Dear All, > Can anyone tell me what JAWS function should be used to detect bottom of > file. > When you stand on the last line of a editor and press down arrow, JAWS > will > beep you. > i would like to know what function should be used to get this information. > Thanks! > KL > __________� > > 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 > > __________� View the list's information and change your settings at http://www.freelists.org/list/jawsscripts