The following is based on the example for a while loop taken from the basics of scripting help file: var Int iCount Let iCount = 1 ;Assign the value of 1 to the variable While iCount < 37 ; this loop will be performed 36 times {tab} ; Statements to be performed go here - and the {tab} will hit the tab key Let iCount = iCount + 1 ;Increases the value of iCount so the While condition will become false after 36 iterations EndWhile ;--end of script-- Stay well Jacob Kruger jacob.kruger@xxxxxxxxxxxx -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Steven Hicks (HICKSSM) Sent: Thursday, September 17, 2009 10:17 AM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] couple of questions Hi friends, I wonder if someone can help me with a couple of questions plese? i need to preee the tab key thirty times in a script, can I do this with a loop and could someone give me any sample code please? i have tried a find but unfortunately, the control on the screen seems to be a little odd. also,can I go to JAWSCursor, move the cursor to a screen location and then move the PC cursor to it? I seem to remember a ffunction like PCtoJAWS() but I just tried it and it doesn't seem to work. ----------------------------------------------------------------------------------------- The information in this e-mail and any attachments is confidential and is intended for the attention and use of the named addressee(s). It must not be disclosed to any other person without our authority. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient or are aware that this e-mail has been sent to you in error, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. We sweep all outgoing messages for the presence of computer viruses. However, we cannot accept any responsibility for any loss or damage to your systems due to viruses or malicious code not detected. The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the organisations within the Cornwall & Isles of Scilly Health Community. This email may be disclosed under the Freedom of Information Act 2000 or the Environmental Information Regulations 2004. ----------------------------------------------------------------------------------------- __________� 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 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.409 / Virus Database: 270.13.102/2377 - Release Date: 09/16/09 17:49: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