Modify

Opened 13 years ago

Closed 13 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 by trancexx, 13 years ago

Resolution: No Bug
Status: newclosed

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)

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.