leonaheidern Posted July 25, 2012 Share Posted July 25, 2012 HiI 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 clientI'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 listLets say I have meeting room 1 i need to untick the option for resource schedulingRight now my script is stuck at selecting the 1st default profileBut 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 TabSend("{Alt}")Send("{F}")#Call Out Outlook Options WindowSend("{Alt}")Send("{T}")#Go to Calendar Options within Outlook Options WindowSend("{DOWN 3}")#Tab 36 times to go to the Resource Scheduling WindowSend("{TAB 3}")Send("{ENTER}")WinActivate("Resource Scheduling")#Hit Space to Untick Automatic Requests and Remove Canceled MeetingsSend("{SPACE}")#Tab 6 times to get to OK button to close Resource Scheduling WindowSend("TAB 6}")WinActivate("Outlook Options")#Close Outlook Option WindowSend("{Enter}")#Close OutlookSend("{Alt}")Send("{F4}") Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now