Jump to content
seadoggie01

UDF Formatting and Coding Practices

Recommended Posts

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.

Share this post


Link to post
Share on other sites

This is a good place to start: https://www.autoitscript.com/wiki/UDF-spec


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2019-10-24 - Version 1.4.14.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-11-30 - Version 1.4.0.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (NEW 2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

@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 by seadoggie01

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...