Jaws script to layer commands.

Introduction

When using the keyboard to navigate around your environment all day every day the number of key combinations you need to remember runs into the thousands. I want a more logical system to give me access to the information I need quickly and efficiently. Layers provide that to me. If I want jaws information such as the font, window title or even currently active script I can start a layer for those commands and choose letters that seem more logical to me. then don’t have to remember if the command for title on a Braille display is t chord, control t or shift t or any combination of the three. This isn’t a negative reflection on the conventions used by companies who implement keyboard navigation, it’s simply a fact that different people find different solutions more suitable.

Layers also cut down on the number of keys that need to be pressed similtainiously allowing for one handed access when required. Take for example the wonderful Qwitter-Client for Twitter For every command in Qwitter you must hold down control, Windows key then the letter or arrow associated with that function. With layers you could specify that once in the Qwitter layer you only press single letters or arrows. This allows you to keep one hand on a Braille display for example. ith layers you can also associate Braille keys with functions that wouldn’t ordinarily be accessible from your Braille display. For example with the Focus 40 Blue you can use the wiz wheels to navigate around buffers and tweets.

With layers you could also associate different voice profiles and configuration options so that for example when in the Jaws information layer the speech rate is slower and all punction is spoken if that was required.

This idea is in it’s early stages. Please Contact me with your suggestions.

Installation.

The following steps show a high level overview of the tasks required to install the Jaws Layer Commands scripts.

Get the files.

  1. Download the compressed ZIP archive jlc.zip.
  2. Copy the files in this zip archive to your jaws settings directory. To find this do the following.
    1. Press the windows key to enter the start menu.
    2. If using Windows XP press the letter p. If using indows Vista or seven, arrow down to all programs, press the right arrow then arrow down three more times.
    3. Press the letter j until you land on the Jaws menu.
    4. Press the right arrow to expand this menu.
    5. Press the letter e to jump to the explore Jaws item.
    6. Press the right arrow to set focus on the Explore your settings item then press enter.
    7. This will open the folder where you can paste the files from the ZIP archive.

Make changes to your default file.

Note, making changes to your default file is not as risky as making changes to the default file for all users however it is still suggested that you make a backup before completing this. If you are uncertain as to what to do here please do not hesitate to Email DigitalDarragh for assistance.

  1. Open the script manager by pressing JawsKey and 0. The Jaws key is the insert on a desktop keyboard or the caps lock on a laptop keyboard.
  2. Now open your default file by pressing control, shift and the letter d.
  3. o down to the bottom of this file by pressing control and end.
  4. Paste the following line.

    use “jlc.jsb”

  5. Save this file by pressing control and s.
  6. Open your default keyboard map file by pressing control and o to launch the open box then typing the following file name

    default.jkm

  7. Now press enter.
  8. Press control and end to go to the bottom of the file.
  9. Paste the following lines exactly as they are shown here.

    Braille Dots 1 2 3 4 5 Chord=JLCQwitterLayer
    Braille Dots 1 4 5 Chord=JLCJawsBrailleInfoLayer
    Ctrl+alt+Q=JLCQwitterLayer
    CTRL+Alt+D=JLCJawsBrailleInfoLayer

  10. Save the file by pressing control and s.
  11. Exit the script manager by pressing alt and F4.

To ensure all of the new enhancements have taken effect press control insert and escape to refresh the Jaws scripts.

Keyboard commands.

The following table provides commands for starting each layer. Press the command a second time to exit that layer.

Description Qwerty keyboard Braille keyboard
Start Qwitter mode Control Alt and Q Q chord
Jaws info layer Control Alt and D D chord
Qwitter mode

The following table gives a quick overview of the keyboard commands used by the Qwitter layer.

Top of bufferDelete current tweet
Description Qwerty keyboard Braille keyboard
New tweet N N
Reply to tweet R R
Direct message D D
Retweet F F
Previous tweet Down arrow Braille wizwheel down
Dot 4 chord
Next tweet Up arrow Braille wizwheel up
Dot 1 chord
Previous buffer Left arrow Press left Braille wizwheel
Dots 1 2 chord
Next buffer Right arrow Press right Braille wizwheel
Dots 4 5 chord
Home Dots 1 2 3 chord
Bottom of buffer End Dots 4 5 6 chord
Indevidual timeline I I
Update buffer U U
Dot 7
Activate link Dot 8

Jaws info commands

These don’t really provide any usability benefits. They are here as a proof of consept. The aim is to illustrate how commands could be standardised across Braille displays by using layers. Please contact me via Email if you would like any functionality added to this layer or indeed if you would like other layers to be created.

Jaws graphics labeler
Description Braille keyboard
Read window title T chord
Jaws find F chord
G chord

Of course these commands can be written without using chords. however this functionality has not been extended to the Jaws info layer yet. Expansion of this will depend on the level of interest.

While in any buffer other scripts become temporarily unavailable. This has been done deliberitly to ensure that there can be no over lap.

Thanks

My huge thanks to Sean Randall. ithout him this would be nothing mroe than idea. He’s the brains behind it.

DigitalDarragh.com supports jump lists in IE9.

Jump lists in Windows 7 are lists of commonly used features for a particular application. For example, if you pin Microsoft Outlook to your task bar in Windows 7 you will see new message, new appointment, new task and new meeting in the jump list. For Microsoft word you’ll see a list of recently opened documents for example. To access a jump list simply right click the name of the application in the task bar.

With Internet explorer 9 jump lists are also supported in websites. Website developers can create jump lists that allow you to go directly to a specific page on the site from your task bar. For example, to jump directly to the blog you would right click on DigitalDarragh in your task bar and then click blog. Your browser would open on that page.

Pinning a website to your task bar is very simple.
when on www.digitaldarragh.com within Internet explorer 9 simply drag the tab titled DigitalDarragh down to your task bar.

Now, when you right click the DigitalDarragh task bar item you will see the jump list associated with it. This allows you to jump straight to the computer room, music room, contact me page, blog or about me page.

If using the keyboard:

  1. Go to www.digitaldarragh.com
  2. Press the windows key on your keyboard.
  3. Press escape to close the start menu then press the tab key.
  4. Use the right arrow button to go across to Internet explorer.
  5. Press the applications key to bring up it’s jump list.
  6. Use the down arrow to find digitalDarragh.
  7. Press the right arrow to open the context menu for this item.
  8. Arrow to pin to task bar and press enter.
  9. Close Internet explorer.
  10. Go back to the task bar by pressing windows key, then escape and tab to move across to it.
  11. Arrow around until you find DigitalDarragh.
  12. Use the applications key on your keyboard to open the jump list.

I know that’s a lot of steps for keyboard users but it’s not so bad because it gives you a nice shortcut to jump to the DigitalDarragh website. You can now press the windows key and the number associated with that pinned task bar option to jump directly to the website. Finding out the number associated with that pinned option is quite straight forward.

  1. Go to the task bar. Press the windows key then escape to exit the start menu. Press tab once to move to the task bar.
  2. Each task bar option is associated with a number. Internet explorer is usually number 1 as it’s first in the list. When you jump to the task bar the option that is currently selected is the first option in the list. When you press the right arrow you will be on the second item in the list therefore this will be associated with the number 2. Continue to press the right arrow while counting the number of task bar options you are moving across until you reach DigitalDarragh. On my PC it is the third in the list of task baritems therefore if I press Windows and 3 I will launch the DigitalDarragh.com website.

It gets better. Say for example Internet explorer is set to the first task bar item therefore is accessible by pressing Windows key and 1. You can Minimize and restore this by pressing this key combination. No matter what application you are in you can press windows key and 1 and Internet explorer will come back into focus. If it isn’t running it will start for you. If however you want a second Internet explorer window open you can press windows key, shift and the number 1.

These quick access keys for task bar items are particularly useful and their one of the main reasons that I love Windows 7.

The procession of the damned.

Walking from Pearse Street toward Nassau Street in the mornings is a very strange experience. If you time it just right, you’ll be in the middle of about thirty people walking in the same direction as you.

What makes it funny is their all regulars. There’s tall woman with the strong perfume, Small woman with the strong perfume, Man on the phone, man with the really noisy shoes, Man listening to loud music and woman in a hurry to name a few. They all even have their certain place that they stand at when crossing the road in front of Pearse station. Tall woman with the strong perfume stands before the lights but for some reason she always cuts in front of me when I’m crossing. She’s easy to hear. She’s got such a long stride and I have often wondered if she’s that tall because instead of high heels she’s wearing stilts. With the sound of them I think they must be huge. Small woman stands right beside the traffic light pole. She seems friendly enough as well. I’ve spoken to her a few times on the way to the station in the evenings. I know she lives in Drogheda but she sounds like she’s originally from the centre of Dublin.

We’re all on a mission. All determined to make our way to the hamster wheel. All rushing to sit in our corner of our box for the day. Even with this inevitable doom looming in our immediate future we all walk with purpose, and conviction taking in these last moments of freedom before work begins for yet another day. We’re all in a procession. Marching to the tune of routine, responsibility, expectation and anticipation. It sounds like a funeral that’s been sped up. All these people wearing their formal footwear make a very definitive sound. It is similar to what you would hear if a funeral procession began running down the road instead of taking their time. The only time the sound of the marching masses is broken is when a few school girls come shuffling past babbling and chattering while dragging their feet.

At the drive in entrance to Trinity College some of our group peel off. The ordered line of people now becomes more widely spaced. Turning on to Nassau Street some people make a run for it. There the rebels. The free thinkers. The idiots that try to get themselves killed by running in front of traffic just to get to their hamster wheel that few seconds early. The lights no more than a few meters away would pose an unacceptable delay to their journey to captivity. By the time we get to the last traffic light at my crossing there are three of us left. We’re the last hamsters standing.

I’m taking a lot of pleasure in this march to damnation in the morning. Since June of last year I’ve had to hold back and let this crowd go ahead of me. It wasn’t possible to walk with that volume of people using the Cain. Now that Ike is becoming more comfortable in crowds we’re holding our own.

It just made me laugh this morning so I thought it was worth briefly writing about it.

Commands used for guide dogs.

In the last post I asked what you would like me to write about next. Elly asked a very interesting question. She wanted to know how I teach the dog new routes.

This is a bit different for everyone and in fact I have a few different ways of doing it depending on where I’m going or how fast I have to get there.

I’ll generalise for a moment first. Some people like to have a sighted person go with them the first time they do a route. This is especially the case when it’s a new dog. By having a sighted person with you you can get very comprehensive details about the area you’re in so in turn when you walk that route with the dog you can provide him or her with very specific and accurate instructions. This gives the impression to the dog that you’re very confident and in turn the dog will replicate this by being focused, comfortable and observant. This is actually crucial as I’ve said before. If you’re not confident when giving commands to the dog it won’t be confident when following them. It takes quite a lot of time before the dog will mature into having the skills necessary to pick up the slack when you can’t. I said in my six week review post that Ike had already started to demonstrate this ability but it’s not something I’d push just yet as to do so could actually have the opposite effect.

When I got Freddie I certainly used a sighted guide for areas where I wasn’t particularly confident in. I also used a few other tricks though. For example, there was a lecture room in college that was in a corridor with six other doors. Aside from counting each door by touching them on the way past I had no way of knowing when to get the dog to find the door. The solution I used that time was to ask one of the caretakers in the college to temporarily put a mat across the corridor a few feet away from the door that I had to find. Therefore when I hit that mat I could start giving the dog the command to “find the door”.

I lived in a house in Dundalk after finishing college. It was in a row of houses and again, without actually counting the drive ways by hand there was no way I could figure out where the house was. Luckily by this time I was confident that Freddie would learn where the house was after a few days but to make it easier I used a small amount of sand and sprinkled it on the path just in front of the house. It only lasted a few days but it gave me a clear indication as to when to give the dog the command to “find the way”.

When I moved to Drogheda I had gas installed in the house. While working they had to pull up a small section of the path across the road temporarily. This coincidently gave Freddie a specific marker that he had to stop at. I then gave him the command to “Find the curb” while sweeping my hand across to the left. By the time they had finished working on the path Freddie had known that the house was right across the road.

Now that I know that area very well I know what to expect before I get to that point. I pass a pole that always emits a low hum and directly after that there’s a really wide drive way that is properly sloped. Once we get over that drive way I stop at the next crack in the path. Specifically the cracks higher on one side. That will line me up exactly with the gate to my house. Knowing this was perfect when I got Ike because he tried to predict when I wanted to stop but he was coming up a bit short. By knowing that crack was directly in line with the gate I was able to tell him to “hop up to the curb” to signify that it was a little further. All of these commands had to be given in a very positive and encouraging tone so as to show him that he was still very good for finding the area that we wanted to cross at but he needed to go a little bit further.

Now, for routes that I don’t know anything about, this can be tricky. In fact, at this early stage, I probably wouldn’t do them with Ike on my own. When we were in Belfast Emma was with me so she was able to give me pointers when we needed to turn. It’s worth mentioning here that because Emma knows me so well she knows that giving me directions isn’t just as easy as saying left, right or straight because the dog listens to her. Ike hasn’t got to this stage yet. He will though eventually because if Freddie is anything to go by, he’ll hear someone saying left or right and he’ll try to pre-empt it by taking the direction before I say it to him. For that reason Emma will usually use some other way of relaying the next direction. This isn’t vital of course, it’s just a nice alternative because again, it allows me to be fully confident in the directions I’m giving him and he’s getting all the directions, encouragement and praise from me so it remains a very positive experience for him.

When in new areas it’s hugely important that you give definitive hand signals to follow up every verbal direction you give the dog. These hand signals are given with your right hand. The table below summarises these:

Straight on. With your arm reasonably straight and your hand outstretched by your side move your arm straight ahead of you pointing forward.
Find right. Tap your right leg with your right hand and point to your right using the same slightly over exaggerated motion of moving your arm to your right.
Find left. Tap your right leg with your right hand. This gets the dogs attention. Sweep your hand forward then around to the left.
Left. Used when standing at curbs. It’s safer in this instance to turn like this because the dog comes in front of you instead of you going in front of the dog. In other words, the dog is closer to the traffic than you are. Take one step back from the normal guiding position. Say left repeatedly to the dog while tapping your right leg with your right hand. Do this until the dog is facing to the left. Finish the command by using the straight on command in conjunction with the hand motion as explained above.
Back. Similar to the left command. Take a step back, tap your right leg and say back. When the dog is facing the right way, confidently follow up with a straight on command and give praise. Dogs usually hate going back the way they came. If they go back expect them to try to find something that you may be looking for. They start to learn over time that if they go back it’s because you’ve missed something. Or maybe that’s just me.
Find the door. Tap your right leg and point in the general direction of where you think the door is. Continue by saying find the door in an encouraging tone until the dog eventually finds it. Give plenty of praise when you get there.
Find the steps.
No real command here, point in the general direction of the steps and if the dog isn’t slowing down, give the steady command.

When walking using a GPS you have to show confidence even when you don’t feel it. If you get an instruction to turn left after twenty metres then you walk about twenty five steps and start to tell the dog to find left. When I was walking to Dublin castle a few weeks ago I had no idea where my destination was but I knew the general layout of that area. I at minimum knew that if I was completely lost I could use the sindero app on my iPhone to find the nearest street names and points of interest. That gave me enough to fall back on to allow me to remain confident.

A few key things you want the dog to find in new areas are crossings, curbs, doors, and turns. For example if taking directions from someone you try to determine what turns you need to take. By knowing that you know when to get the dog to find the crossings. If it’s not a city area then you may not have controlled crossings so in that situation I use curbs to differentiate to the dog that he is looking for something different.

Finding a specific door to a shop in a busy street can be difficult. There are a few tricks to it. Let’s take boots on Grafton Street as an example. By knowing that area now, I know that if I smell the coffee from McDonalds I know I’ve gone too far so I need to turn back. Unfortunately sometimes it’s just a matter of cancelling out the shops before finding the right one. There’s a photography shop that I go into sometimes on the top of Grafton Street near the shopping centre. It’s very hard to find. Up at that side of the street the shops have very narrow doors so it’s really hard to hear where the openings are. By that I mean, shops with big doors usually have fans blowing air into the shop. Or they have music playing. Sometimes you can just feel the heat or you can feel the lack of solid space on one side if you’re walking beside a shop with a big opening. For this photography shop I know that directly inside the door there are steps going up. The shop before it has a ramp. The doors feel similar though so I only know that I’ve gone into the wrong shop when I encounter the ramp. HMV isn’t too far away from that shop either so I know when to slow down to start feeling along the wall. When I say I feel the doors I try to do this as inconspicuously as possible. I won’t exaggerate though. It’s a really hard place to find so when all else fails and I’ve misjudged the distance away from it I grab a passerby and ask them where it is.

In Drogheda I could walk around there on my hands and still know where I am so shops that have small doors don’t pose as much of a challenge. It’s also quieter in Drogheda so it’s easier to use other noises as land marks. For example, an electrical shop is very near to a part of West Street that gets considerably narrower. When I start to try to find the door into that shop I know that the shop before it has a wide door or coming from the other side, the shop before it has round plaques on the wall outside it. I also know that on the other side of the road it’s between two crossings. There are a number of land marks that are easier to hear and because I’m originally from there I’ve kept up with the small changes that have been made over time.

Giving commands to a guide dog is kind of funny in a way. You have to be consistent and logical while remaining very positive and encouraging. For everything it does right you have to give loads of praise. On the other hand, Different dogs require different levels of interaction. I would consider Ike as a dog that requires more than the average level of interaction. Of course this will become less necessary as time goes on but I’m aware of dogs that started out that required much less praise and encouragement. As I always say to guide dog owners and even people interested in guide dogs. Every guide dog and handler is different. As well as this every partnership is also different. What works for one will unlikely work for another. Every command that I use works well with Ike but may be completely counter productive for another dog. Equally, my method of finding places may also be unsuitable for some and just completely silly for others. I know people who have fantastic awareness of obsticles in their environment. I have great spatial awareness. Different people use different strengths to their advantage.

Your choice.

It’s now up to you.

I’m running low on ideas.

What do you want me to blog about?

Topics could include:

  • Technology
  • Personal stuff
  • The dog
  • system administration
  • Music

Would you like more video or audio to be posted?

If you have any other more off the wall suggestions I’m more than willing to listen.

I just noticed recently that my posts before July 2009 are also missing. When did that happen? I’ve some work to do to figure out where their gone. There are a few posts from around that time that I’d like to keep around somewhere.

Show the domain server used at log in.

Lets say you have more than one domain controler in your organization. If your having issues with services not logging for some reason, you may want to be able to look at the logs on that DC. To do that you first need to know what DC your need to connect to.

From the server you are having problems with, run the following very simple command to get this information.

echo %logonserver%

The logonserver in that command is surrounded with the % sign because it is a variable. This makes it possible to use that information in scripts etc.

Ike, your getting on my nerves.

HELP! What would you do?

I have had Ike home now since the 30th of January.

Since class started on the 12th of January I have encountered issues with his spending routine. He intermittently but persistently relieves himself while working.

Imagine the following: Your working in a job that requires you to regularly walk to other offices and other buildings. You get half way to one of these buildings when your dog suddenly needs to relieve himself. You want to of course get him to a grassy area but the nearest one is five minutes away and when he starts showing these signs five minutes is just a little too far away. You try desperately to get there in time. Sometimes you make it, sometimes you don’t. When you don’t you need to listen to the disgruntled people walk by giving out and complaining that your dog has just messed the foot path. If you do make it, you still have to continue on your way to or from the job you were doing. The result is that a half an hour job now takes 45 minutes or more. This results in quite a substantial decrease in availability from a manager’s perspective.

Now imagine something else. You’re with a group of friends. You’re on the way to a pub when your dog needs to relieve himself again. You make it to a grassy area but you are holding everyone else up while your dog finds a suitable place to relieve himself.

Imagine you’re with a few people from upper management and your dog does the same?

Imagine your just getting to know people when your dog shits right in front of one of them as their walking?

Imagine the comments from people who say: “Wow. Your last dog didn’t do that”.

Imagine the constant struggle of trying to get your dog to relieve himself on a schedule that really should be perfectly suitable for him. Imagine spending 45 minutes in Stephens green in the afternoon giving the command over and over again.

Imagine not ever getting frustrated, annoyed or stressed about this.

I don’t have to imagine. I have to do it every fucken day. I have stood there at Stephens green using a voice you’d only use when talking to a small child walking up and down the grass area that he uses in desprit hopes of him spending. He does it eventually and if he doesn’t, I have no choice but to stay there until it happens because if I don’t I know that he won’t last the afternoon.

I have been late for work because in the mornings he just stands there looking at me. I have to run with him around the yard before he feels the need to go yet if I don’t make sure he spends he will need to relieve himself less than five minutes after we leave the house. I can’t explain how frustrating it is to spent twenty minutes trying to get Ike to spend but failing then after five minutes working he needs to go.

I have stayed calm, positive, friendly, patient and understanding for three months now but I have reached the end.

I can’t do this anymore.

The staff in the guide dog centre have been great. I can’t fault them. They have today suggested that I change Ike’s food to see if that helps. I’ve been asked to give it another month before doing anything else after changing the food.

I think I’ll try this. One more month. Hopefully within that time things will improve.

Ike’s work is fantastic. If it wasn’t I wouldn’t be so bothered by this. I am willing to do anything and everything it takes to make this right. I could say that Ike isn’t suitable for me because of this issue but what then? Go back to the Cain/ No! Thanks but no! I couldn’t do that again. I have no other choice but to find a solution to this.

boot from USB on the Asus EEE box B202

It’s actually very easy to boot from USB on the Asus EEE box B202 when you know how it’s done. When your trying to figure out though you would probably be forgiven for throwing the PC out a window in a very very tall building.

Firstly. Boot into the BIOS of your PC. Disable all boot devices excluding the hard drive.

Now reboot the PC with the USB drive attached. As the PC starts continually press the F8 key to start the boot menu.

Select your prefered USB device.

Note this shouldn’t need to be done. Under the boot tab there is a menu labeled mass storage devices. In here it shows the card reader as well as your USB key. You can then select the primary USB device for selection in the boot order screen. The problem is that in my experience when you selected the primary USB device to be anything other than the card reader the hard disk would intermittently become unavailable in the boot preferences screen. I can only deduct that this is a bug somewhere in the BIOS but either way it’s very frustrating.

I hope this helps.

Leaving the best to last.

Ike enjoying a b and a bottle of Magners.

Yum!

A picture that I left out of last Sundays post was one of Ike lying under my chair. He has a cut out of the letter b in his mouth. It’s made from styrofoam. There’s method to our madness. Emma wanted to just put it beside him but Ike decided it would look far better in a picture if he held it instead. Emma agreed.

App suggestion for the iPhone. TaskAlert

One thing I always loved about the PacMate was the today screen. At a glance by arrowing around the screen you could find out what appointments you had, Your upcoming tasks, the number of unread mail, the time and date and the battery level. Everything was just so easily at my fingertips. that’s one of the main reasons I love the iPhone. I have that same level of efficiency now with a smaller, faster and more powerful device. The one thing I’ve missed though is the tasks list. I’ve missed being able to quickly remind myself of things I need to do during the day. That’s why I’m so happy to have found TaskAlert. This is a very simple task management app that sits on your home screen. It shows you how many tasks are due today, it lets you set reminders, it categorizes your tasks and it lets you keep track of old and finished tasks.

If like me you have a lot to do every day I’d really suggest this small and free app for the iPhone.