Jump to content

paulpmeier

Active Members
  • Posts

    26
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

paulpmeier's Achievements

Seeker

Seeker (1/7)

7

Reputation

  1. Not always, but in some cases, e.g. with "AutoIt Help (v3.3.16.1)". Why? #include <GuiTreeView.au3> Local $hTreeView = ControlGetHandle("AutoIt Help (v3.3.16.1)", "", "SysTreeView321") ;Local $hTreeView = ControlGetHandle("SciTE4AutoIt3", "", "SysTreeView321") ; works correctly Local $hFirstItem = _GUICtrlTreeView_GetFirstItem($hTreeView) ConsoleWrite(_GUICtrlTreeView_GetText($hTreeView, $hFirstItem) & @CRLF)
  2. Hello Jos, in SciTE4AutoIt3_Portable.zip _Array2DCreate is missing in the files ..\SciTE4AutoIt3_Portable\api\au3.api ..\SciTE4AutoIt3_Portable\properties\au3.keywords.properties Paul
  3. Hi AspirinJunkie, Thank you for your Json-Udf. I use it for evaluating my Discogs queries. Attached is a recursive dump script for my maps. #include "Json.au3" #include <String.au3> Local $sJson = FileRead("..\Discogs-Abfragen\The Beatles - Lovely Rita.json") Local $mDiscogsQuery = _JSON_Parse($sJson) Global $iIndent = 0, $sIndent = " " ConsoleWrite("Map $mDiscogsQuery" & @CRLF) _DumpMap($mDiscogsQuery) Func _DumpMap(ByRef $mMap) For $Key In MapKeys($mMap) _WriteElement($Key, $mMap[$Key]) Next EndFunc Func _DumpArray(ByRef $aArray, $Key) For $i = 0 To UBound($aArray) - 1 _WriteElement($Key & "[" & $i & "]", $aArray[$i]) Next EndFunc Func _WriteElement($Key, ByRef $vValue) $iIndent += 1 Local $sInd = _StringRepeat($sIndent, $iIndent) Local $sType = VarGetType($vValue) If $sType = "String" Then $vValue = StringReplace($vValue, @LF, @CRLF & $sInd & $sIndent) ; Indent for multi-line strings If $sType = "Keyword" And IsKeyword($vValue) = 2 Then $vValue = "NULL" ; NULL ConsoleWrite($sInd & $Key & " (" & $sType & "): " & $vValue & @CRLF) If $sType = "Map" Then _DumpMap($vValue) If $sType = "Array" Then _DumpArray($vValue, $Key) $iIndent -= 1 EndFunc Paul
  4. MatzeP, look at the libcurl programming tutorial, Passwords ; protocol://user:password@example.com/path/ Local $aResponse = cURL_easy("http://myusername:mypassword@www.xyz.com/logs/") Paul
  5. MatzeP, Copy the files libcrypto-1_1-x64.dll, libssl-1_1-x64.dll and libcurl-x64.dll into your cURL.au3 directory. In cURL.au3 replace in line 125 libcurl.dll with libcurl-x64.dll. Paul
  6. Latest DLLs on https://curl.se/windows/ (09.12.2020) libcurl-x64.dll https://curl.se/windows/dl-7.74.0_2/curl-7.74.0_2-win64-mingw.zip libcrypto-1_1-x64.dll and libssl-1_1-x64.dll https://curl.se/windows/dl-7.74.0_2/openssl-1.1.1i_2-win64-mingw.zip Thank you for this UDF. Paul
  7. Hello pixelsearch, I have added your changes to "ArrayDisplayInternals.au3". The sort context menu is very useful. Thanks again.
  8. Hello pixelsearch, thanks for the detailed explanation. The reference to the functioning of natural sorting explains the behavior of the sort function in _ArrayDisplay. Your "hack" is a great help to me. Thanks a lot. Paul
  9. If I replace 'StrCmpLogicalW' with 'StrCmpCW' in line 613 in ArrayDisplayInternals.au3, the sorting is correct. Pointers and handles can also be sorted this way. But numeric values are then also sorted alphabetically. Paul
  10. Melba, look at this string-array: #include <Array.au3> Global $aSortTest[5][2] = [["1", "01"], ["2", "02"], ["3", "03"], ["A", "0A"], ["B", "0B"]] _ArrayDisplay($aSortTest) The first column is sorted correctly, the second is not. Paul
  11. Example (AutoIt 3.3.14.5): #include <Array.au3> Global $aSortTest[6] = [Ptr(1), Ptr(2), Ptr(3), Ptr(10), Ptr(11), Ptr(12)] _ArrayDisplay($aSortTest) Have I missed something? Paul
  12. For Firefox look also: http://support.mozilla.org/en-US/questions/942316?page=4 tenbucks posted 5/15/13 3:13 AM "Finally. It's here with FF 21. You need to add the browser.shell.shortcutFavicons entry in about:config. It doesn't come with it. Make it boolean and set it to false. Restart FF." Paul
  13. Hallo BugFix, danke für Ihre schöne Funktion, sie macht die Einbindung von .Net-DLLs in AutoIt-Skripte einfacher und eleganter. Ich bin nicht der große .Net-Experte und da im Mai keiner auf diesen Post hier reagierte, habe ich das Thema auch nicht weiterverfolgt. Was den Zugriff auf vorhandene .Net-Klassen angeht, habe ich noch versucht die Ideen von Robert Giseke umzusetzen. Giseke hat ein C# Project Template for Unmanaged Exports geschrieben, mit dem ich eine .Net-DLL erzeugt habe, die auf die DateTime.AddDays-Methode zugreift. http://sites.google.com/site/robertgiesecke/Home/uploads/unmanagedexports Anbei meine ungeordneten Experimente incl. Links. Ich hoffe, das hilft Ihnen etwas weiter. Für tiefergehende Informationen müsste ich mich leider erst selbst wieder in die Thematik einarbeiten. Viele Grüße Paul UnmanagedExports.zip
×
×
  • Create New...