![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Selecting different account inboxes in Outlook by voice Topic Summary: Custom commands for Outlook inboxes Created On: 06/15/2021 10:42 AM Status: Post and Reply |
|
![]() |
![]() |
- Matt_Chambers | - 06/15/2021 10:42 AM |
![]() |
![]() |
- Lunis Orcutt | - 06/15/2021 12:05 PM |
![]() |
![]() |
- Matt_Chambers | - 06/15/2021 03:25 PM |
![]() |
![]() |
- monkey8 | - 06/15/2021 12:11 PM |
![]() |
![]() |
- Matt_Chambers | - 06/15/2021 03:27 PM |
![]() |
|
I'm trying to figure out how to select different account inboxes in Microsoft Outlook, using my voice, rather than the mouse. I'm using Outlook 2019, locally installed on my Windows 10 PC. I have three different email accounts that feed into Outlook. In the Inbox view in Outlook, I can see all three accounts, but I can't figure out a way to navigate among them. There don't seem to be any keyboard shortcuts that enable me to move among the inboxes, and I can't figure out the VBA code that would work. I've done some research, but can't find any examples of how to do this, except by mouse. This strikes me as very user unfriendly programming by Microsoft, but in general Outlook suffers from that problem. Anybody have any suggestions? |
|
|
|
![]() |
|
If you are using KnowBrainer 2017 (w/2020 AI Commands), you can open any personal folder (hopefully any email address); not just the default folders. We only have one inbox but if we want to open our personal Nuance folder we say Go to <Nuance>. If you're not using KnowBrainer, you can optionally copy the following Outlook application specific Advanced Scripting Go to <dictation> AI command into Dragon:
Sub Main SendKeys "^y" Wait 0.5 SendKeys "{Home}" Wait 0.1 SendKeys "i{Right}" Wait 0.3 SendKeys ListVar1 Wait 0.5 SendKeys "{Enter}" End Sub ------------------------- Change "No" to "Know" w/KnowBrainer 2020 |
|
|
|
![]() |
|
Sub Main
SendKeys "^y"
Wait 0.5
SendKeys "{Home}"
Wait 0.1
SendKeys "i{Right}"
Wait 0.3
SendKeys ListVar1
Wait 0.5
SendKeys "{Enter}"
End Sub
Thanks, Lunis! I did not know or had forgotten about the "^y" trick. It looks like that will work, with a little bit of modification so that you can dictate something that will then trigger the long email address of the account name, so probably need to use a spoken form/written form List. |
|
|
|
![]() |
|
…
Anybody have any suggestions?
Use VBA, nothing user unfriendly about Microsoft APIs, here is a script I did many years ago which will go to the support@pcbyvoice.com inbox, just adapt for your email addresses using ListVars. Remember to set the reference to the Microsoft Outlook object library, just tested it with office 19 and it still works fine today.
'Script by Lindsay Adam pcbyvoice @2010 Sub Main Dim expl As Object Dim inbox As Object Dim ns As Object Dim accountFound As Boolean accountFound = False On Error Resume Next For Each oAccount In Application.Session.Accounts Set expl = Application.ActiveExplorer Set ns = Application.Session If oaccount = "support@pcbyvoice.com" Then accountFound = True Set goToFolder = oAccount.DeliveryStore.GetDefaultFolder(olFolderInbox) If goToFolder Is Nothing Then MsgBox "Target folder not found!", vbOkOnly End If Set expl.CurrentFolder = goToFolder expl.CurrentFolder.Display If (accountFound = True) Then Exit For End If End If Next End Sub ------------------------- |
|
|
|
![]() |
|
…
Anybody have any suggestions?
Use VBA, nothing user unfriendly about Microsoft APIs, here is a script I did many years ago which will go to the support@pcbyvoice.com inbox, just adapt for your email addresses using ListVars. Remember to set the reference to the Microsoft Outlook object library, just tested it with office 19 and it still works fine today.
Thanks, Lindsay! It figures that you would know the answer. I don't think VBA is all that user-friendly, but I don't have anything close to your programming skills. I'll probably need to use a complex list, as I said in my response to Lunis, but with that modification this code should ork perfectly. Matt |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2022 FuseTalk™ Inc. All rights reserved.