HighlanderSword Posted December 6, 2016 Share Posted December 6, 2016 (edited) With previous version of office I could open the Mail Dialog by running control mlcfg32.cpl or run('"C:\WINDOWS\system32\rundll32.exe" C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\Program Files\Microsoft Office\Office15\MLCFG32.CPL",@0','C:\Program Files\Microsoft Office\Office15\') Control does not work with Office 2016 and the below does not work either run('"C:\WINDOWS\system32\rundll32.exe" C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\Program Files\Microsoft Office\root\Office16\MLCFG32.CPL",@0','C:\Program Files\Microsoft Office\root\Office16') Any one have any suggestions ? Edited December 6, 2016 by HighlanderSword Link to comment Share on other sites More sharing options...
HighlanderSword Posted December 7, 2016 Author Share Posted December 7, 2016 FYI , just found out how to do it , in case anyone else runs into this Use the below from a run dialog and it works for office 2016 "C:\Program Files\Microsoft Office\root\Client\AppVLP.exe" rundll32.exe shell32.dll,Control_RunDLL "C:\Program Files\Microsoft Office\root\Office16\MLCFG32.CPL" caramen 1 Link to comment Share on other sites More sharing options...
water Posted January 4, 2017 Share Posted January 4, 2017 You could use my OutlookEX UDF - this works for every version of Outlook. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
caramen Posted January 4, 2017 Share Posted January 4, 2017 @HighlanderSword If i am not whrong if you try to open a new mail you can also use Send ({RCTRL}N) in that case you have to open an outlook process before the send command. My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
water Posted January 4, 2017 Share Posted January 4, 2017 Plus the Outlook window has to be active because the active window consumes the sent string. More reliable is the OutlookEX UDF My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
HighlanderSword Posted January 21, 2017 Author Share Posted January 21, 2017 Ok so How do you open Mlcfg32.cpl when using the OutlookEx UDF ? Link to comment Share on other sites More sharing options...
water Posted January 21, 2017 Share Posted January 21, 2017 Please check Example 4 in the _OL_ItemCreate.au3 script of the OutlookEX UDF. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
MovieScreener2013 Posted November 28, 2018 Share Posted November 28, 2018 OK I have a quick question. I am trying to automate the office 2016 install and the AutoIT v3 Windows Info tool is failing me. I am not getting any Visible or Hidden text to key off of for the successful completion of the install which leaves me the ugly way of just timing it and crossing my fingers. I am not usually that type so looking for a more reliable way to determine the installer has completed successfully. PS. I am surprised that AutoIT v3 doesn't see the buttons and checkboxes on the installer window. Any thoughts about this would be appreciated as well... Currently just using: Winwait("Microsoft Office Professional") WinActivate("Microsoft Office Professional") Sleep(500) ControlClick("Microsoft Office Professional", "", "", "Left", 1, 71, 506) Sleep(500) Send("{ENTER}") Sleep(500) Send("{ENTER}") Sleep(10000) Send("{ENTER}") UGLY I know!!! Thanks as always - TJ Link to comment Share on other sites More sharing options...
Earthshine Posted November 28, 2018 Share Posted November 28, 2018 (edited) Consider automating the silent install option. Plus you should’ve just made a new thread for this because this has nothing to do with the thread you posted in that’s almost 2 year old Edited November 28, 2018 by Earthshine MovieScreener2013 1 My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
MovieScreener2013 Posted December 17, 2018 Share Posted December 17, 2018 (edited) I was able to setup the office 2016 silent install and that worked great. Thanks for the insight. My apologies for posting this in the wrong place. Edited December 17, 2018 by MovieScreener2013 Earthshine 1 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