Leaderboard
Popular Content
Showing content with the highest reputation on 09/29/2020 in all areas
-
Introductory learn to program text using Au3
argumentum reacted to Jfish for a topic
This forum (Au3 Technical) is inhabited by luminaries whose posts frequently demonstrate understanding far beyond my capabilities. For that reason, and at Jon's suggestion, I am reaching out to tap into your wisdom for a project that I have been working on a for a while. I was looking for a way to give back to AutoIt. As a self-taught programmer I have learned an incredible amount from this forum and the help file. It has been very rewarding. Over the course of my personal experiences I have wished, at times, that even though the materials and support are truly incredible - that someone could explain some of the more basic concepts. At the same time, I saw the creation of code.org and I started to think that AutoIt would be a perfect learning tool for people starting out (because of the simplicity, the incredible help file, and the best forum I have ever seen). All of that led to the creation of this text: https://www.autoitscript.com/forum/files/file/351-learn-to-program-using-free-tools-with-autoit/. It is the first draft of a basic introduction to programming using AutoIt. Nobody has reviewed it. Accordingly, I seek the collective constructive feedback of anyone willing to offer opinion as to content, spot any errors, and make any suggestions to improve it. My goal was always to donate it to the AutoIt forum when it was done. I think it could be a good addition to fill the gap for neophytes who may crave to see how everything fits together. The last thought I will leave you with - similar to the first - is that I am not the world's greatest coder (this may be a case of those who can do and those who can't teach). That said, I am hoping that the issues you will undoubtedly spot are not huge or threatening to the overall effort and that you appreciate the fact that this took some time to pull together. I look forward to hearing your thoughts.1 point -
No, it's a full-fledge language of its own. Only the grammar and syntax are a bit ususual.1 point
-
GDPR is about data procesing not only transmiting. For example if you have small business and you have e-mail system, invoce program, employers private data, then GDPR perfectly fit to you.1 point
-
Siwa, "Klingon" is the language of the Klingon race in the Star Trek universe - and I used that term to mean that I have not got the least idea of what you were trying to explain in your earlier post. if you want to try again I would be happy to read it, but I cannot promise to do any better. In my opinion if I am having that much difficulty understanding your concept of how the GUI should work then you need to simplify your vision considerably. Anything that complicated is unlikely to be easy to code or display. But of course, YMMV. As to colouring elements of the ListView I suggest you download my GUIListViewEx UDF (the link is in my sig) and look in articular at the Example_6 script which has all sorts of coloured elements. i would be very happy to help you get the colouring working - if you can provide a clear explanation of what you want to happen to alter the colour of the specific cell. M231 point
-
i am new to autoit and i need help with (control click)
Shaheen288 reacted to zeenmakr for a topic
100%1 point -
i am new to autoit and i need help with (control click)
Shaheen288 reacted to dmob for a topic
Irfanview has a very good command line interface, including batch conversion. I would suggest you utilise that rather than window automation.1 point -
Hey everyone, just got back from my 2 month break from posting in this topic, LOL Before you add this project to the long list of other "AutoIt wannabe languages", let me tell you that I am still actively thinking about how to progress forward . As a matter of fact, the reason for the delay is that I got busy with another freelance project and so I haven't been able to concentrate on this project with that and all the other good stuff in life. Today I would like to break the silence by reporting on some progress I made while I was quiet. -- I have started work on the next step of parsing, which is syntactic analysis, i.e taking those tokens and building the actual code tree so that the interpreter/compiler can know what the code is trying to do. Before I could start writing code to do that, I need to get all the tokens in a neat array, so I implemented a linked list to do just that... a linked list is a kind of dynamic array, to which elements could be added/removed easily compared to traditional arrays: https://github.com/DcodingTheWeb/EasyCodeIt/commit/5c43ffd392e8a2c26d9187767298167cf2de66c2 I also modified the output code to work with the new dynamic array instead of getting the tokens one-by-one and printing them without storing anything in the memory, and I have also added a neat feature which lets the user know in advance if there are any unknown tokens in the code, which was previously not possible . Here is some sample output: ConsoleWrite("This script has an unknown token" & @CRLF) % ; Here it is !!! WARNING: Unknown token(s) encountered !!! ---### TOKEN ###--- Type: Word Data: ConsoleWrite ---### TOKEN ###--- Type: Bracket Data: ( ---### TOKEN ###--- Type: String Data: This script has an unknown token ---### TOKEN ###--- Type: Operator Data: & ---### TOKEN ###--- Type: Macro Data: CRLF ---### TOKEN ###--- Type: Bracket Data: ) ---### TOKEN ###--- Type: Unknown Data: % ---### TOKEN ###--- Type: Comment Data: Here it is1 point
-
@finAC Here's a revised version of your code -- #include "wd_core.au3" #include "wd_helper.au3" $_WD_DEBUG = $_WD_DEBUG_Info _WD_Option('Driver', 'geckodriver.exe') _WD_Option('DriverParams', '--log trace') _WD_Option('Port', 4444) Local $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"browserName": "firefox", "acceptInsecureCerts":true}}}' Local $sTargetURL = "https://myerponline.de/demosystem/security/Menu.html" Local $pWD Local $sSession, $sElement, $sFrames, $sContent $pWD = _WD_Startup() If @error <> $_WD_ERROR_Success Then Exit -1 ;Open Session $sSession = _WD_CreateSession($sDesiredCapabilities) _WD_Navigate($sSession, $sTargetURL) _WD_WaitElement($sSession, $_WD_LOCATOR_ByXPath, "//frameset[@id='framesetMenu']", 1000, 5000) MsgBox(0, "How many frames", _WD_GetFrameCount($sSession)) Local $sFrames = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//frame", Default, True) If VarGetType($sFrames) = "Array" Then For $i = 0 To UBound($sFrames) - 1 MsgBox(0, "Frame " & $i, _WD_ElementAction($sSession, $sFrames[$i], 'attribute', 'src')) _WD_FrameEnter($sSession, $sFrames[$i]) MsgBox(0, "", _WD_GetSource($sSession)) _WD_FrameLeave($sSession) Next EndIf _WD_DeleteSession($sSession) _WD_Shutdown($pWD)1 point
-
Ascending sort of number sequence
BlackLumiere reacted to liagason for a topic
Hello everyone, How can I display in ascending sequence some numbers stored in a string variable? $str = "18,03,48,23" MsgBox(0,"test",$str) I would like it to display "03,18,23,48"1 point -
Ascending sort of number sequence
BlackLumiere reacted to Jos for a topic
Here you have something to study and play with: #include<Array.au3> $str = "18,03,48,23" $aStr = StringSplit($str,",",2) _ArraySort($aStr) for $x = 0 to UBound($aStr)-1 MsgBox(0,"value " & $x ,$aStr[$x]) Next Jos1 point