seadoggie01 164 Posted January 23, 2019 Does someone have some insight about what the general "preferred" formatting of a UDF is or a link to a resource describing some of the better coding practices? I realize I can look at current UDFs, but I have a bit of trouble understanding exactly what they're trying to do. I'm currently developing a 'self-updating' program, and would love to #include it into a bunch of my scripts to implement it, but I'm sure there are issues I haven't stumbled across yet. All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scripts Share this post Link to post Share on other sites
water 2,393 Posted January 23, 2019 This is a good place to start: https://www.autoitscript.com/wiki/UDF-spec My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2020-10-10 - Version 1.5.2.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX (NEW 2020-12-15 - Version 1.6.3.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2020-06-27 - Version 1.3.2.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - WikiTask Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - WikiTutorials:ADO - Wiki, WebDriver - Wiki Share this post Link to post Share on other sites
seadoggie01 164 Posted January 23, 2019 (edited) @water Thanks! I also found this as soon as I came up with 'coding practices' (I was having a brain fart).. https://www.autoitscript.com/forum/topic/146866-good-coding-practices-in-autoit/ Edited January 23, 2019 by seadoggie01 All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scripts Share this post Link to post Share on other sites