Jump to content

Recommended Posts

Posted (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 by HighlanderSword
Posted

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"
  • 4 weeks later...
Posted

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

 

Posted

@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 - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Posted

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

 

  • 3 weeks later...
Posted

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

 

  • 1 year later...
Posted

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

Posted (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 by Earthshine

My resources are limited. You must ask the right questions

 

  • 3 weeks later...

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
  • Recently Browsing   0 members

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