Modify ↓
Opened 4 years ago
Closed 4 years ago
#3802 closed Bug (No Bug)
Window is not activated by a partial title
Reported by: | jamsnsou@… | Owned by: | Jon |
---|---|---|---|
Milestone: | Component: | AutoItX | |
Version: | 3.3.15.3 | Severity: | None |
Keywords: | WinActivate WinTitleMatchMode | Cc: |
Description
A C# / .Net 5.0 console project.
using AutoIt; using System; using static AutoIt.AutoItX; AutoItSetOption("WinTitleMatchMode", -2); Console.WriteLine("Window activating..."); Console.WriteLine( "by partial title: " + WinActivate("OneNote") ); Console.WriteLine( "by full title: " + WinActivate("title - OneNote") ); Console.WriteLine( "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 4 years ago by Jos
- Resolution set to No Bug
- Status changed from new to closed
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.
Note: See
TracTickets for help on using
tickets.
This is not a support forum, so please visit our support forums for questions and only post here when you have a confirmed bug.
Thanks,
Jos