#3802 closed Bug (No Bug)

Window is not activated by a partial title

Reported by: jamsnsou@… Owned by: Jon
Milestone: Component: AutoItX
Version: Severity: None
Keywords: WinActivate WinTitleMatchMode Cc:


A C# / .Net 5.0 console project.

using AutoIt;
using System;
using static AutoIt.AutoItX;

AutoItSetOption("WinTitleMatchMode", -2);

Console.WriteLine("Window activating...");

    "by partial title: " +

    "by full title: " +
    WinActivate("title - OneNote")

    "by handle: " +
    WinActivate(new IntPtr(0x0000000000250D90))

The output:

Window activating...
by partial title: 0
by full title: 1
by handle: 1

Why the partial title activation doesn't work?

Attachments (0)

Change History (1)

comment:1 Changed 20 months ago by Jos

  • Resolution set to No Bug
  • Status changed from new to closed

This is not a support forum, so please visit our support forums for questions and only post here when you have a confirmed bug.


Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jon.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.