Sign in to follow this  
Followers 0
ItsMillertime4u

Run multiple instances of Outlook

2 posts in this topic

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



#2 ·  Posted (edited)

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

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  
Followers 0