ItsMillertime4u Posted January 13, 2010 Posted January 13, 2010 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?
water Posted January 13, 2010 Posted January 13, 2010 (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 January 13, 2010 by water My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
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