Custom Query
Results (205 - 207 of 3883)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#758 | No Bug | ControlGetHandle() does not work if controlID is passed as string type variable | shEiD | |
Description |
In my script, I get controlID variable from registry with RegRead(). RegRead() returns value as string, although it is a number. After some confusing errors, I found, that ControlGetHandle("title", "text", controlID) function does not work, if you pass a string type variable for controlID. In the example I simply set the controlID variable and change it to string and back to int: #include <GuiToolBar.au3> Opt("WinTitleMatchMode", 2) $toolbar_id = 59392 $h_wnd = WinGetHandle($win_title) ; does not work $toolbar_id = String($toolbar_id) $h_toolbar = ControlGetHandle($h_wnd, "", $toolbar_id) ConsoleWrite('$h_toolbar = ' & $h_toolbar & @CRLF) ; convert back to Int and it works! $toolbar_id = Int($toolbar_id) $h_toolbar = ControlGetHandle($h_wnd, "", $toolbar_id) ConsoleWrite('$h_toolbar = ' & $h_toolbar & @CRLF) The console output after running this code: $h_toolbar = $h_toolbar = 0x008908D6 |
|||
#760 | No Bug | Regular expression; NUL character in \x## | trancexx | |
Description |
It's about null character in \x## pattern. Not working for that one. Example with StringRegExpReplace() $sString = "abc" & Chr(1) & "def" & Chr(1) & "ghi" $sNewString = StringRegExpReplace($sString, "\x1", "") ConsoleWrite("1. " & $sNewString & @CRLF) ; this is as expected $sString = "abc" & Chr(0) & "def" & Chr(0) & "ghi" $sNewString = StringRegExpReplace($sString, "\x0", "") ConsoleWrite("2. " & $sNewString & @CRLF) ; this is not Help file suggests that it should work for any ascii character (hex code). I guess this has nothing to do with bugs, it's more like undocumented feature. |
|||
#761 | No Bug | Scite issue: is this the correct spot? | Jos | Sulfurious |
Description |
The current version of scite 4 autoit, for me, no longer supports a default placement and size of scite when started. The options in global properties are still present if PLAT_WIN
if PLAT_GTK
position.width=600 position.height=300 but no longer work as in prior version. I note the layout of directories for other properteis is different, as well as calls to LUA portions. I have played with a few settins, but not found why. Is this a bug? Is this the right place to post a scite issue? Thank you. Sulfurious |