Speed up task switching under Windows 2000 (XP?)

 
Post new topic   Reply to topic    The Last Dragons Forum Index -> DragonDictate Community
Author Message
Majination



Joined: 18 Jul 2003
Posts: 8
Location: Northern Calif.

PostPosted: Sat Jul 19, 2003 5:06 pm    Post subject: Speed up task switching under Windows 2000 (XP?) Reply with quote   

I use DragonDictate with Windows 2000, and quickly found that any task switching done by voice was painfully slow. After some time of putting up with it I decided to try to come up with something that would help speed the process up. What I ended up doing was modifying the [Task 1] through [Task 10] commands so that the Start Menu was brought up by clicking on it rather than simulating a Ctrl-Esc keystroke. This worked, and task switching via "Bring Up Task #" is as speedy as ever.

If you're experiencing the same slow down and are fed up, here are the steps to modifying your own commands. I should note that this script only works if your task bar is positioned on the bottom of your screen and is not set to auto-hide. If you have a different task bar configuration and you'd like help, just post a note.

Say "Bring Up", <b>pause</b> , then say "Task 1". Next, say "Oops", and when the [Task 1] command is hilighted say "Modify Word".

Note: If you find that you're editing the [Bring Up <Bring Up>] command, cancel out and do it again, without forgetting to pause between words (or use the Find Word command from the Voice Menu).

The default script for the [Task 1] command is as follows :

Code:
SendSystemKeys "{Ctrl+Esc}"
Wait 50
SendKeys "{Esc}{Ctrl+CapsLock}{Tab}{Right 1}{Space}"


What I did was "comment out" the first two lines by inserting an apostrophe at the beginning, which makes DragonDictate ignore them, and then added three simple lines that give us somewhat the same functionality. The lines added are :

Code:
SetMousePosition 3, 7
SetMousePosition 2, 0, 18
ButtonClick 1, 1


The end result should be what you see below.


Code:
'SendSystemKeys "{Ctrl+Esc}"
'Wait 50
SetMousePosition 3, 7
SetMousePosition 2, 0, 18
ButtonClick 1, 1
SendKeys "{Esc}{Ctrl+CapsLock}{Tab}{Right 1}{Space}"


If for any reason after saying "Bring Up Task 1" this script doesn't work for you, simply say "Oops" followed by "Modify Word" to change it back. If it does work for you, now you can follow these same steps to change the [Task 2] through [Task 10] commands. Yay, speedy task switching again!

PS - I highly recommend doing this to your [Start Menu] command. Who wants to wait every time they go to launch something from the menu?!
Back to top
View user's profile   Send private message   Send e-mail            
Michelle
Site Admin


Joined: 01 Jan 1970
Posts: 19

PostPosted: Sun Jul 20, 2003 4:32 am    Post subject: Reply with quote   

Thanks Magination, that's going to be the very first thing I do when I set up DragonDictate under Windows XP!

Michelle
Back to top
View user's profile   Send private message   Send e-mail            
Victor



Joined: 18 Jul 2003
Posts: 3
Location: Malaysia

PostPosted: Sun Jul 20, 2003 4:55 am    Post subject: Reply with quote   

Great tip, Majination! I am also running Win2K and modifying the commands has really helped to speed things up.

By the way, do you know of any macros to restart/shut down Windows by voice in Win2K? I used to be able to do it in Windows 98 but they don't seem to work anymore in Win2K Sad

Victor
Back to top
View user's profile   Send private message               
Michelle
Site Admin


Joined: 01 Jan 1970
Posts: 19

PostPosted: Mon Aug 11, 2003 4:39 am    Post subject: Reply with quote   

DragonDictate is (for the most part) running smoothly under Windows XP, thanks to the "speedy task switching" solution. One other problem I found, though, was that bringing up a task always brought up the task after the one I wanted. I don't know if it was because of Windows XP, or just an eccentricity of my particular computer, but if anyone else encounters it, here's how to fix it.

I followed Magination's instructions above, but before saving the changes to each command, I modified the last line. For instance, the last line of the script for [Bring Up] [Task 5] would look like this:

Code:

SendKeys "{Esc}{Ctrl+CapsLock}{Tab}{Right 5}{Space}"

I decremented the value in the {Right ...} command by one:
Code:

SendKeys "{Esc}{Ctrl+CapsLock}{Tab}{Right 4}{Space}"

And in the script for the [Bring Up] [Task 1] command, I removed {Right} entirely, brackets and all.

Hope this helps someone,

Michelle
Back to top
View user's profile   Send private message   Send e-mail            
Jeff



Joined: 19 Jul 2003
Posts: 2

PostPosted: Sat Aug 16, 2003 4:56 am    Post subject: V2.5 Reply with quote   

Y'all using DD2.5 or 3, because i couldn't get my [Next Window] command to do anything but minimize & maximum one of the available choices after making the changes. Win XP & DD 2.5 here

Jeff
Back to top
View user's profile   Send private message               
Majination



Joined: 18 Jul 2003
Posts: 8
Location: Northern Calif.

PostPosted: Sat Aug 16, 2003 4:19 pm    Post subject: Reply with quote   

I'm using 2.52, and have the same experience with [Next Window] and [Previous Window] under 2000. Basically, I just avoid them completely and use [Bring Up Task #]. It's more of a mouthful to say, but it's working for me.

It's unfortunate that there isn't a more in depth tutorial on the syntax of the scripting language. I just saw yesterday for the first time that you can have variables. If there are _global variables_ then I can make several commands work, and create some new ones too! Michelle, do you mind posting where your repository of macros and vocabularies can be found? If I have some examples to look through maybe I can learn something new to play with. =)
Back to top
View user's profile   Send private message   Send e-mail            
Jeff



Joined: 19 Jul 2003
Posts: 2

PostPosted: Sun Aug 17, 2003 7:38 am    Post subject: next window/task ? commands Reply with quote   

Kind of bizarre. I've never used the "task" commands. I've always liked the "next window" and "previous window" commands. Just tried the "bring up task ?" commands, but hesitated after "bring up" because that, for me, became more accurate for bringing up a certain named program than the complete "bring up 'program name'". And the "bring up" command activates the start menu. Adding "task ?" then brings up a certain window, which I guess is what it's supposed to do. Still like my "next window", "previous window" commands. Just need to figure out how to speed them up.

Jeff
Back to top
View user's profile   Send private message               
Display posts from previous:   
Post new topic   Reply to topic    The Last Dragons Forum Index -> DragonDictate Community All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group