AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Script to search outlook?

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
charliemopps



Joined: 09 Feb 2006
Posts: 117

PostPosted: Tue Feb 16, 2010 6:35 pm    Post subject: Script to search outlook? Reply with quote

I need to write a script that will search a particular outlook folder.
I need the script to look for the first IP address listed in the message body and then insert that IP Address into the beginning of the subject line.
Many of the mail messages are duplicates and I would like to be able to sort by the IP address.


---

I don't expect anyone to write the for me... but I'm not sure how to interface with outlook. Does anyone have any ideas? Or scripts that do something similar that I can dissect?

Thanks in advance.
Back to top
View user's profile Send private message
sinkfaze



Joined: 18 Mar 2008
Posts: 5044
Location: the tunnel(?=light)

PostPosted: Tue Feb 16, 2010 7:06 pm    Post subject: Re: Script to search outlook? Reply with quote

charliemopps wrote:
...but I'm not sure how to interface with outlook.


You would have to use the COM Standard Library to execute Visual Basic script to search folders in the most efficient manner. There is a dedicated thread for automations of MS Office applications but I don't believe I've seen that particular function done yet. I would have to dig into some VB script to get an idea of how to make that work, but if you're familiar with Visual Basic you can peruse that thread to get an idea of how AHK interacts with MS Office Apps/Outlook.
_________________
Try Quick Search for Autohotkey or see the tutorial for newbies.
Back to top
View user's profile Send private message Send e-mail
charliemopps



Joined: 09 Feb 2006
Posts: 117

PostPosted: Tue Feb 16, 2010 7:29 pm    Post subject: Reply with quote

Nah, I'm not that great at VBA and there's nothing even remotely like what I want to do in that thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group