Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/23/2023 in all areas

  1. bogQ

    msgbox focus

    you did 😀 , msgbox is blocking element in script, so there is not a way to position mouse in this case while msgbox is still on the screen from the same script. that is probably what he is referring to
    1 point
  2. Here is an example as the result from a FileRead(), as suggested by @AspirinJunkie : #include <Array.au3> Local $sFileStr = "This is an example of a badly formatted text file. The file does not contain the usual " & _ "sequences for line breaks. That would be CRLF or LF. Instead, the line break is caused " & _ "by a period. In addition, it is possible that the dot is used both as a normal " & _ "punctuation mark, . and as an indicator for the line break. Not a very consistent solution :( ." Local $aArray = StringSplit($sFileStr, '.') _ArrayDisplay($aArray)
    1 point
  3. Do not have his full code but he will need to add some sleep after page load or some other func _WD_WaitElement maybe?. Shadow root main element is maybe defined on page load but its html content is generated later probably on document ready with js/jquery. Some sleep after page load will result in correct selector. _WD_Navigate($sSession, "https://www.na-kd.com/de") Sleep(10000) $sRoot = _WD_GetShadowRoot($sSession, $_WD_LOCATOR_ByCSSSelector, "#usercentrics-root") $sHTML = _WD_ElementAction($sSession, $sRoot, 'property', 'innerHTML') ConsoleWrite("source: [" & $sHTML & "]" & @CRLF) $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "button:last-child", $sRoot, Default, True) _WD_ElementAction($sSession, $sElement, "click")
    1 point
  4. Since, as mentioned, there are no line breaks, a FileReadToArray will barely help you. If, as described, the dot "." is the separator, then the procedure would be as follows: read the whole file into a string via FileRead(). split into an array via StringSplit() with the "." as separator.
    1 point
  5. oh it's actually pretty simple, just download the ffmpeg release, and run the ffplay.exe in terminal like: ffplay -noborder -x 600 -y 400 ./video.avi you can also position it with -left and -top parameters. then just create your gui and position it inside of the gui where ever you want. use the "Run" function from autoit to run the cmd command. and use the @SW_HIDE showflag to hide the cmd window. But make sure to credit FFmpeg if you're planning to release anything in public.
    1 point
  6. Source: https://forum.dtw.tools/d/28-easycodeit-progress-flex-bison-parser/15
    1 point
×
×
  • Create New...