JohnRichard Posted August 5, 2008 Share Posted August 5, 2008 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. Thanks. Link to comment Share on other sites More sharing options...
JohnRichard Posted August 5, 2008 Author Share Posted August 5, 2008 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. Thanks.how should i start with my script? Link to comment Share on other sites More sharing options...
Triblade Posted August 5, 2008 Share Posted August 5, 2008 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. 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 More sharing options...
JohnRichard Posted August 5, 2008 Author Share Posted August 5, 2008 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 More sharing options...
Zedna Posted August 5, 2008 Share Posted August 5, 2008 Use COMLook here at example http://www.autoitscript.com/forum/index.php?showtopic=34865Also search forum for more examples ... Resources UDF ResourcesEx UDF AutoIt Forum Search 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