[jawsscripts] Re: how to create an access key for an edit field - thank you Martin

  • From: "Mario Eiland" <eilandms@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 5 Jan 2011 05:26:37 -0500

Yes, I understand how to write the scripts.  It's just that this one had me 
scratching my head.

Thanks immensely for your assistance.
Mario


----- Original Message ----- 
From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
To: "JAWSScripts" <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, January 04, 2011 4:40 PM
Subject: [jawsscripts] Re: how to create an access key for an edit field


> Well, taking the simple approach, the instruction to perform tab is:
>
> TypeKey ("15", 0)
>
> where "15" is the scan code for the tab key, expressed as a string.  So a
> script with four such commands would look like:
>
> Script fourTabs ()
>    TypeKey ("15", 0)
>    TypeKey ("15", 0)
>    TypeKey ("15", 0)
>    TypeKey ("15", 0)
> EndScript
>
>
>  You might want to add a SayString statement so that Jaws says something
> when the hotkey is pressed, and Pause () statements might be necessary to
> allow the screen to update between calls to the TypeKey functions.  In the
> worst case, you might need more instructions to initialise the position of
> the cursor before you start to tab.
>
>  Do you know how to use the script manager to write and compile the 
> script,
> to add a hotkey to run the script and which file to write the script in?
>
>
>
>  Martin
>
>
>
>
> ----- Original Message ----- 
> From: "Mario Eiland" <eilandms@xxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Tuesday, January 04, 2011 9:08 PM
> Subject: [jawsscripts] Re: how to create an access key for an edit field
>
>
>> Yes,
>>
>> However, at this point one must press tab four to five times to get to 
>> the
>> field.  My reasoning for creating an access key to the edit field is to
>> streamline the process to enter data when taking notes when on the
>> telephone, as an example.
>>
>> Thanks!
>>
>> ----- Original Message ----- 
>> From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Tuesday, January 04, 2011 7:57 AM
>> Subject: [jawsscripts] Re: how to create an access key for an edit field
>>
>>
>>> Are you able to navigate to that edit box using the keyboard?
>>>
>>>  Martin
>>>
>>>
>>> ----- Original Message ----- 
>>> From: "Mario Eiland" <eilandms@xxxxxxxxxxxxx>
>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>> Sent: Tuesday, January 04, 2011 12:21 PM
>>> Subject: [jawsscripts] how to create an access key for an edit field
>>>
>>>
>>>> Hello,
>>>>
>>>> I have an application where I would like to use an
>>>> alt+{any key} to jump to an edit field.  How would one go about doing
>>>> this
>>>> using scripting?
>>>> Any ideas would be appreciated.
>>>>
>>>> Mario
>>>>
>>>>
>>>> __________�
>>>>
>>>> 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
>>>
>>
>> __________�
>>
>> 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
> 

__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: