Jump to content
Sign in to follow this  
ItsMillertime4u

Run multiple instances of Outlook

Recommended Posts

ItsMillertime4u

Does anyone know if it would be possible to use AutoIt as a tool which would allow you to run multiple instances of Outlook? I know there was a tool created by Jason Geffner called ExtraOutlook, which gives this abiliity but if it is at all possible I would rather do it through some AutoIt code which does something simlilar to ExtraOutlook. Jason posted a great in-depth post of what Outlook does at startup to prevent multiple instances from running at the same time here: http://malwareanalysis.com/CommunityServer/blogs/geffner/archive/2007/08/10/234.aspx. Does AutoIt have the ability to mask or change the window name for an existing open window for a given class name?

Share this post


Link to post
Share on other sites
water

To change the title of a window please see Function WinSetTitle.

You could use something like this to change "Microsoft Outlook" in the title to anything else but keep the rest of the title intact:

AutoItSetOption ("WinTitleMatchMode",2)
$sOldTitle = WinGetTitle("Microsoft Outlook")
ConsoleWrite("Old Title: " & $sOldTitle & @CRLF)
$sNewTitle = StringReplace($sOldTitle,"Microsoft Outlook","MSO")
ConsoleWrite("New Title: " & $sNewTitle & @CRLF)
$RC = WinSetTitle("Microsoft Outlook","",$sNewTitle)
Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

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  

×