Jump to content

Recommended Posts

Posted

I'm new to scripting and Autoit, but i've already found some things that I would like to create. Where do you start when creating a UDF?

For instance, if I wanted to make a UDF for Excel(I know one exists) Where would I start? What would I need to start researching?

Any input would be appreciated

Posted

I depends:
Do you want to make an UDF just for yourself or should it be useful for the community as well?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

@water Useful for the community.

I'd definitely make it for myself but of course i'd share the hell out of it. Autoit has become my new addiction so i'm looking to get real deep into her business.

@TheDcoder Thank you, looks like i've got plenty of reading material.............Perfect.

Posted
  On 1/5/2016 at 8:51 AM, water said:

I depends:
Do you want to make an UDF just for yourself or should it be useful for the community as well?

i doubt that's a beneficial segregation. if you train yourself to write a fully-qualified UDF, following all formal standards, then it will also be very much easier for yourself to use, develop and troubleshoot, even if you never share it. also it is much easier for the community to help you with your UDF when written by the standards.

Signature - my forum contributions:

  Reveal hidden contents

 

Posted (edited)

@orbs ,

I think water's comment is the result of his curiosity. Because, he is the master mind behind current excel udf. So he want to know what is lacking in the current excel udf. 

 

Edited by kcvinu
  Reveal hidden contents

 

Posted (edited)

@kcvinu

indeed, but the OP does not know that, and water's hint may well lead him astray.

Edited by orbs

Signature - my forum contributions:

  Reveal hidden contents

 

Posted

@orbs , Yeah, that's true. 

@TheDcoder , What ?  Does that word means like that ?. Oh my poor English. I just meant that, that udf is water's brain child. 

  Reveal hidden contents

 

Posted

also, here is another good resource from the AutoIt Wiki.

https://www.autoitscript.com/wiki/User_Defined_Functions

Signature - my forum contributions:

  Reveal hidden contents

 

Posted
  On 1/5/2016 at 9:48 AM, orbs said:

i doubt that's a beneficial segregation. if you train yourself to write a fully-qualified UDF, following all formal standards, then it will also be very much easier for yourself to use, develop and troubleshoot, even if you never share it. also it is much easier for the community to help you with your UDF when written by the standards.

Not just curiosity.
If I would have to write an UDF just for myself I'm sure I would try to adhere to the standards when writing (naming of variables etc.). But I'm sure I wouldn't invest as much time into writing the help file and examples. As I have written the UDF I'm very familiar with the subject and do not need as much explanation and examples as a newbie.
That's why I asked.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted (edited)
  On 1/5/2016 at 9:52 AM, kcvinu said:

@orbs ,

I think water's comment is the result of his curiosity. Because, he is the master mind behind current excel udf. So he want to know what is lacking in the current excel udf.

No, my question was of general nature. Not related to my Excel/ExcelChart/Word/Outlook/PowerPoint UDF ;)
But I'm always open for suggestions on how to improve the "official" UDFs.

Edited by water

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
  On 1/5/2016 at 10:04 AM, TheDcoder said:

@kcvinu Was joking :)

May I remind you that this isn't the Chat forum?

My UDFs and Tutorials:

  Reveal hidden contents

 

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...