One thing to do first -- once you've created a shortcut key in Windows, press it to make sure it's bringing up the right program. Some applications already have shortcut keys assigned, (like, for example, one of the Nero programs has Ctrl+Alt+J, which is a popular keyboard shortcut for jaws) so you want to be sure your computer is bringing up the right thing before you set up the script.
> -----Original Message----- > From: Jfw [mailto:[email protected]] On Behalf Of Nicol > Sent: Friday, April 11, 2014 4:52 PM > To: [email protected] > Subject: shortcut keys to launch programs > > Hi all > I want to share something with you that I think will help a lot. > I know the basics of creating simple jaws scripts. > And I have thought of a wonderful idea. > IN windows it is possible to tie a shortcut key to a program to launch > the program instantly. > You locate the shortcut either in the programs menu or on the desktop. > Then you either right click and choose properties or press alt enter. > Then you move with tab to the field where you can press a letter. > Then you press the letter without alt and control. > Then you tab to ok and hit space or enter. > To launch the program you press that letter together with the alt and > control keys. > Now here is the idea I want to share. > Lets say you have a lot of programs tied to shortcut keys and you > cannot remember each one's keystroke. > Instead of just pressing any alt control letter combination to get the > program you are looking for and in the process exit unwanted > applications, here is a neat idea. > You will use keyboard help mode to find out which keystroke is tied to > which program's shortcut. > In this example I have tied alt plus control plus o to launch > microsoft word. > So I am going to create a script so that jaws will tell me which > program is tied to alt plus control plus o . > I'm going to cover the basics of creating a script. > In this example I have tied control plus alt plus o to Microsoft word. > In other words, if I press control plus alt plus o, microsoft word will > be launched. > Step1: press insert plus f2. > step2.. press s until you get to script manager and hit enter. > Step3 now you are inside the script manager. > Step 4. for this script its best to use the default file. So press > control plus shift plus d. > Step5 go to the bottom of the file with control plus end. > Step6 press control plus e. > You are in the dialogue box to start creating a script. > Step7 Your cursor Is on the field for the script name. in this case the > name will be the name of the program tied to a specific alt control > letter combination. > In this example I simply type winword as the script name.. > You can use anything for a name. > The name is not the actual description of what the jaws script does. > Its basically just a name for the script. > The name cannot contain spaces. > Step8 Press tab once and press space to tick this checkbox. > Step9 Press tab once. > Here is the most important part of the script. > Type a short description. > In this case The description should tell you what program you are > launching. > In this example I will type : > This keystroke will Launch microsoft word. > The next field is where you can type a longer description but in this > case a longer description is not necessary. > You only need jaws to tell you which program is launched with the > particular alt control letter combination. > Step10Now press alt plus A. > It's a shortcut that will move you to the place where you will press > the jaws script's keystroke instead of pressing tab until you get to > the place for the jaws script's keystroke. > Now press the keystroke that you have tied to the particular program. > In this example I have tied microsoft word to control alt o. > Now the difference here in the dialogue box to create a new jaws > script: > Here you have to press the entire keystroke combination. > You have to hold down alt and control and press the particular letter. > This differs from the dialogue box where you tied a keystroke to a > particular program. > There you only pressed the letter without alt and control. > But here in the dialogue box to create a jaws script, you have to hold > down alt and control and press the letter. > Now press enter. > Enter will activate the ok button. > Now you are in the script file where you actually type the source code > of the script. > In this script you only need one line of code: > TypeCurrentScriptKey () > This line of code will tell jaws to pass the keystroke on to windows > so that the particular program will be launched. > In this example microsoft word. > Step11 The easiest way to insert the above line of code is to press > control plus I. > This is a dialogue box with all the functions that can be used in jaws > scripts. > Press tab once. > You are in the list box containing all the functions. > You can use first letter navigation here. So just press the t and the y > keys. > The cursor will be on the function that says type current script key. > Press enter and the function will be inserted. > Step12 Press control plus s to compile the script. > When the script is compiled, it is converted into binary code also > known as machine language. > You should hear jaws saying: compile complete. > If you have made a typing mistake jaws will inform you of the type of > error. > But in this simple script, you select the type current key function > from the list of functions so the script should compile without errors. > Now press alt f4 to exit the script manager. > Lets say you forgot which program you tied to which keystroke for > example alt plus control plus o. > This is what you do. > Hold down the insert key and press the 1 key above the q key. > You will hear jaws say: keyboard help on. > Any key tied to a jaws script will have a description. > So if I now press control plus alt plus o in this example I will hear > the description that I have added to the script. > In this example I will hear jaws saying: > Control plus alt plus o: this keystroke will launch microsoft word. > If a script have a longer description assigned to it, pressing the > script's keystroke twice quickly within keyboard help mode jaws will > read to you the longer description. > For example, if you press control plus c twice quickly within keyboard > help mode, jaws will read to you the longer description for control c. > In this example, I haven't added a long description to the alt control > o keystroke, so if I press control plus alt plus o twice quickly within > keyboard help mode, I will hear nothing. > If no jaws script is assigned to a keystroke, you will only hear the > keystroke that you have pressed; no description. > Lets say you have tied control plus alt plus x to microsoft excel's > shortcut but you haven't created a jaws script for control plus alt > plus x, if you press alt control x in keyboard help mode, you will not > hear any description, just the keystroke To go out of keyboard help > mode you again hold down the insert key and press the 1 key above the > q key. > You will hear jaws say: keyboard help off. > So, I am sure this will help you. > Each time you tied a keystroke to a program to launch it, remember to > go into script manager right after that and follow the steps above to > create a jaws script so that you can hear which program you tied to > which key by using keyboard help mode. > I have jaws Version 13.0.1006 and I have windows 7. > Nicol > > > _______________________________________________ > Jfw mailing list > [email protected] > http://lists.the-jdh.com/mailman/listinfo/jfw_lists.the-jdh.com _______________________________________________ Jfw mailing list [email protected] http://lists.the-jdh.com/mailman/listinfo/jfw_lists.the-jdh.com
