Aus meiner kleinen Rubrik „Dinge, die die Welt (fast) nicht braucht“ hier noch ein Exemplar:
Ich finde es sehr angenehm, von einer beliebigen Stelle der Arbeitsumgebung mit einem einzigen Sprachbefehl direkt zum Posteingang von Outlook wechseln zu können. Das lässt sich relativ einfach bewerkstelligen, nämlich durch ein Skript (Advanced Scripting, also nur ab Professional aufwärts), beispielsweise mit dem Namen „Posteingang“ (funktioniert jedenfalls bei meinem Outlook 2007).
Sub Main AppSwapWith "OUTLOOK" Wait .1 SendSystemKeys "{Umschalt+Strg+I}" End Sub
Schwieriger ist es jedoch für den Ordner „Gesendete Objekte“, den ich auch ab und an gerne direkt aufrufen möchte, also ohne zunächst zu Outlook zu wechseln. Hierfür gibt es meines Wissens in Outlook nämlich keine vergleichbare Tastenkombination wie für den Posteingang. Mein Workaround ist ein kleines Skript, welches Outlook aufruft, den Mauszeiger relativ zum Fenster (daher die "1" als erste Zahl) an diejenige Stelle setzt, wo sich unter den Favoritenordnern bei mir der entsprechende Ordner befindet und dann einmal mit der Maus klickt. Die richtige Mausposition muss man natürlich individuell herausfinden, dazu hat "monkey8" in diesem Forum schon ein Skript vorgestellt. Es gibt auch andere Möglichkeiten, aber ich möchte nicht die Urheberrechte von Larry V. Allen verletzen oder gar plagiieren...
Sub Main AppSwapWith "OUTLOOK" Wait .1 SetMousePosition 1,73,194 ButtonClick End Sub
In Wahrheit schreibe ich das natürlich alles nur in der Hoffnung, dass jemand eine bessere Lösung präsentiert.
Beste Grüße, Marius Raabe
Dragon NaturallySpeaking 11.5 Legal Windows 7 Prof. 64-Bit, Office 2010, Jarte Plus Philips SpeechMike II Pro Plus, SpeechMike III, SpeechMike Air, PDCC 2.8 Intel Core2 Quad Q9550, 2,83 GHz, 2x6MB L-2, 8 GB RAM
Lindsay, good to "hear" from you. In a German profile, you can simply say the equivalent to "sent items" while Outlook is the active window and the favorite folders list is visible. You can also say the equivalent to "go to the sent items folder" (even without the favorite folders list visible). In this respect, the German profile seems to be as well equipped as the English one. But you can do neither of this directly from within another application by built-in commands, that's why...
BTW: When you use an English user profile with a German version of Outlook, all these commands do not work.
Best, Marius
Dragon NaturallySpeaking 11.5 Legal Windows 7 Prof. 64-Bit, Office 2010, Jarte Plus Philips SpeechMike II Pro Plus, SpeechMike III, SpeechMike Air, PDCC 2.8 Intel Core2 Quad Q9550, 2,83 GHz, 2x6MB L-2, 8 GB RAM
Apologies I should pay a bit more attention or be a bit more clear, I was thinking of avoiding the screen resolution independence of the commands by using something like the following lines after you have done your application swap to Outlook.
HeardWord"sent", "items" or HeardWord"view","sent","items"
However, if you do not have these Natural Language Commands with your English profiles then they won't be much good will they I guess you could still use them with your German Natural Language Commands and avoid different resolution problems.
There are two types of scripts that I really don't like using and one is mouse position commands and the other is HeardWord because of the speed issue that you rightly point out so neither is ideal and probably Jask's solution is better.
I tend to use Quick Steps commands with Outlook because I did these years ago and they work 100%. Anyone not familiar with them then just say "Quick Steps" followed by "Create New" and you'll get an idea of what you can do with them. Marius as always I rely on you to point out the name differences between the English and German versions but you will see all of these on the Home ribbon. Probably the most valuable commands in the Quick Steps are the "Move to… Folder" type commands.
Once you add a Quick Step command it is picked up automatically by Dragon using the active accessibility API in most cases. However once you have added rather a lot of these commands then some of them are hidden by the UI due to lack of space on the ribbon so you may need to open the particular e-mail maximised to pick up all of your quickstep commands by active accessibility.
Jask
thanks for that and probably the best solution if not adding additional folders all the time.
Lindsay, I marvel at you once more, this time for your apparent ability to bend time backwards by using Outlook 2010 since "years ago" - or am I mistaken in thinking that quick steps and a ribbon were first introduced in Outlook 2010 (which I do not use so far, please forgive a German Hinterwaeldler). Until now, I thought only Chuck could do things like this (going back in time, I mean), but maybe you found his secret Ph.D. thesis describing the method.
Jask, thanks, good idea. These are supposed to be SendKeys commands, aren't they?
Marius
Dragon NaturallySpeaking 11.5 Legal Windows 7 Prof. 64-Bit, Office 2010, Jarte Plus Philips SpeechMike II Pro Plus, SpeechMike III, SpeechMike Air, PDCC 2.8 Intel Core2 Quad Q9550, 2,83 GHz, 2x6MB L-2, 8 GB RAM
Ah Marius indeed a fair catch, however you forget that any of the following could be my reply, I will let you choose the most apt, all of course are true.
a) being a close associate of Bill Gates for many years I actually developed the quickstep commands for Microsoft Office 2007 but Bill decided not to use them because he would then have difficulty persuading people to upgrade to office 2010.
b) when I was designing the space shuttle I wrote the quickstep software in by lunchtime and have recently donated it to Microsoft as a goodwill gesture.
c) many years = 10 months (or over one year if you include the beta)
d) silence is the most irrefutable response to such an accusation.
instead of wrapping your legs around your necks, how about trying a somewhat more programmatical approach for a change? Just asking this, you know, and wondering why you didn't think of it.
You can use the following script to start or switch to Outlook and display the sent mails folder no matter where you are, well as long as you are sitting in front of your computer, running Dragon, and didn't forget to refer to the MS Outlook library of course. Although I won't be too surprised if it doesn't work for Marius from the start obviously.
You could also play around with it by adding a list to the command and reading the ListVar1 variable using a Select Case statement and referring to any of the available GetDefaultFolder arguments in order to display any other folder you want, but we might have to ask somewhere else to get more detailed information on how to do it exactly.
Have fun with it, but don't break it if it doesn't need fixing
Dim olApp As Outlook.Application Dim myFolder As Outlook.Folder Dim myNamespace As Outlook.NameSpace
Set olApp = New Outlook.Application Set myNamespace = olApp.GetNamespace("MAPI") Set myFolder = myNamespace.GetDefaultFolder(olFolderSentMail)
myFolder.Display
Set myFolder = Nothing Set myNamespace = Nothing Set olApp = Nothing
End Sub
_______________________________________
Dragon Professional 16 auf Windows 10 Pro und Windows 11 SpeechMike Premium (LFH3500); Office 2019 Pro + Office 365 (monatliches Abo) HP ZBook Fury 17 G8 - i7-11800H - 24 MB SmartCache - 32 GB RAM - 1 TB SSD
Let's face it, you are just the King of Microsoft Outlook objects. When I was in Vietnam, having inhaled too much orange gas and surrounded by 20,000 Vietcong I wrote a similar script but I completely forgot about it, would you believe it!
Your are such a smooth dancer from my perspective!
_______________________________________
Dragon Professional 16 auf Windows 10 Pro und Windows 11 SpeechMike Premium (LFH3500); Office 2019 Pro + Office 365 (monatliches Abo) HP ZBook Fury 17 G8 - i7-11800H - 24 MB SmartCache - 32 GB RAM - 1 TB SSD
Lindsay, thanks for your efforts to untangle my limbs! Your approach - though elegant as always and far beyond my programmatical means - seems to have one side effect I would humbly consider disadvantageous (though this is just my opinion), namely that it opens an additional Outlook window (which I have to close after I am done with whatever I wanted to look for in that folder). I prefer to have just one Outlook window lurking in a corner of my screen, so, for the time being, I think I will stick to the leg-wrapping version ...
Have a nice weekend,
Marius
Dragon NaturallySpeaking 11.5 Legal Windows 7 Prof. 64-Bit, Office 2010, Jarte Plus Philips SpeechMike II Pro Plus, SpeechMike III, SpeechMike Air, PDCC 2.8 Intel Core2 Quad Q9550, 2,83 GHz, 2x6MB L-2, 8 GB RAM