Leaderboard
Popular Content
Showing content with the highest reputation on 01/02/2023 in all areas
-
Artificial Intelligence : a way to teach Autoit to AI? - (Moved)
genius257 and one other reacted to noellarkin for a topic
ChatGPT is advanced autocorrect, and isn't particularly concerned with the correctness of its response. It's focus seems to be on "sounding" as human-like as possible, using natural language, not fact-checking its output. It's not very useful for coding IMO, unless you're using something very popular like Python and your problem is something for which there are ample examples and solutions in the dataset that ChatGPT has been trained on. I've tried using it with AutoIt and it keeps making up libraries and functions that don't exist. It does the same for Python as well, but slightly less often. Even for python snippets, errors aren't uncommon. I've found ChatGPT to be useful for pseudocode generation (describe the problem and ask the chatbot to respond in pseudocode) because the particular details of language use etc are abstracted away. I've also found it somewhat useful for refactoring existing code snippets, when I want to clean up a function, use SESE or single responsibility to trim spaghetti code etc.2 points -
Coding Autoit & RESPECT
noellarkin and one other reacted to TheSaint for a topic
Most of the time it is just ignorant snobbery .... like if you don't wear the right trendy shoes or clothes. I always smile and know I know a great empowering secret they don't ... not forgetting it is about the right tool for the right job. I can never get past how much AutoIt has enabled me, with the least amount of trouble compared to other languages. Quite frankly, I feel blessed. Thanks Jon and Team.2 points -
@dadLogI would also recommend taking a look at @Gianni's _HtmlTableGetWriteToArray. It is extremely efficient, and could possibly be used as a means to capture the desired data or at least serve as a starting point.1 point
-
WebDriver UDF - Help & Support (IV)
SOLVE-SMART reacted to dadLog for a topic
Thanks for the tips and help! I am aware of the fact that my code is naive and imperfect. I gratefully accept suggestions for improvement. This is not a way of logging. it is a temporary stub for an exit with a description of what caused the exit. Subsequently it will be split into 2 parts exit and restart with the reason logged. I'm trying to look at examples ( xml.au3 ), but it's hard because of my problems with English. ( Thank you, Sven!1 point -
WebDriver UDF - Help & Support (IV)
dadLog reacted to SOLVE-SMART for a topic
Oh wow @dadLog, what a script 😲 . Don't get me wrong, but I like to recommend you to split several parts of your function in extracted functions. Otherwise it could (will) go crazy if you try to understand your approach in a month or so. I also do not understand your way of logging => _MsgBoxAndExit() with all the information about what is wrong with the XPath and findings etc. If you want more output you can set the log level of the WebDriver (to $_WD_DEBUG_Full). _SetLogLevel() Func _SetLogLevel() ; $_WD_DEBUG = $_WD_DEBUG_None ; no logging ; $_WD_DEBUG = $_WD_DEBUG_Error ; logging in case of Error ; $_WD_DEBUG = $_WD_DEBUG_Info ; logging with additional information ; $_WD_DEBUG = $_WD_DEBUG_Full ; logging with full details for developers $_WD_DEBUG = $_WD_DEBUG_Full EndFunc If you need more support, don't hesitate to ask 🤝 . Best regardsSven________________Stay innovative!1 point -
Coding Autoit & RESPECT
noellarkin reacted to Dana86 for a topic
I was chatting with some college kids at a Starbucks about Autoit & they just assumed I am a noob programmer when they heard my enthusiasm about coding AutoIt... Which they have never heard of... I find Autoit to be highly undervalued & underestimated in the engineering world... You can accomplish, build & test things 5X faster than with any other language. Also, Autoit serves as a powerful unique software integration medium. Also, Autoit can build almost anything Python can build & if Python has some libraries that Autoit lacks I just run those compiled python files with Autoit. Anyways... the question is has anyone been dismissed as a noob coder for programming Autoit as their go-to main programming language? Other than a larger library I don't think there are any noticeable performance differences between Python & Autoit right?1 point -
WebDriver UDF - Help & Support (IV)
dadLog reacted to SOLVE-SMART for a topic
One last thing I want to mention @dadLog: Have a look at the xml.au3 which supports XPath search as far as I know. Best regardsSven________________Stay innovative!1 point -
Use _Word_DocFindReplace with the following parameters: $sFindText: "STRING1*STRING_2" $sReplaceWith: "STRING_1 STRING_2" $bMatchWildcards: True Detailed description: https://www.datanumen.com/blogs/2-smart-methods-to-delete-contents-between-two-specific-words-in-your-word-document/1 point
-
Coding Autoit & RESPECT
TheSaint reacted to noellarkin for a topic
I'm a small business owner using Autoit, not a programmer, so I can't comment on advanced features - - - but AutoIt has been my go-to over the past year for a lot of my work. I like how simple AutoIt is, and I also like the aesthetics of it - - Functions and codeblocks are clearly defined, variable declarations are visible, there aren't any unnecessary brackets etc - - I have a tougher time understanding Python code than AutoIt. What matters to me most is speed of implementation, and AutoIt is far ahead of the pack (I tried Python, AutoHotkey, and even some RPA software packages like OpenRPA before deciding on using AutoIt in my workflows). I'm actually quite surprised that AutoIt isn't more popular - - usually in industries, tools that are percieved to be more "entry level" have the largest userbase, the most libraries etc. In fact, my only issue with AutoIt (and this isn't an issue with the language itself, more so the use case) is that it doesn't seem to have libraries for DataOps/ML (Python seems to have a disproportionate number of these libraries). Looking past that, however, IMO AutoIt is probably the best investment if someone (especially people owning or working in small businesses) wants to begin implementing RPA solutions quickly and easily, at minimal cost.1 point -
Coding Autoit & RESPECT
TheDcoder reacted to SOLVE-SMART for a topic
Hi @philpw99, while I also really like AutoIt for the simplicity, the concepts and the syntax, I sadly also have to agree about your statement: Indeed, I also experienced this many times. But when it comes to a professional work with specific customer requirements, this is just madness and never a good approach. For private project I don't mind, but as I see "quick and dirty" approaches at work, where the codebase is shared with team members and have to be clean, transparent, understandable, I become sensitive and I have to mention over and over again, about the importance of clean and well structured software. Best regardsSven________________Stay innovative!1 point -
Will this type of "pseudo webview2" work?
argumentum reacted to philpw99 for a topic
I don't think anyone who wants to utilize WebView2 still runs 32bit Windows. They should be very happy with the good old IE10.1 point -
Easy. Here's the X86 .dll and the source file: sqlite3-pcre.zip sqlite3-pcre-src.zip The regex engine used is PCRE v1, the same as AutoIt currently uses.1 point
-
AutoIt Snippets
noellarkin reacted to rcmaehl for a topic
_ArraySafeDelim() - Returns a usable delimiter that is not in the array. Could probably be expanded to use Unicode but I CBA to filter symbols from letters for the entire unicode range. You could technically use letters as a delim but eh, maybe as a flag. Func _ArraySafeDelim($aArray) $sChars = _ArrayToString($aArray, "") Select Case Not StringInStr($sChars, "|") Return "|" Case Else For $iLoop = 33 To 191 Step 1 Switch $iLoop Case 48 to 57 ; Skip Numbers ContinueLoop Case 65 to 90 ; Skip Upper Case ContinueLoop Case 97 to 122 ; Skip Lower Case ContinueLoop Case Else If Not StringInStr($sChars, Chr($iLoop)) Then Return Chr($iLoop) EndSwitch Next EndSelect ; If No Char Found, Error Return SetError(1, 0, False) EndFunc1 point -
Coding Autoit & RESPECT
noellarkin reacted to Aelc for a topic
well always when i talk about autoit nobody knows... but if i show them what is possible they wake up and there is still so much potential.. it's so fun when i see their face then ... but yes first reaction of them is just what thats not programming blah blah1 point -
Coding Autoit & RESPECT
noellarkin reacted to Danyfirex for a topic
I think people sometimes miss the main point of programming. You're not a great programming because You use a particular programming language, You can't say I'm a good programmer because I use C++ or ASM, I've worked with people that are able to build a machine driver but can't get done easy things using AutoIt, purpose of programming is to find a sequence of instructions that will automate the performance of a task. Programming goes beyond just knowing how to use a programming language, It's the way you think, The way You use the logic, the way you use the lenguages/tools/instruccions to get something done/solved. For example, I learned AutoIt as my main programming language and I can see even read / understand C ++ or C # or any other programming language algorithm simply by reading some basic sets of its instructions, but even that doesn't make me a good programmer because as I said the programming goes beyond that. So Just take a long talk with your friends and talk about about this great world named programming. 😊 Saludos1 point -
Coding Autoit & RESPECT
noellarkin reacted to FrancescoDiMuro for a topic
@Dana86 Don't listen to them; they're just ignorants because they're judging something (and even worse, someone) by a thing they don't know. AutoIt is a powerful scripting language you can do a lot of amazing things with. I started studying AutoIt back in 2016 for a script which had to run multiple intsances of a program, and move each instance on a different screen; from there, I've never stopped working with AutoIt, and everyday (mostly thanks to the amazing community on the Forums which is envied in other coding Forums), you never stop to learn something new and useful, and the simplicity of the language makes everything more comprehensible and understandable from who had never used a programming language. Be proud of what you do, and don't feel judged by someone who can even understand what is saying. Cheers1 point -
Coding Autoit & RESPECT
noellarkin reacted to iamtheky for a topic
1 point -
Coding Autoit & RESPECT
noellarkin reacted to argumentum for a topic
I tell ppl. I use C++ and add a Boralnd C++ icon. Most ppl have no clue and "C++" sounds like they are smart and are making a good choice using me ...if they wanna dig deeper, I tell'em is a C++ stub I've got, and that speeds my development. Not much is a lie. Then again, I don't fight with egos.1 point -
AutoIt Snippets
SOLVE-SMART reacted to guinness for a topic
...and the worst snippet too. Please put a little more effort into your snippets. Even something like this makes more sense e.g. #include <Array.au3> Example() Func Example() Local $aArray[100] _ArrayDisplay($aArray) PurgeVar($aArray) _ArrayDisplay($aArray) EndFunc ;==>Example Func PurgeVar(ByRef $vVar) Switch VarGetType($vVar) Case "Array" Local $aEmpty[0] $vVar = $aEmpty ; Default value of an array. Case "Binary" $vVar = Binary(0) ; Default value of binary. Case "Bool" $vVar = False ; Default value of a boolean. Case "Double" $vVar = 0.0 ; Default value of a double. Case "Int32", "Int64" $vVar = 0 ; Default value of an integer. Case "Function", "Keyword", "DLLStruct", "Object", "Ptr" $vVar = Null ; Default value of an object/pointer. Case "String" $vVar = "" ; Default value of a string. EndSwitch EndFunc ;==>PurgeVar1 point