Jump to content

How to select Outlook profile from a list of profiles?


Recommended Posts

Hi

I have 25 profiles that I need to untick auto accept meetings for before I can convert those exchange 2003 meeting room direct booking mailboxes to exchange 2010 in Outlook 2010 client

I've already created .prf files but I'm having problems getting the dropdown list for the profiles to work.

How do I get the script to select the profile from the drop down list

Lets say I have meeting room 1 i need to untick the option for resource scheduling

Right now my script is stuck at selecting the 1st default profile

But I've set the Mail Accounts Settings to Prompt for Profile.

Run ("C:\Program Files (x86)\Microsoft Office\Office14\outlook.exe /profile meetingroom1")

WinActivate("Choose Profile")

ControlClick("Choose Profile", "OK", "Button2")

#Call out File Tab

Send("{Alt}")

Send("{F}")

#Call Out Outlook Options Window

Send("{Alt}")

Send("{T}")

#Go to Calendar Options within Outlook Options Window

Send("{DOWN 3}")

#Tab 36 times to go to the Resource Scheduling Window

Send("{TAB 3}")

Send("{ENTER}")

WinActivate("Resource Scheduling")

#Hit Space to Untick Automatic Requests and Remove Canceled Meetings

Send("{SPACE}")

#Tab 6 times to get to OK button to close Resource Scheduling Window

Send("TAB 6}")

WinActivate("Outlook Options")

#Close Outlook Option Window

Send("{Enter}")

#Close Outlook

Send("{Alt}")

Send("{F4}")

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...