Modify

Opened 12 years ago

Closed 12 years ago

#2294 closed Bug (No Bug)

ControlGetText failing when window title happens to contain umlauts

Reported by: puujalg25@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.8.1 Severity: None
Keywords: Cc:

Description

Sample:
$Aktiivne_Suund = ControlGetText($MAINWIN,"Piiriületus", $PIS_Suund)
does NOT work ("u" umlaut is the guilty party)
$Aktiivne_Suund = ControlGetText($MAINWIN,"", $PIS_Suund)
works but if same program has more than one GUI window, you are getting screwed since script has no ability left to make difference between them.

There is no way to avoid umlauts since foreign language programs often have window titles containing those and when stumbling on one such program, it's annoying as hell.

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by trancexx

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

Your error is of semantic nature considering this works:

GUICreate("Piiriületus")

Global iControl = GUICtrlCreateButton("üüüüüüü", 20, 10, 100, 30)

GUISetState()

ConsoleWrite("!> " & ControlGetText("Piiriületus", "üüüüüüü", iControl) & @CRLF)

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

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.