| View previous topic :: View next topic |
| Author |
Message |
charliemopps
Joined: 09 Feb 2006 Posts: 117
|
Posted: Tue Feb 16, 2010 6:35 pm Post subject: Script to search outlook? |
|
|
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 |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 5044 Location: the tunnel(?=light)
|
Posted: Tue Feb 16, 2010 7:06 pm Post subject: Re: Script to search outlook? |
|
|
| 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 |
|
 |
charliemopps
Joined: 09 Feb 2006 Posts: 117
|
Posted: Tue Feb 16, 2010 7:29 pm Post subject: |
|
|
| 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 |
|
 |
|