Leaderboard
Popular Content
Showing content with the highest reputation on 09/15/2019 in all areas
-
Isn't this called "AutoIt help file"2 points
-
Ternary operator is for evaluating expressions. ContinueLoop or ExitLoop are statements. It's like you try to pass ContinueLoop to a function as parameter ( Cos(ExitLoop)) or you try to operate with a statement like ( $var=1+ContinueLoop) Saludos2 points
-
Version 1.6.0.1
2,270 downloads
Extensive library to control and manipulate Microsoft Task Scheduler Service. Please check this site for the implementation status! Please check the History.txt file in the archive for the changelog. Please check the WIKI for details about how to use the UDF. BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort KNOWN BUGS (last changed: 2021-02-03) None Things to come (last changed: 2021-02-03) None1 point -
ZIP UDF (zipfldr.dll library)
seadoggie01 reacted to wraithdu for a topic
Here is the rewritten version of this UDF. See my comments HERE. Please test the shit out of this thing. It was a major headache, and I want to make sure I didn't miss something. Thanks! Update 2013/05/28 - Fixed missing @error return in _Zip_ItemExists - Clarified a few @error return value meanings - Added an additional check and @error code to _Zip_DeleteItem - Clarified some of the header notes, esp regarding behavior on XP Update 2011/12/08 - Fixed recursion in ListAll function Update 2011/12/07 - Fixed recursion error in CountAll function - updated objects to conform to new COM syntax (parenthesis req'd for methods) Update 2011/07/01 - Reverted change to AddItem function - **Adding an item directly to a sub folder on XP will FAIL Update 2011/06/30 - Fixed traversing namespaces on Windows XP - Added note that overwrite fails on XP Update 2011/01/13 - Fixed bug adding items to a subfolder that doesn't exist yet Update 2010/08/27 - Fixed bug with trailing 's Update 2010/07/16 - Better error reporting in _Zip_AddItem function Update 2010/07/02 - Added credits. - Added trancexxx's suggestion to remove any left over temporary directories. - Replaced some StringTrim calls with cleaner StringRegExpReplace calls. - Moved a few repetitive lines of code into functions. - Moved a few repetitive lines of code into functions. - Moved a few repetitive lines of code into functions. =========================== _Zip.au31 point -
I am fine with making it public and sharing it on Github, which would also allow others to make modifications to it as my brain has issues handling it at times. .. but it is up to @Jon to say Yea or Nee to that. Jos1 point
-
Au3check is using a stand-alone lexer based on FLEX & YACC, which is also the reason why, with each syntax changes, we're in trouble as it was written by @tylo who isn't around anymore since a good number of years. Jos1 point
-
The Lexer source itself is file lexau3.cxx, but that doesn't help you that much as it uses the Scintilla foundation in which it is build. scintilla call's the lexer for the functions you want to perform being the Syntax Coloring/Highlighting or the Folding. The files used by the Lexer are au3.properties which in turn loads: au3.keywords.properties autoit3wrapper.keywords.properties au3.keywords.abbreviations for all the different lexer option tables keywords?.$(au3). Jos1 point
-
The files only provide the names of the Functions/Macros/keywords etc to the Lexer I wrote. The AU3Lexer does all the hard work to determine based on its internal logic and the provided table of different keywords, to "understand" the language syntax. Hope that makes sense? Jos1 point
-
I remind having done some work long ago but it isn't complete nor fully suitable for the task. I also have a vague plan to make that more solid in view of a development I have in mind, but I need time to work on this and time is something I don't have many suppliers.1 point
-
A cross-platform implementation of the AutoIt language
TheDcoder reacted to argumentum for a topic
I had no clue but here .. https://en.m.wikibooks.org/wiki/Introduction_to_Programming_Languages/Grammars I feel so uncultured right now1 point -
UpdateFromOPF updated, to v4.4 , see Post #5. (v4.4) Bugfix & Improvements reading & fetching metadata, and hopefully no more fetching wrong titles. NOTES - A wrong title only happened now and then, and was reported and overcome by using the AMAZON fetch option, but the ASIN Mobi is now additionally used during fetch, if available. The AMAZON fetch button uses my own code to get metadata 'Description/Blurb/Summary' text, so is not the same as the new query to use the calibre Amazon plugin. Having improved the basic fetch return, I am finding I don't need to use the AMAZON fetch button as much. Previously, a carriage return or line feed in the XML 'Description' tag line (making it more than one line), prevented all text from being returned, but I have now fixed that, both for viewing and when fetching. (v4.3) Added further improvements for HTML Tag replacements, both visually and behind the scenes. User if savvy, can also add others to an INI entry, in the section 'HTML Replacements' in the Settings.ini file. (v4.1) BUGFIX for some Html tags (if Amazon fetch was used), that are now converted to work correctly. Added a count check of words in Description (Summary/Blurb) before and after Save, with a prompt if no match. NOTE - Implemented due to the odd rare failure ... some Html/Calibre compliance related issue. NOTES - It seems I had not gotten around to uploading an update for a while ... usually due to unfinished testing ... and then I suspect was forgotten.1 point
-
A cross-platform implementation of the AutoIt language
FrancescoDiMuro reacted to TheDcoder for a topic
You are right. I could have used better words. What I wanted to say is was that I will make a complete technical reference for the whole language syntax, maybe even including some BNF notation! There are two purposes of me wanting to do this: I want to understand the syntax better as a whole and break it into parts It will serve as a good reference for both me and other people who want to work with my project or with the AutoIt syntax in their own project So everyone please send me anything they have which can help me in this matter! Maybe the AutoIt Dev team has some informal text about this lying somewhere? I bet there is a "test script" which was in use when AutoIt v3 was in development, however it might be buried deep after all these years. I would love to get my hands on them1 point -
A cross-platform implementation of the AutoIt language
TheDcoder reacted to argumentum for a topic
SciTE has external files that loaded determine the syntax for a given language. Maybe you can use that.1 point -
AutoIt won't run scripts inside shared drive (VirtualBox shared folder)
FrancescoDiMuro reacted to TheDcoder for a topic
@joboy2k This issue seems to be solved in the latest update of VirtualBox. There was an issue with shared folders which was effecting Windows guests which surfaced in the previous update which caused Windows to crash whenever opening a shared folder with executables, this has been fixed in the latest update. Seems like this issue maybe related and also got fixed in the update as the result of improving the code related to folder sharing. Please update to the latest version of VirtualBox (currently 6.0.12) and make sure you update the guest additions on Windows too! This is a bug in the guest additions as far I know. Here is the ticket for the bug I mentioned: #18766 (6.0.10 r132072 crashes Windows VM when Shared Folders are used)1 point -
Creating a "brushed up" Task Scheduler UDF?
argumentum reacted to water for a topic
Alpha version 0.5.0.0 released Changelog can be found on the download page and the history in the ZIP file. For download please see my signature below. I think this will be the last Alpha version as I got everything working so far. Please play with this version and tell me what doesn't work or is missing!1 point -
When you declare a variable in the global scope of a script (not in a function), then it is always Global, even if you use the keyword Local ! Edit : @guner7 There is only one global scope for all (script, includes), see example below : Main script (save as main.au3): ; Mainscript : Global $g_sText = 'This is a text' ConsoleWrite('@@ 1. $g_sText = ' & $g_sText & @CRLF) ConsoleWrite('! before #include -> IsDeclared("g_sIncludeGlobal") = ' & IsDeclared("g_sIncludeGlobal") & @CRLF) ConsoleWrite('< --> #include "Includescript.au3' & @CRLF) #include "Includescript.au3" ConsoleWrite('< --> #include Done' & @CRLF) ConsoleWrite('+ after #include -> IsDeclared("g_sIncludeGlobal") = ' & IsDeclared("g_sIncludeGlobal") & @CRLF) ConsoleWrite('@@ 3. $g_sText = ' & $g_sText & @CRLF) Include script (save as Includescript.au3) : ; Includescript : Global $g_sIncludeGlobal = 'some other text' ConsoleWrite('@@ 2. $g_sText = ' & $g_sText & @CRLF) ConsoleWrite('@@ $g_sIncludeGlobal = ' & $g_sIncludeGlobal & @CRLF)1 point
-
Try _GUICtrlListView_ClickItem()1 point
-
In theory, yes...but it also depends on the application and the control. To illustrate, here's a crude example that disables the = button on the windows calculator: If Not ProcessExists("calc.exe") Then Run(@SystemDir & "\calc.exe") ProcessWait("calc.exe") $hWnd = WinGetHandle("Calculator") If Not IsHWnd($hWnd) Then Exit ControlDisable($hWnd, "", "Button28")1 point
-
A formal grammar definition is way more useful than any code sample, whatever it may be.0 points