Sign in to follow this  
Followers 0
shiv

Closing outlook calander events

9 posts in this topic

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

Share this post


Link to post
Share on other sites



Why do you want to click away reminders? Can't you create appointments without reminders?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Hi Water

How can we create appoitments without reminders, does outlook provide this option. i have tried appoitment but it also throws reminders

Share this post


Link to post
Share on other sites

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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 o:)

Share this post


Link to post
Share on other sites

done using AutoItSetOption ( "WinTitleMatchMode" , 2 )

and match only "Reminders".

Share this post


Link to post
Share on other sites

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0