Hi.
I'm writing scripts for the Online Bible program. In this program, when the user is in a passage window, the left and right arrow keys don't move the pc cursor by character, but by verse. Each verse is its own paragraph. I created scripts for the left and right arrows that read the paragraph once the cursor has been allowed to move. These read fine for the most part. The problem is that they don't work when the window is new until I've already pressed one of the arrow keys. So anytime I do anything that creates one of these passage windows, whether it be a phrase search when I'm already in the program or whether I alt+tab to it from another program, I have to press either the left or right arrow key once before either of the scripts work. Does anyone have any ideas on why this might be happening? I've tried modifying the focusChangedEvent to do a NextCharacter followed by a PriorCharacter to first move my arrow key for me then get me back to where I was, but this isn't a good idea for the following reason. The only way that would work efficiently would be to determine by window class that I'm in the right kind of window and not some other sort of window like the place where I punch in the passage I want to open, but JAWS isn't able to determine that either, until I move either left or right arrow to sort of initialize things. Therefore, I'm forced to have the FocusChangedEvent move my arrow key then move me back all the time, which causes JAWS to pause for a second or so before it reads the newly focused window. I hope this is enough information, but if anyone needs me to clarify anything or answer other questions about the code, I'll be more than happy to help you help me. Tony Hernandez: SpeaksClan Patriarch HYPERLINK "http://www.tonyspeaks.com/"http://www.tonyspeaks.com HYPERLINK "http://www.speaksclan.net/"http://www.speaksclan.net Study at home to work from home. Become a medical transcriptionist. HYPERLINK "http://www.homecareerinfo.com/0879"http://www.homecareerinfo.com/0879 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.4/1395 - Release Date: 4/24/2008 7:24 AM Visit the JAWS Users List home page at: http://www.jaws-users.com Address for the list archives: http://www.mail-archive.com/[email protected] To post to this group, send email to [email protected] To unsubscribe from this group, send an email to [EMAIL PROTECTED] For help from Mailman with your account Put the word help in the subject or body of a blank message to: [EMAIL PROTECTED] Use the following form in order to contact the management team http://www.jaws-users.com/managers.php If you wish to join the Blind Computing list send a blank email to the following address: [EMAIL PROTECTED]
