https://techcommunity.microsoft.com/t5/outlook-blog/things-to-know-about-the-new-outlook-for-windows/ba-p/3383964
https://support.microsoft.com/en-us/office/getting-started-with-the-new-outlook-for-windows-656bb8d9-5a60-49b2-a98b-ba7822bc7627
Likely no more AHK controlling Outlook with the new application.
New Outlook for Windows drops COM support
Forum rules
Discuss Autohotkey related topics here. Not a place to share code.
Discuss Autohotkey related topics here. Not a place to share code.
Re: New Outlook for Windows drops COM support
Seems like this really is a new app and so won't automatically have the capabilities of the old one, but I have to say: there doesn't appear to be anything in those articles about COM automation. "COM Add-ins" are a different thing.
Re: New Outlook for Windows drops COM support
Tried it with this little snippet of code and the new Outlook app and works as usual.
Code: Select all
ComObjActive("Outlook.Application").Application.CreateItem(0).Display(false)
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
Re: New Outlook for Windows drops COM support
Whoops! There I go accidental spreading false information as if it were fact. My apologies. I definitely made the mistake of equating the COM Add-ins to COM automation. Sorry to scare anyone!
Re: New Outlook for Windows drops COM support
I was able to try the new version of Outlook on my work machine this week with the latest push and COM didn't work
Re: New Outlook for Windows drops COM support
First error comes from ComObjActive("Outlook.Application"), the second comes from ComObjCreate("Outlook.Application"). (Yes, I'm still using v1 for this particular application).
Re: New Outlook for Windows drops COM support
Didn't have any of those registry keys. Event Viewer shows: "The server {0006F03A-0000-0000-C000-000000000046} did not register with DCOM within the required timeout."
With any luck, I'm just an idiot and doing something wrong. I'd absolutely love to be proven wrong on this!
With any luck, I'm just an idiot and doing something wrong. I'd absolutely love to be proven wrong on this!
Re: New Outlook for Windows drops COM support
itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH
Re: New Outlook for Windows drops COM support
I just tried it on clean Windows 11 Enterprise 22621.1702 Cloud PC.
If there are no running instances of outlook then ComObjCreate("Outlook.Application") works correctly.
If there are no running instances of outlook then ComObjCreate("Outlook.Application") works correctly.
Re: New Outlook for Windows drops COM support
I never used outlook therefore dont know.
Its path is C:\Program Files\Microsoft Office\root\Office16\
And its version is 16.0.16227.20318
Its path is C:\Program Files\Microsoft Office\root\Office16\
And its version is 16.0.16227.20318
-
- Posts: 1
- Joined: 09 May 2024, 04:47
- Contact:
Re: New Outlook for Windows drops COM support
Outlook 2022 is much better than from current
Return to “General Discussion”
Who is online
Users browsing this forum: No registered users and 6 guests