[jawsscripts] Re: Scripting a "f" key

  • From: "Mark" <torgersonenator@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 1 Dec 2008 12:24:17 -0800

Hi David,
     Thank you for the help. The F1  key works like a charm now.
     In case you wonder what on earth I am doing over here, I am creating 
short cut keys for all the items on the main screen for Norton internet 
security. I noticed that even though F1 does bring up help it was not listed 
in the JAWS key list. So, I thought I had better create a key for it.
     I very much appreciate your help!

God bless,
Mark
----- Original Message ----- 
From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, December 01, 2008 10:37 AM
Subject: [jawsscripts] Re: Scripting a "f" key


> the syntax for typeKey is:
> TypeKey ("key name")
> for you to simulate the f1 key, you would use:
> TypeKey ("f1")
>
> Also, if you open the common.jsm file, you will see where these keys
> have been defined as constants.
>
> In this case, you could use the appropriate constant for the key in
> question.  However, if you are specifying a constant when using the
> TypeKey function,  then you must not use the quotes when specifying the
> constant.
>
> in common.jsm the f1 key is defined as a constant.
> from common.jsm see the following constant definition.
> cksF1 = "F1",
>
> to use this constant to simulate the pressing of the f1 key the typekey
> function would be done this way.
> TypeKey (cksF1)
>
> One final thing.  Be sure to include the common.jsm file in the top
> section of your script file if you plan to use any of these constants.
>>>> "Mark" <torgersonenator@xxxxxxxxx> 11:55 am Monday, December 01,
> 2008 >>>
> Hi
>     How does a person insert the F1 key in the typekey command?
>     Thank you.
>
>
> 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
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
-- Currently in Pendleton, Eastern Oregon Regional At Pendleton, Oregon 
Obscured, Fog 37.9°F Wind:SE-130° at 3mph 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: