Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/20/2021 in all areas

  1. Aren't these tools too sharp ?
    2 points
  2. Is not a rant. I don't rant. Well, maybe. If there was a standard to add "[Solved]" to the title would help me not read, it'd also show that the question was answered. ... just a wish of mine
    2 points
  3. When is your project due by?
    1 point
  4. @Nicki Not familiar with that browser, but you may be able to use the Webdriver UDF if it supports the webdriver technology.
    1 point
  5. Using SciTE Lite ImageSearch works, but if you use the full package, ImageSearch fails. I test scripts with a shortcut on my desktop to the Lite version and use the full tools provided whilst developing. Not sure on why this is but might answer your question.
    1 point
  6. Example from this forum: $sRowText = _WD_ElementAction($sSession, $aElements[$i], "Property", "innerText")
    1 point
  7. water

    Excel help (Solved)

    According to this thread this is caused by the inability of Excel to open two workbooks with the same name. Unfortunately Excel doesn't raise a COM error. So this error goes unnoticed. Is fixed in the next release. So please make sure you do not try to open an already open workbook.
    1 point
  8. You don't even need a loop : Local $iPid = Run($sCommand, @WorkingDir , @SW_SHOW , $STDOUT_CHILD) ProcessWaitClose($iPid) Local $sOutput = StdoutRead($iPID)
    1 point
  9. water

    Excel help (Solved)

    As a start I suggest something like this. To be more flexible you could create a template holding a single block of data. This could then be duplicated in the target workbook as often as needed. #include <Excel.au3> #include <Date.au3> Global $oExcel = _Excel_Open() Global $oWorkbook = _Excel_BookNew($oExcel) Global $sStartDate = "2021/04/20" Global $sEndDate = "2021/04/25" Global $iStartRow = 1 Global $iBlockSize = 3 Global $iEmptyRows = 1 Global $sCurrentDate = $sStartDate Global $iCurrentRow = $iStartRow While $sCurrentDate <= $sEndDate ; Write Date _Excel_RangeWrite($oWorkbook, 1, $sCurrentDate, "A" & $iCurrentRow) ; calculate next date and next row to write to $sCurrentDate = _DateAdd("D", 1, $sCurrentDate) $iCurrentRow = $iCurrentRow + $iBlockSize + $iEmptyRows WEnd
    1 point
  10. If you have a hard time understanding SRE, maybe you should consider using StringInStr for the time being. The function is perfect for finding just a series of characters and it will let you code your own scripts.
    1 point
  11. Your motivational speech is great! How can I say no to that? When I get home tonight, I'm going to see if I can make this work. (I'm not the big color specialist).
    1 point
  12. Can you tell us more about the program you are trying to automate? Perhaps there's a better option than using ImageSearch, which I've never personally used. 🙂
    1 point
  13. 3-liner: For $sentence In StringSplit(StringRegExpReplace(FileRead("2.txt", FileDelete("results.txt")-2),"([\!\.\?])","$1.!?"), ".!?",3) If StringRegExp($sentence,"\W" & StringStripWS(FileRead("1.txt"),2) & "\W") Then FileWriteLine("results.txt",$sentence) Next @mikell, fork and knife fed 1.txt 2.txt results.txt
    1 point
  14. ... I'm sure that there are more people in the world using Windows 98SE, than those with my coloring scheme but, if you're aiming for the best about box you can put together, this would be something to take into consideration.
    1 point
  15. Does this mean you are changing my about dialog to have a "dark af" skin or is this a feature request?
    1 point
  16. @argumentum You Got It!!!
    1 point
  17. Thanks. It may sound silly but to prefix the [Solved] to the title does help those looking to participate in finding a solution and also helps those looking for a solution
    1 point
  18. @argumentum ok I'll add the "[Solved]" just to make you happy (; Today is your day baby!!
    1 point
  19. Local $aArraym[2][2][2] = [ [ [1,2] , [3,4] ] , [ [4,5] , [7,8] ] ]
    1 point
  20. Did you compile as 64 bit and use #RequireAdmin? Example: #RequireAdmin #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseX64=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** Run("PowerShell.exe -noexit Get-RDUserSession")
    1 point
  21. I had a similar problem with Active Directory. You need to install those cmdlets. https://stackoverflow.com/questions/52876847/get-rdusersession-is-not-recognized-as-the-name-of-a-cmdlet
    1 point
  22. Local $a = ["A7341M7","a7341pX","2D187m9", "00001BE", "32671**"] ; ?????** or ?????m? or ?????p? For $s in $a ConsoleWrite ("With " & $s & "(" & Binary($s) & ") SRE returns " & StringRegExp($s,"(?i)^[[:alnum:]]{5}([MP][[:alnum:]]|\*\*)$") & @CRLF) Next As per your other rule, not sure what is the exact target, could you provide a real example of the content.
    1 point
  23. I'd try compiling as x86 and trying that.
    1 point
×
×
  • Create New...