Leaderboard
Popular Content
Showing content with the highest reputation on 04/20/2021 in all areas
-
extract a sentence containing word in text file
JockoDundee and one other reacted to mikell for a topic
Aren't these tools too sharp ?2 points -
Please Help With 3D Arrays "[Solved]"
Mannyfresh31 and one other reacted to argumentum for a topic
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 mine2 points -
extract a sentence containing word in text file
Nine reacted to JockoDundee for a topic
When is your project due by?1 point -
@Nicki Not familiar with that browser, but you may be able to use the Webdriver UDF if it supports the webdriver technology.1 point
-
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
-
Example from this forum: $sRowText = _WD_ElementAction($sSession, $aElements[$i], "Property", "innerText")1 point
-
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
-
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 WEnd1 point
-
StringRegExp and ClipGet() help needed
JockoDundee reacted to Nine for a topic
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 -
About dialog with credits area
argumentum reacted to Professor_Bernd for a topic
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 -
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
-
extract a sentence containing word in text file
vinnyMS reacted to JockoDundee for a topic
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.txt1 point -
About dialog with credits area
Professor_Bernd reacted to argumentum for a topic
... 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 -
About dialog with credits area
argumentum reacted to Professor_Bernd for a topic
Does this mean you are changing my about dialog to have a "dark af" skin or is this a feature request?1 point -
Please Help With 3D Arrays "[Solved]"
argumentum reacted to Mannyfresh31 for a topic
@argumentum You Got It!!!1 point -
Please Help With 3D Arrays "[Solved]"
Mannyfresh31 reacted to argumentum for a topic
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 solution1 point -
Please Help With 3D Arrays "[Solved]"
argumentum reacted to Mannyfresh31 for a topic
@argumentum ok I'll add the "[Solved]" just to make you happy (; Today is your day baby!!1 point -
Please Help With 3D Arrays "[Solved]"
Mannyfresh31 reacted to TheXman for a topic
Local $aArraym[2][2][2] = [ [ [1,2] , [3,4] ] , [ [4,5] , [7,8] ] ]1 point -
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
-
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-cmdlet1 point
-
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
-
what am i doing wrong here? (ScriptControl)
seadoggie01 reacted to JohnOne for a topic
I'd try compiling as x86 and trying that.1 point