itlabo Posted November 29, 2018 Share Posted November 29, 2018 Hello everybody, i am new to this forum and AutoIT I have a problem with the OutlookEx from @water. Whenever I want to write an email with the software, I get a hint if it is really okay to grant this software access to outlook. Is there a way to avoid this hint? (Sorry, the attachment is german) Thank you very much for your help! Link to comment Share on other sites More sharing options...
water Posted November 29, 2018 Share Posted November 29, 2018 (edited) Sowieso. When calling _OL_Open there is a feature to click away such messages. Please check parameters $bOL_WarningClick, $sWarningProgram, $iWinCheckTime and $iCtrlCheckTime. An example program (_OL_Warnings.au3) is provided, but needs to be modified if the window title or window text have changed (which is true for a german version of Outlook as all the code has been written for an english version). More details can be found in the wiki. Edited November 29, 2018 by water itlabo 1 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...
itlabo Posted November 30, 2018 Author Share Posted November 30, 2018 Since I have to change the language in the script I copied the whole code of _OL_Warnings.au3 directly into my script, changed the language to German and adapted WindowsTitle as well as WindowText. I also added a MessageBox, which confirms that the _OL_Warnings function is started. Now I have the problem that nothing happens after this MessageBox and the warning is still displayed and not confirmed by Outlook. Maybe someone can tell me what I'm doing wrong. thank you! Link to comment Share on other sites More sharing options...
water Posted November 30, 2018 Share Posted November 30, 2018 The best solution is to install an antivirus product - then Outlook won't show this messages. Next best is to add logging capability to your script. As it works in the background, write to a file. 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...
itlabo Posted November 30, 2018 Author Share Posted November 30, 2018 Thank you for your quick answers! Unfortunately I have to run the script in a virtualized company environment, where no virus protection is needed and for performance reasons none can be installed. Now I'm trying to work around this message with some tinkering. Somehow this will work Link to comment Share on other sites More sharing options...
water Posted November 30, 2018 Share Posted November 30, 2018 Here you find a german version of _OL_Warnings: https://autoit.de/index.php?thread/85514-email-senden-mit-outlook-und-outlookex-udf/&postID=685221&highlight=_OL_Warnings#post685221 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...
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