Custom Query (3926 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (397 - 399 of 3926)

Ticket Resolution Summary Owner Reporter
#2686 Completed Random to return max value when min equals max. Jon anonymous
Description

This has been rejected previously but I don't think it was fully justified. With the Random function, I suggest returning the maximum value when it is equal to the minimum value, regardless of whether you set the error flag or not. I don't personally think it should be considered an error, but maybe removing the error will break too many scripts.

Hopefully the positive outcome of such a small change would outweigh any negatives. The following code is nice and easy regatds syntax, but it currently breaks on the final iteration.

For $i = $iMin To $iMax
	$iRandom = Random($i, $iMax, 1)
Next
#2694 Fixed AutoitX3_x64.dll not working for ControlListView and ControlTreeView in 32bit application Jon lee.deboom@…
Description

Have tried with both 3.3.8.1 and current version 3.3.10.2

Running through C# both 32bit and 64bit.

The following is what I have tried:

What works:

-- Basic AutoIt (run in both 32bit and 64bit modes) interacts fine with SysListView32 and SysTreeView32 controls on both 32bit and 64bit applications. --AutoItX3.dll works fine for all the same as basic AutoIt --AutoItX3_64.dll works fine with both above controls as long as the app being manipulated is also running in 64bit mode

What does NOT work:

--AutoItX3_x64 does not work for either SysListView32 or SysTreeView32 controls if the application being manipulated is running in 32bit mode.

All of the various ControlListView and ControlTreeView functions do not seem to work.

The one I noticed first and most obviously was regardless of what item I am trying to find in either control, AutoIt tells me it is not there.

ControlListView(FindItem) always returns -1 and ControlTreeView(Exists) always returns 0 meaning does not exist

#2743 Fixed Hex($n, -1.#INF) crashes AutoIt Jon Matt Diesel
Description

Reproducer is just the code:

Hex(123, Log(0))

This is causing scripts to crash, rather than just return "???" which is what normally happens when you give a nonsense value of length to Hex.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.