Custom Query (3917 matches)
Results (328 - 330 of 3917)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #587 | No Bug | ControlGetPos array error | ||
| Description |
I am trying to use the ControlGetPos() but I am running into problems with an array error. I cut and pasted the example from Scite help index, but I get the same error. "Line -1 Error: Subscript used with non-Array variable." |
|||
| #590 | No Bug | AutoIT Script corrupting file names in script directory | ||
| Description |
After I run my script, the names of the files in the same directory as the script are wrong. Instead of displaying the name, it displays the movie length/file size, etc. However, the names aren't actually changed (can be seen in properties). Also, if you "hover" the mouse over an incorrect file name while dragging a different file, the file name appears temporarily correct. |
|||
| #591 | No Bug | _GUICtrlListBox_AddString goes loopy when passing array instead of string | ||
| Description |
First of all, I know you aren't suppose to pass an array to the $sText parameter of _GUICtrlListBox_AddString(). It was a typo that led me to discover this, and if I remember correctly, Valik once said that Autoit shouldn't hard crash under any circumstance. When passing an array (In this case from StringSplit) to _GUICtrlListBox_AddString(), it both makes Autoit Hard-crash as well as the Dr. Watson Post-mortem debugger. This is the shortest code I can reproduce this with: #Include <GUIListBox.au3>
$hForm = GUICreate("Test", 410, 492, 193, 125)
$hList = GUICtrlCreateList("", 16, 16, 377, 383)
$azTemp = StringSplit("Test\Hello", "\")
_GUICtrlListBox_AddString($hList, $azTemp)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
EndSwitch
WEnd
This first creates the infamous "Such-and-such has encountered a problem and needs to close" dialog. Next, after a few seconds, the same dialog appears for the Dr. Watson Post-mortem debugger (drwtsn32.exe). The Autoit script does not close, nor does it respond to an "End Process" from the Task Manager. The only way to kill the script is to kill drwtsn32.exe. SciTE then reports the exit code to be : !>19:42:54 AutoIT3.exe ended.rc:-1073740972 Operating System: Windows XP (English) SP2. |
|||
