Modify

Opened 15 years ago

Closed 15 years ago

#1255 closed Bug (Fixed)

127 characters limitation with AutoItX v3.3.0.0 (with titles and controls)

Reported by: marc0v Owned by: Jon
Milestone: 3.3.1.5 Component: AutoItX
Version: 3.3.0.0 Severity: Blocking
Keywords: Title Control String Cc:

Description

127 characters limitation with AutoItX ActiveX ver 3.3.0.0
tested with winXP SP3, WScript.exe v 5.7.0.16599

short_str has length <= 127
long_str has length > 127

  • title is blanked when doing

res = WinSetTitle(short_str, "", long_str) ; but res = 1

  • control is blanked when doing

res = ControlSetText(short_str, "", controlID, long_str) ; but res = 1

  • WinGetTitle returns the active window title instead of the targeted window title when doing

res = WinGetTitle(long_str) ; res = current active window title

looks very much like ticket #1083 with ClipPut, fixed in v3.3.1.4
has it been fixed in the same time for WinSetTitle, ControlSetText, WinGetTitle...?

wintitle = "provide_here_a_valid_window_title"
newtitle_127 = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567"
newtitle_128 = "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678"

Set autoitx3obj = WScript.CreateObject("AutoItX3.Control")

autoitx3obj.WinSetTitle wintitle, "", newtitle_127
MsgBox "Title is set to newtitle_127"

autoitx3obj.WinSetTitle newtitle_127, "", newtitle_128
MsgBox "Title is set to blank"

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by Valik

  • Severity changed from None to Blocking

comment:2 Changed 15 years ago by Jon

  • Milestone set to 3.3.1.5
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5324] in version: 3.3.1.5

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 owner will remain Jon.
Author


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

 
Note: See TracTickets for help on using tickets.