Custom Query


Show under each result:

Results (166 - 168 of 3866)

Ticket Resolution Summary Owner Reporter
#421 No Bug Error in reading status of Radio Button tim@…

I am trying to read the state of a Radio button on my form.

$retval = ControlCommand ( "MyTestApp", "", "[]",  "IsChecked", "" )

$retval always returns 0

When I view the button control with Au3info I can see the style toggle between 0x5601000B (on) and 0x5600000B (off)

I don't know the function call to read the style information (if such a function exists) I am either using the function incorrectly or I have discovered a bug

#2177 No Bug autoit does not work correctly with Microsoft Calculator thucdat@…

The following taken from the examples with change from multiplication to addition: ; ; AutoIt Version: 3.0 ; Language: English ; Platform: Win9x/NT ; Author: Jonathan Bennett (jon@…) ; ; Script Function: ; Plays with the calculator. ;

; Prompt the user to run the script - use a Yes/No prompt (4 - see help file) Local $answer = MsgBox(4, "AutoIt Example (English Only)", "This script will run the calculator and type in 2 + 4 + 8 + 16 and then quit. Run?")

; Check the user's answer to the prompt (see the help file for MsgBox return values) ; If "No" was clicked (7) then exit the script If $answer = 7 Then

MsgBox(0, "AutoIt", "OK. Bye!") Exit


; Run the calculator Run("calc.exe")

; Wait for the calulator become active - it is titled "Calculator" on English systems WinWaitActive("Calculator")

; Now that the calc window is active type 2 + 4 + 8 + 16 ; Use AutoItSetOption to slow down the typing speed so we can see it :) AutoItSetOption("SendKeyDelay", 400) Send("2+4+8+16=") Sleep(2000)

; Now quit by sending a "close" request to the calc WinClose("Calculator")

; Now wait for calc to close before continuing WinWaitClose("Calculator")

; Finished!

#1342 Duplicate DllStructCreate does not accept variable names with underscore thomas.baglin@…

$dllstruct=dllstructcreate("int titi_1") consolewrite("@error reported with underscore=" & @error & @CRLF) $dllstruct=dllstructcreate("int titi") consolewrite("@error reported without underscore=" & @error & @CRLF)

The above script returns error 2/"There is an unknown Data Type in the string passed" and not in the second case.

Hoping I am not wasting your time :-) Tom

Note: See TracQuery for help on using queries.