Sign in to follow this  
Followers 0
JohnRichard

Help on Script

5 posts in this topic

Hi to All! I'm a totally newbie on this forum. I've read some AutoIT documentation and some of the list of codes. I want to make a script that will delete all the mail items in Sent Items folder and Deleted Items folder in Microsoft Outlook.

Any sample of your scripts will be much highly appreciated. :P

Thanks.

Share this post


Link to post
Share on other sites



Hi to All! I'm a totally newbie on this forum. I've read some AutoIT documentation and some of the list of codes. I want to make a script that will delete all the mail items in Sent Items folder and Deleted Items folder in Microsoft Outlook.

Any sample of your scripts will be much highly appreciated. :P

Thanks.

how should i start with my script?

Share this post


Link to post
Share on other sites

First, make sure your target GUI (Outlook) is stable. If not this is gonna be hard on a beginner.

With stable I mean that all have to stay in one place. Folderlist can't suddenly dissapear or change its content or something while your script is running.

Then check with the AutoIt Window Info tool the Class of the tree in Outlook.

Use this to check the content of the tree and 'walk' it.

It's a start.

Ofcourse, this is how I would do it with my still limited AutoIt knowledge. :P


My active project(s): A-maze-ing generator (generates a maze)

My archived project(s): Pong3 (Multi-pinger)

Share this post


Link to post
Share on other sites

thanks for the reply. yes i know how to use the windows info tool. we are running Microsoft Outlook. Because we are receiving lots of calls that their email is full and then we found out that users forgot to empty deleted items foder and sent items folder...

so how am i gonna start the script.

what exact script should i write.

say

WinWaitActive ("Microsoft Outlook - Outlook Today", "")

how should my script read all the mail items in the deleted items and sent items folder.

Send ({DEL}) would do the job for it...

i appreciate if you can send me a draft of a simple script of it.

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