Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/06/2022 in Posts

  1. gibtoul

    TeraCopy Cure

    I thank you for your feedback. I keep searching the web Cordially
    2 points
  2. This is beautiful! Thank you.
    2 points
  3. https://www.autoitscript.com/autoit3/files/beta/autoit/autoit-v3.3.16.1-rc1-setup.zip https://www.autoitscript.com/autoit3/files/beta/autoit/autoit-v3.3.16.1-rc1.zip 3.3.16.1 (xxx, 2022) (Release) AutoIt: - Fixed #3866: REGEXPCLASS broken in 3.3.16.0. - Fixed #3875: GUICtrlSetResizing() performance. - Fixed #3865: Image Control resizing behave as forced $GUI_DOCKWIDTH and $GUI_DOCKHEIGHT. - Fixed #3764: StringRegExp() crash with patterns that cause infinite recursion. - Fixed #3876: Hex Number Arithmetic is incorrect. - Fixed #3879: Dim Map to Array. UDFs: - Fixed #3867: Changes in 'SecurityConstants.au3' to avoid name conflict. THIS IS A SCRIPT BREAKING CHANGE - Added: UBound[2] example. - Added: StringRegExp[5] example. - Added: _GUICtrlEdit_SetPadding() function and example. - Fixed: Regression in 3.3.15.1, _WinAPI_RegCreateKey() and _WinAPI_RegOpenkey(). - Added: _WinAPI_RegDeleteKey() can use $hKey as in RegRead(). - Fixed: Regression of #3835 on _GDIPlus_GraphicsGet*(). - Fixed #3871: _ArrayDisplay() Hang sorted array with Null element. - Fixed: _FTP_FileGetSize() very big size. - Fixed #3872: FTP-Server in AutoIt Help no longer accessible. - Fixed #3877: GUICtrlCreateLabel() overlapping controls doc precision ($WS_CLIPSIBLINGS). - Added #3863: _WinAPI_GetCapture(). - Added: Allows _DebugArrayDisplay() to be used in UserFunc. - Added: _ArrayDisplay() and _DebugArrayDisplay() support Min Column width. - Added: _Array2DCreate() support 1D and/or 2D arrays. - Added: _DebugReportVar() display DllStruct content. - Fixed #3883: _DebugArrayDisplay() produces uncalled console message. - Added: _ArrayDisplay() and _DebugArrayDisplay() display {Array[dims]}, {Map[nentry]} and {Object}.
    1 point
  4. Or Local $sString = 'Item 1, Item@2, Item_3, Item/4, Item-5' $sString = '"' & StringReplace($sString, ", ", '", "') & '"'
    1 point
  5. This ? Local $sText = "Item 1, Item@2, Item_3, Item/4, Item-5" Local $sFinal = '"' & StringRegExpReplace($sText, '(, )', '", "') & '"' ConsoleWrite($sFinal & @CRLF)
    1 point
  6. @Danp2 Ya I tested this way and other ways, but it does not work. For some reason there is an incompatibility between the two....
    1 point
  7. If you want to use WD, here a way that is working for me : Local $sElem = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//div[@id='line1']") Local $vScreen = _WD_Screenshot($sSession, $sElem, 2) _GDIPlus_Startup() Local $hBit = _GDIPlus_BitmapCreateFromMemory($vScreen) _GDIPlus_ImageSaveToFile($hBit, "Element.bmp") _GDIPlus_ImageDispose($hBit) _GDIPlus_Shutdown() Local $hHbit = _WinAPI_LoadImage(0, "Element.bmp", $IMAGE_BITMAP, 0, 0, $LR_LOADFROMFILE) _ClipBoard_Open("") _ClipBoard_Empty() _ClipBoard_SetDataEx($hHbit, $CF_BITMAP) _ClipBoard_Close() _WinAPI_DeleteObject($hHbit) I do not know why creating HBitmap format from GDI+ is not compatible with _ClipBoard. This is the reason I needed to go thru a file to make it worked.
    1 point
  8. @mLipokThe following works for me in both Chrome and Firefox (both still show some errors in the browser console) -- Local $s_Date = '2021/06/10' Local $s_JAVA_Script = _ "var fp = flatpickr('#lib-date-0', {});" & _ "fp.setDate('" & $s_Date & "',true,'Y/m/d');" & _ "" _WD_ExecuteScript($sSession, $s_JAVA_Script)
    1 point
  9. nend

    Mail UDF

    I made this small UDF for the Swithmail program because I just can't find any working Autoit code which can use a office 365 account. This is a UDF based on the small commandline Swithmail (549KB) program. SwithMail is an application that allows you to send SSL/TLS SMTP It can send mail via SMTP/Gmail/Office 365 (as far as I know no other AutoIT UDF can do this). Link to Swithmail website https://www.tbare.com/software/swithmail/ In the zipfile example there Swithmail program included. Mail Example.zip
    1 point
  10. From the FF Dev console -- From the Chrome Dev console -- Haven't researched any further than this, but I suspect you are not calling the function with the correct parameters since both browsers are returning an error.
    1 point
  11. chrshea

    Mail UDF

    Worked first time. Good work.
    1 point
  12. There are some nice macros available FileWrite("log"&@year&@mon&@mday&".txt","Logging something...")
    1 point
  13. I wonder why the forum accepts exe files for upload at all
    0 points
×
×
  • Create New...