Custom Query (3931 matches)
Results (430 - 432 of 3931)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #3167 | Fixed | COM Error Handler - not always fires event | ||
| Description |
Discussion: https://www.autoitscript.com/forum/topic/178424-com-error-handler-not-working-for-some-strange-reason/ Here is reproducer: ; Initialize COM error handler $oErrorHandler = ObjEvent("AutoIt.Error", _ErrFunc) Func _ErrFunc($oError) ConsoleWrite("!ERROR caught" & @CRLF) EndFunc ; Create shell object $oObj = ObjCreate("shell.application") ;The following line should trigger COM error handler (at the last dot). $oObj.Windows().Item(666).bzzzzzzz Here are some of my test results: ;~ #AutoIt3Wrapper_Autoit3Dir=c:\Program Files (x86)\AutoIt3\AutoIt_3.3.8.1\ ; NOTHING ;~ #AutoIt3Wrapper_Autoit3Dir=c:\Program Files (x86)\AutoIt3\AutoIt_3_3_10_2\ ; !ERROR caught ;~ #AutoIt3Wrapper_Autoit3Dir=c:\Program Files (x86)\AutoIt3\AutoIt_3_3_12_0\ ; !ERROR caught ;~ #AutoIt3Wrapper_Autoit3Dir=c:\Program Files (x86)\AutoIt3\AutoIt_3_3_13_12\ ; NOTHING ;~ #AutoIt3Wrapper_Autoit3Dir=c:\Program Files (x86)\AutoIt3\AutoIt_3_3_13_15\ ; BUG/ISSUE EXIST ;~ #AutoIt3Wrapper_Autoit3Dir=c:\Program Files (x86)\AutoIt3\AutoIt_3_3_13_19\ ; BUG/ISSUE EXIST ;~ #AutoIt3Wrapper_Autoit3Dir=c:\Program Files (x86)\AutoIt3\AutoIt_3.3.15.0\ ; BUG/ISSUE EXIST ;~ #AutoIt3Wrapper_Autoit3Dir=c:\Program Files (x86)\AutoIt3\AutoIt_3_3_18_0\ ; !ERROR caught |
|||
| #3179 | Fixed | Number failure with lower case hex | ||
| Description |
The interpreter is not fussy when it comes to lower case hexadecimal strings representing integers. The Number function seems to disregard this fact. Either this is a bug or it represents an inconsistency, which seems undesirable from my perspective. ConsoleWrite('Execute()' & @LF) ; Integers are not case sensitive in AutoIt
ConsoleWrite(Execute('0x07AFBFEF4FF55FF0') & @LF) ; Uppercase [success]
ConsoleWrite(Execute('0x07afbfef4ff55ff0') & @LF) ; Lowercase [success]
ConsoleWrite(Execute('0x07aFbFeF4FF55FF0') & @LF) ; Mixture [success]
ConsoleWrite(@LF & 'Number()' & @LF) ; Number() appears to be case sensitive
ConsoleWrite(Number('0x07AFBFEF4FF55FF0') & @LF) ; Uppercase [success]
ConsoleWrite(Number('0x07afbfef4ff55ff0') & @LF) ; Lowercase [failure] ???
ConsoleWrite(Number('0x07aFbFeF4FF55FF0') & @LF) ; Mixture [failure] ???
|
|||
| #3182 | Fixed | MouseGetPos may return the wrong value when used with mulitple display screens. | ||
| Description |
This problem occurs when there are screens which return a negative value from MouseGetPos. These screens are to the LEFT of the "main screen." That is, the mouse must be at a position returning negative values for x and/or y In the code below, when the mouse is positioned to the left of the main screen, the mouse will move to the right toward the main screen, one-pixel-at-a-time. Similarly, if there is a screen which has negative Y values, the mouse one pixel at a time toward zero. Please see: https://www.autoitscript.com/forum/topic/179346-mouse-moves-when-it-shouldnt/?page=1 While(True)
Sleep (1500)
Local $x = MouseGetPos(0)
Local $y = MouseGetPos(1)
Consolewrite(@CR & "x >" & $x & "< y>" & $y & "<")
MouseMove($x,$y,0)
WEnd
here are the results on Windows 7
+>15:47:00 Starting AutoIt3Wrapper v.15.920.938.0 SciTE v.3.6.0.0 Keyboard:00010409 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0409) +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\Pkryder\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\Pkryder\AppData\Local\AutoIt v3\SciTE
+>15:47:00 AU3Check ended.rc:0
--> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop x >-3334< y>-131< x >-3333< y>-130< x >-3332< y>-129< x >-3331< y>-128< x >-3330< y>-127< x >-3329< y>-126< x >-3328< y>-125< x >-3327< y>-124<
|
|||
