same results here under jaws11.1430. But, what exactly is typeKey supposed to do! is it supposed to type literally a number related to that key? because like using 11 in the above example, here, this yields 0, using 12 yields - (dash symbol,) and 13 yield = (equals symbol,) etc. maybe i'm not familiar though with exactly what this function TypeKey, is actually meant to do? ----- Original Message ----- From: "David Farough" <David.Farough@xxxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Saturday, June 26, 2010 12:47 AM Subject: [jawsscripts] Re: something which should be simple but isn't > Hi Martin: > I should not have done this in a loop since it was not obvious what was > being entered through each iteration of the loop. > > When I tried using typekey (IntToString (10)) > it typed 9. > I also could not get the number 1 with typekey > > > > > David Farough > Application Accessibility Coordinator/coordonateur de l'accessibilité > Information Technology Services Directorate / > Direction des services d'information technologiques > Public Service Commission / Commission de la fonction publique > Email / Courriel: David.Farough@xxxxxxxxxxxxx > Tel. / Tél: (613) 992-2779 > > >>> "Martin Slack" <m.g.slack@xxxxxxxxxxxx> 04:58 PM Thursday, June 24, > 2010 >>> > Hi David, > > Shouldn't your loop end with i equal to 9 so that the final number > printed > should have been 10? Or are you saying that you were able to predict > that > the problem would reveal itself? :-D > > Martin > > > ----- Original Message ----- > From: "David Farough" <David.Farough@xxxxxxxxxxxxx> > To: <jawsscripts@xxxxxxxxxxxxx> > Sent: Thursday, June 24, 2010 6:39 PM > Subject: [jawsscripts] Re: something which should be simple but isn't > > > FYI > > Jaws 11.1347 under windows xp professional works predictably. > > the following script typed the following string in notepad. > 123456789 > > > Script test () > var int I > while i < 10 > i = i+1 > typekey (IntToString (i)) > endwhile > > > EndScript > > David Farough > Application Accessibility Coordinator/coordonateur de l'accessibilité > Information Technology Services Directorate / > Direction des services d'information technologiques > Public Service Commission / Commission de la fonction publique > Email / Courriel: David.Farough@xxxxxxxxxxxxx > Tel. / Tél: (613) 992-2779 > > >>> Doug Lee <doug.lee@xxxxxxxxxxxxxxxx> 12:26 PM Thursday, June 24, > 2010 >>> > This is interesting indeed! TypeKey("1") yields nothing at all, and > typeKey("<n>") for <n> between 2 and 9 inclusive yields <n>-1, so > typeKey("2") types 1, typeKey("3") types 2, etc. I tested this just > now in NotePad under JAWS 11.0.1430 on Windows Vista (32 bit). > > I am alerting Freedom Scientific to this one. > > As was pointed out later in this thread, TypeString can work; but you > mentioned it won't work in your situation. > > On Thu, Jun 24, 2010 at 04:59:49PM +0100, Brian Hartgen wrote: > Hi > > I am wanting jaws to type the figure 9 into an application, that's > all, > but > it just will not happen. > > It seems to type a value which is different to what I expect. So, if I > use > the TypeKey function to type a figure 9, it types 8. > What is the best way of overcoming this please does anyone know? > Figure > 1 is > also a problem. > > Thanks. > > Brian Hartgen > > __________??? > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > > -- > Doug Lee, Senior Accessibility Programmer > SSB BART Group - Accessibility-on-Demand > mailto:doug.lee@xxxxxxxxxxxxxxxx http://www.ssbbartgroup.com > "While they were saying among themselves it cannot be done, > it was done." --Helen Keller > __________� > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > > > This e-mail message is intended for the named recipient(s) and > may contain information that is privileged, confidential and/or > exempt from disclosure under applicable law. Unauthorized > disclosure, copying or re-transmission is prohibited. If you are not > a named recipient or not authorized by the named recipient(s), or > if you have received this e-mail in error, then please notify the > sender immediately and delete the message and any copies. > > Ce courriel est destine exclusivement au destinataire mentionne > en titre et peut contenir de l'information privilegiee, confidentielle > ou soustraite a la communication aux termes des lois > applicables. Toute divulgation non autorisee, toute reproduction > ou reacheminement est interdit. Si vous n'etes pas le > destinataire de ce courriel, ou n'etes pas autorise par le > destinataire vise, ou encore, si vous l'avez recu par erreur, > veuillez le mentionner immediatement a l'expediteur et supprimer > le courriel et les copies. > __________? > > 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 > > > This e-mail message is intended for the named recipient(s) and > may contain information that is privileged, confidential and/or > exempt from disclosure under applicable law. Unauthorized > disclosure, copying or re-transmission is prohibited. If you are not > a named recipient or not authorized by the named recipient(s), or > if you have received this e-mail in error, then please notify the > sender immediately and delete the message and any copies. > > Ce courriel est destine exclusivement au destinataire mentionne > en titre et peut contenir de l'information privilegiee, confidentielle > ou soustraite a la communication aux termes des lois > applicables. Toute divulgation non autorisee, toute reproduction > ou reacheminement est interdit. Si vous n'etes pas le > destinataire de ce courriel, ou n'etes pas autorise par le > destinataire vise, ou encore, si vous l'avez recu par erreur, > veuillez le mentionner immediatement a l'expediteur et supprimer > le courriel et les copies. > __________� > > 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