Jump to content
Sign in to follow this  

Problem with Outlook plugin

Recommended Posts


I try to install the LookOut 1.2 plugin with AutoIt 3.0.102 but i can't reach the LookOut window with AutoIt.

Here the code:

AutoItSetOption("WinTitleMatchMode", 2)


if WinExists("- Microsoft Outlook") Then
    MsgBox(0,"Installationshinweis","Outlook must be closed!" & @crlf & @crlf &_
            "Please close outlook!")
    Until not WinExists("- Microsoft Outlook")      


Run("msiexec /i c:\temp\lookout12.msi /qb"); *** changed package to MSI
WinWaitActive("LookOut","Preparing to install...")
MsgBox(0,"Installation LookOut","Open Outlook for final konfiguration",1)
;***till here all is ok. lookout is installed

Run("C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE")
WinWaitActive("- Microsoft Outlook")
;*** run outlook for second part of install

;*** this doesn't make his work - second part of install - configuration
;*** it seems that AutoIt doesn't recognise the window - so i set a timeout of 10 sec
WinWait("Welcome to Lookout",10)
WinActivate("Welcome to Lookout")
;*** even now - window is active - AutoIt can't send anything to the window
ControlCommand("Welcome to Lookout","Skip this wizard and start indexing now","WindowsForms10.BUTTON.app111","Check","")
controlClick("Welcome to Lookout","Finish","WindowsForms10.BUTTON.app114")
WinWaitClose("Welcome to Lookout")

;*** this is necessary to open the option dialog of lookout in outlook
;*** i can't reach the controls
$outlookpos = WinGetPos("- Microsoft Outlook")
if $outlookpos[2] < 420 Or $outlookpos[3] < 200 Then WinMove("- Microsoft Outlook","",10,10,450,250)
$outlookpos = WinGetPos("- Microsoft Outlook")

;*** this doesn't make his work - too
WinWaitActive("Lookout Options")
$optionpos = WinGetPos("Lookout Options")
WinWaitActive("Lookout Options","&Automatically Update my Index when Outlook")
ControlClick("Lookout Options","&Automatically Update my Index when Outlook","WindowsForms10.BUTTON.app1014")

MsgBox(0,"Info","Installation ready")



Any ideas why it is not possible to reach the controls of LookOut?

-> http://www.lookoutsoft.com/Lookout/

Edited by wfuehrer

Wolfgang Führer

Share this post

Link to post
Share on other sites

I just download from M$, and it is a exe, /? does nothing. Here is a quick script if useful:


WinWait("Lookout 1.2 Setup ", "Please review the license")
ControlClick("Lookout 1.2 Setup ", "Please review the license", "Button2")

WinWait("Lookout 1.2 Setup ", "Choose the folder")
ControlClick("Lookout 1.2 Setup ", "Choose the folder", "Button2")

WinWait("Lookout 1.2 Setup ", "Please wait while")
ControlClick("Lookout 1.2 Setup ", "Please wait while", "Button2")
Only 3 windows to this one.

Edit, Noticed you have 3.0.102, not 1.0.103. ControlIDs may need to be changed. Can get them if desired.

Edit2: Modified :idiot:

Edited by MHz

Share this post

Link to post
Share on other sites

The main installation of LookOut is not the problem. With lookout12.msi the installation ist complete unattended.

The second step of installation is the problem.

LookOut opens a config dialog the first time outlook is started.

This Dialog i can't reach with AutoIT. Neither watching popping up nor sending something to the dialog will work.

The AutoIt Spy can read some of the controls but there is no reaction when the script is running.

Wolfgang Führer

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...