Jump to content

Help on Script


Recommended Posts

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.

Link to comment
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?

Link to comment
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)

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

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