Jump to content

I would like to automate the calendar publishing in Outlook 2010


peder303
 Share

Recommended Posts

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

My resources are limited. You must ask the right questions

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...