Custom Query
Results (121 - 123 of 3883)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#3842 | Fixed | _ArrayToString() documented defaults confusing and arguably wrong | Jpm | SteveJM |
Description |
Purely in the hope of helping those who come after me: In the documentation for _ArrayToString(), including the latest looked up online, the defaults for $iStart_Row and $iStart_Col are shown as -1. I found this confusing as the effective defaults are both 0. I find I must be a little careful with the base of various arrays in Autoit; depending on context it can be 0 or 1. I therefore did not feel I could use _ArrayToString() without experiment and then a look at the source. In the source I see that the keyword Default is converted to -1, but then the -1 is converted to 0 without any other use that I can see (maybe it was a hook for some other test never implemented, or deleted) _ArrayToString() is a useful function and I am grateful to have it and the great documentation is one of the many delightful features of Autoit, so I thought I should make the effort. |
|||
#3841 | No Bug | COM Error Handling | kAnon | |
Description |
Error handler does not work with array elements. #include <StringConstants.au3> test() Func test() Local $oComError = ObjEvent('AutoIt.Error', onComError) #forceref $oComError Local $oObject Local $aoObjects[1] $oObject.TestComError() ; error handled $aoObjects[0].TestComError() ; error not handled EndFunc ;==>test Func onComError($oComError) With $oComError ConsoleWrite(@ScriptName & ' (' & .ScriptLine & ') : ==> COM Error intercepted !' & @CRLF & _ @TAB & '.Number:' & @TAB & @TAB & '0x' & Hex(.Number) & @CRLF & _ @TAB & '.WinDescription:' & @TAB & StringStripWS(.WinDescription, BitOR($STR_STRIPLEADING, $STR_STRIPTRAILING, $STR_STRIPSPACES)) & @CRLF & _ @TAB & '.Description:' & @TAB & @TAB & .Description & @CRLF & _ @TAB & '.Source:' & @TAB & @TAB & .Source & @CRLF & _ @TAB & '.HelpFile:' & @TAB & @TAB & .HelpFile & @CRLF & _ @TAB & '.HelpContext:' & @TAB & @TAB & .HelpContext & @CRLF & _ @TAB & '.LastDllError:' & @TAB & @TAB & .LastDllError & @CRLF & _ @TAB & '.ScriptLine:' & @TAB & @TAB & .ScriptLine & @CRLF & _ @TAB & '.RetCode:' & @TAB & @TAB & '0x' & Hex(.RetCode) & @CRLF & @CRLF) SetError(.Number) EndWith EndFunc ;==>onComError Console output ... : ==> COM Error intercepted ! .Number: 0x000000A9 .WinDescription: Variable must be of type 'Object'. .Description: .Source: .HelpFile: .HelpContext: .LastDllError: 0 .ScriptLine: 1 .RetCode: 0x00000000 ... (12) : ==> Variable must be of type "Object".: $aoObjects[0].TestComError() $aoObjects[0]^ ERROR Windows 10 Pro 21H1 x64 AutoIt Version: 3.3.14.5 / 3.3.15.4 |
|||
#3840 | No Bug | file path given does not selects properly | anonymous | |
Description |
When we want to select any file for uploading to attach a specific mail but path given using python coding in pycharm intrpretor it does not gives proper path as given in python coding it reads: as ; and D as d and vice versa givinf error file not found plse sort these error thrown |