peder303

I would like to automate the calendar publishing in Outlook 2010

22 posts in this topic

#21 ·  Posted (edited)

try this. change the names and such. you don't need that include either, really for now anyway

see, you are getting access to the ribbon menu control and Publish Calendar is Ctrl and U together, so you can use RCTRL or LCTRL as the keys, doesn't matter. that should launch your window where you can select WebDav and then the OK button. You can use the AutoIt Info tool on those buttons too

 

WinActivate("Calendar - Earthshine@outlook.com - Outlook")

ControlClick("Calendar - Earthshine@outlook.com - Outlook", "", "[CLASS:NetUIHWND; INSTANCE:2]");
Sleep(1000)

Send("{LCTRL}-U")

 

Edited by Earthshine

Earthshine
A beacon in the night
I can raise my eyes to 
Earthshine -- RUSH, Earthshine - Vapor Trails

Share this post


Link to post
Share on other sites



#22 ·  Posted

Do what I posted above and tell me what happens.


Earthshine
A beacon in the night
I can raise my eyes to 
Earthshine -- RUSH, Earthshine - Vapor Trails

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now