![]() |
KnowBrainer Speech Recognition | ![]() |


|
Topic Title: change behavior of ALT TAB Topic Summary: make it more accessible Created On: 03/18/2010 09:28 AM Status: Post and Reply |
|
![]() |
- jask | - 03/18/2010 09:28 AM |
![]() |
- Alan Cantor | - 03/18/2010 10:56 AM |
![]() |
- jask | - 03/18/2010 12:05 PM |
![]() |
- Lunis Orcutt | - 03/18/2010 12:52 PM |
![]() |
- jask | - 03/18/2010 02:10 PM |
![]() |
- monkey8 | - 03/18/2010 02:12 PM |
![]() |
- jask | - 03/18/2010 02:29 PM |
![]() |
- R. Wilke | - 03/18/2010 02:45 PM |
![]() |
- jask | - 03/18/2010 05:46 PM |
![]() |
- Alan Cantor | - 03/18/2010 07:25 PM |
![]() |
- monkey8 | - 03/18/2010 06:07 PM |
![]() |
- monkey8 | - 03/18/2010 05:50 PM |
![]() |
- jask | - 03/18/2010 07:28 PM |
![]() |
- monkey8 | - 03/18/2010 07:56 PM |
![]() |
- jask | - 03/19/2010 09:17 AM |
![]() |
- jask | - 03/19/2010 09:39 AM |
![]() |
- bluerhino | - 03/21/2010 06:55 PM |
![]() |
- Lunis Orcutt | - 03/21/2010 09:23 PM |
|
|
|||
|
hi everyone, I was wondering if any of you know a way, to make the behavior of the Windows function ALT TAB more comfortable. I was thinking something along the lines off a command, that brings up the window containing all the applications that are running and then letting me choose by saying a number. I googled but couldn't find any good solutions. then i thought of an advanced script, that would press the alt key, keep it pressed, and wait for a number, and then hit tab as often as required. Thanks to Lindsay I am capable of creating a command, that's presses the alt keybut I don't know how to insert a variable into a running command. Is that even possible? Regards Janosch |
|||
|
|
|||
|
|
|||
|
Try built in commands such as "Switch to Next Window," "Switch to Previous Window," and "Switch to XXX," where XXX is the name, or a part of a name, that is visible on the task bar. (E.g., "Switch to Inbox," "Switch to Internet Explorer," "Switch to KnowBrainer Forums" etc.) I'm not sure where the following script came from, but I am almost certain that someone on this forum developed it. You can bring up a window by saying Switch to 1, 2, up to 10. "1" is the window closest to Start menu. Depending on how you have configured your system, you may need to modify the "SendKeys" line. This script contains two versions of this line, with one commented out. Name: Switch to <1_10> Declare Function SetForegroundWindow Lib "user32" _
|
|||
|
|
|||
|
|
|||
|
Hello Alan, thanks for your reply. I tried the script but it didn't work for me. I modified it a bit until it did This is what I got: Sub Main most probably not the smoothest way but it works :-) still, this is a good start but not perfect since i often have around 15 open windows which causes windows to stack them in the taskbar. which requires me to say switch to "<number of group>, up <number of windows>, return" - quite long in comparison to ALT+TAB. I dont like switch to next and previous windows, either, they are way to slow. I shortened those commands to next app / previous app but desire something faster that gives me an overview of the tabs and lets me choose a number. regards, Janosch (who is trying to bring mouseless and keyboardless control to perfection.) :-) |
|||
|
|
|||
|
|
|||
|
If you have enough monitor space to spare, you might consider moving the taskbar to the left or right side of your monitor as opposed to the bottom. When working with documents, e-mail messages and Internet Explorer, most of us need more vertical room than horizontal. If you extend your taskbar out to about 2 inches from the side of your monitor you should be able to read the text in every icon. This is also a great way to handle multiple monitors. You might also set the nest option so that nesting only occurs when you run out of taskbar space. We can view approximately 30 Windows before nesting starts.
The reason why we mentioned this is because in many situations, such as Microsoft Office applications, you can simply say switch to <name of file> to pull up that Window. For example, if we have 2 Excel customer spreadsheets labeled as “Johnny Cash” and “June Carter” all we have to do is say switch to June Carter or just switch to June to pull up the June Carter spreadsheet. This is more precise than saying Switch to Excel. Sometimes keeping it simple is best; even though it rubs us the wrong way However, Internet Explorer is a different animal altogether. Because we frequently toggle between 5 and 8 tabs in Internet Explorer, KnowBrainer includes a global <1st - 8th> Tab and a Refresh <1st - 8th> Tab command. As you have probably already guessed, the Refresh <1st - 8th> Tab command switches to Internet Explorer, chooses the appropriate tab and refreshes the browser. We're also experimenting with a Refresh All Tabs command today and will add it to KnowBrainer if there is any interest. -------------------------
|
|||
|
|
|||
|
|
|||
|
hi, I used to have my taskbar to the right side but it didnt feel comfortable. a second monitor is not an option since I carry around my laptop pretty much anywhere. I will keep an eye open for a solution that includes a kind of a browser for alt-tab. regarding the tab option, I implemented that for my Firefox, too. I use "link <number>" (left click link), "new <number>" (open link in new tab), "go <number>" (go to tab with number X) . Works like a charm. There are those still a few things I'm looking into except for the tab-browser i.e. can you make links in e-mails (outlook) clickable by speech? one of the most useful commands I have is the word "return". I mapped that to keystroke "enter". Especially when browsing or for MsgBoxes that comes in very handy...
Regards Janosch |
|||
|
|
|||
|
|
|||
|
Which operating system are you using?
------------------------- |
|||
|
|
|||
|
|
|||
|
hi Lindsay, I use exclusively Windows XP. Service pack 3.
Regards Janosch |
|||
|
|
|||
|
|
|||
|
Well, if you were using Windows 7, Lindsay would have asked you to set the display to Areo design, and try WinKey + Tab. Thanks for the tip, mate. Rüdiger
------------------------- Well, it's past the point where we can make any changes in the code, but we can still make changes to the Easter Egg! |
|||
|
|
|||
|
|
|||
|
hi Rüdiger, thanks for the hint, that gave me the name of the Windows 7 app which I could then track down to Windows XP. It looks nice but it It's not what I was looking for. So I googled some more and even more and more :-) anyhow, I found a program that does exactly what I wanted to, its name is "VistaSwitch" ( works for windows XP, too). I configured it so, that shows a numbered list of all tasks.. The only problem is,it can only work with numbers 1 to 9. when you have more tasks than that, you have to use the arrow keys. I figured I could get around that by simply making a command like the following: Name: app <1to9> <1to9> Sub Main Works pretty well, I only wish it was a bit faster. I googled and tried to find something in the Dragon help, but there seems to be nothing that controls the delay. Do you know of a way to speed up the input of the {Down} key?
regards Janosch |
|||
|
|
|||
|
|
|||
|
Quote: Sub Main number = ListVar1 For I = 2 To number Step 1 SendKeys "{Down}" Next I SendKeys "{Space}" End Sub Works pretty well, I only wish it was a bit faster.
This should speed it up, but you probably won't notice a difference for smallish values of listvar1. Sub Main number = ListVar1 - 1 SendKeys "{Down " & Str$(number) & "}" SendKeys "{Space}" End Sub
|
|||
|
|
|||
|
|
|||
|
Quote: Well, if you were using Windows 7, Lindsay would have asked you to set the display to Areo design, and try WinKey + Tab Rüdiger, Sure would have been easier, the problem is that once you call ALT + TAB and hold the ALT key with Windows XP you can't then use the normal voice commands, e.g. "press tab", to move between the tasks (not even with a SendSystemKeys script) and thus you need to use keyboard events as in the second script. Finally you have to use keyboard events again to select the highlighted task. With Windows 7 and Vista using the ALT + TAB is a lot easier. You can of course amalgamate the lines from the various scripts to have one or two scripts and they all work very fast. Anyway 20 minutes doing those scripts is light relief compared to 3 days of artificial intelligence! I should add that the above scripts are for XP, if you can't work out how to use it with Windows 7 and Vista then let me know. ------------------------- |
|||
|
|
|||
|
|
|||
|
With Windows XP you can access tasks straight from the taskbar using various scripts but you seem to have this working (I will give you a script if you don't). Declare Function keybd_event Lib "user32.dll" (ByVal vKey As _ To move between tasks use the following script (e.g. "move one task", "move four tasks" etc, call the script something like "move <1to9> tasks" and this will use the <0to9> that comes with the commands file). Incidentally if you want to cut out all the If ListVar1 ... lines below then just use a list of numbers instead of "one,two…" etc (it was easier for me to cut and paste this) And finally to select the task highlighted in the ALT + TAB window use the following script (e.g. call it something like "select task" Declare Function keybd_event Lib "user32.dll" (ByVal vKey As _ Finally what is the reason that you want to use the ALT + TAB method since you can go direct to the tasks from the taskbar or by using ------------------------- |
|||
|
|
|||
|
|
|||
|
Hi Lindsay,
EDIT: as for the "Switch to" Command ... I find it often not reacting properly to my application windows + when working i have between 10 and 20 open windows which makes the task-bar look very overloaded. The application I use now gives a real nice Overview (see attached screen)... regards Janosch
|
|||
|
|
|||
|
|
|||
|
If your list is only the digits 1 to 9 this will speed it up: (I am only using one list) e.g. "app 4" if you want to move down more than nine applications at a time then you need to use a complex list which is basically a list like: the script then becomes: Sub Main ------------------------- |
|||
|
|
|||
|
|
|||
|
Hi,
the tool I'm using is called Vista switcher. You can download it here: http://www.ntwind.com/software/vistaswitcher.html I adjusted some of the settings to get the output shown in the screenshot. Thanks for the hints considering they use of a faster command. It works, although it crashed all my windows twice now. I can't reproduce the error. Simply all open windows closed down. I will keep an eye on that. Also dragon wouldn't let me write the following: number = ListVar1-1 I had to write number = Listvar1 number 2 = number-1 Weird. Regards, Janosch |
|||
|
|
|||
|
|
|||
|
i found the reason for the window crashes. when in the "vista-switcher"-window you can press a (selects all currently open windows) and then t (terminates all windows). when i say i.e. "app 7" and dragon gets me wrong because i dont pronounce correctly the following gets send: "at seven" ... you see the first two letters? ;-) thats rough. Unfortunately you cant deactivate this function. i will rename my command to something thats far away from AT :-) and maybe mai lthe "vista-switcher"s author about it...
Regards, Janosch |
|||
|
|
|||
|
|
|||
|
This is from the DNS 10 manual from the Nuance site:
When you’re pressing keys, you can press any combination of the modifier keys (SHIFT, CTRL, and ALT) at the same time as another key, such as a letter. For example, you can say: “Press Control Z” (undoes last action) “Press Alt F” (opens File menu) “Press Shift Tab” (moves backward through dialog box options) Dragon ignores the command “Press Control Alt Delete” (the keyboard shortcut for restarting a computer).
Example: “Press ALT Tab” will allow you to scroll through the open windows while holding ALT (once the open programs show) and pressing Shift and then Tab will allow you to scroll backwards through the list.
Is Dragon able to duplicate this? |
|||
|
|
|||
|
|
|||
|
NaturallySpeaking cannot do {Ctrl+Alt+Del} but KnowBrainer 2008 can and KnowBrainer uses logical command names like Other Window and Start Task Manager {Ctrl+Alt+Del}. However, you can always substitute saying press control shift escape.
-------------------------
|
|||
|
|
|||
FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.