shiv Posted June 10, 2014 Posted June 10, 2014 Using regx $sTitle="/d"&" Reminders" in window title as /d can be any digit but it not works, window title would be like "2 Reminders" However if i hard code it and write the window title as "2 Reminders" it works, but if i write "/d"&" Reminders", it do not work. below is the code i am using Func _DismissCalanderEvents() Local $sTitle="/d"&" Reminders" WinWait($sTitle,"",5) WinActivate($sTitle,"") ControlClick($sTitle,"Dismiss &All","[CLASS:Button; INSTANCE:1]") WinWait("Microsoft Outlook","",2) ControlClick("Microsoft Outlook","&Yes","[CLASS:Button; INSTANCE:2]") EndFunc Want to use regx instead of hardcoded title as it can be 2,3 or any other digit
water Posted June 10, 2014 Posted June 10, 2014 Why do you want to click away reminders? Can't you create appointments without reminders? 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
shiv Posted June 10, 2014 Author Posted June 10, 2014 Hi Water How can we create appoitments without reminders, does outlook provide this option. i have tried appoitment but it also throws reminders
water Posted June 10, 2014 Posted June 10, 2014 I run Outlook 2010 and when I create an appointment using the Outlook GUI I can select "Reminders: None" (I run the German version so the translation might not be 100% accurate). 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
shiv Posted June 10, 2014 Author Posted June 10, 2014 yes we can select "Reminders: None, but only when sending the appoitment or meeting, The recipient who will receive this appoitement will get the reminder pop up , so we have to handle that pop up
water Posted June 10, 2014 Posted June 10, 2014 If you send a "Meeting request" to others users why do you want to suppress a reminder for the users? Isn't it up to the recipient to set the reminder to their liking? 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
shiv Posted June 10, 2014 Author Posted June 10, 2014 I am doing automation for outlook, and if i do not hanfle this reminder pop up, other scripts get failed, Can you please provide some solution
shiv Posted June 10, 2014 Author Posted June 10, 2014 done using AutoItSetOption ( "WinTitleMatchMode" , 2 ) and match only "Reminders".
water Posted June 10, 2014 Posted June 10, 2014 I wouldn't automate the GUI in any way. Use my OutlookEX UDF to automate Outlook via COM. So you will never interfere with what the user does nor any pop up. 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
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