James Posted February 21, 2007 Share Posted February 21, 2007 (edited) Hey, I would like to know how to make a UDF, I just don't understand it. I have looked at other and tried, but with no luck. I just don't understand the things. I know what they are but not how to make them. Any help is much appreciated. Thanks, Secure Edited February 21, 2007 by Secure_ICT Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
nitekram Posted February 21, 2007 Share Posted February 21, 2007 Hey,I would like to know how to make a UDF, I just don't understand it. I have looked at other and tried, but with no luck. I just don't understand the things.I know what they are but not how to make them.Any help is much appreciated.Thanks,SecureHave you tried to make a function - if so, you have already created a UDF as it stands for User Defined Funtion. 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
Shevilie Posted February 21, 2007 Share Posted February 21, 2007 Try open one They are under the include folder ... a UDF is bassicly a au3 script with pure functions and constants Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
James Posted February 21, 2007 Author Share Posted February 21, 2007 I know what one is Yes I have created many functions. But lets say I wanted to rename a window with a UDF (yes i know winsettitle() but for an example) How would I do that? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 21, 2007 Moderators Share Posted February 21, 2007 Hey,I would like to know how to make a UDF, I just don't understand it. I have looked at other and tried, but with no luck. I just don't understand the things.I know what they are but not how to make them.Any help is much appreciated.Thanks,SecureI would suggest starting with your posts. (I'm being an ass here a bit, but not really, if you were in my seat reading your above post, you'd understand). If I were to judge you as a person, just on the posts you start, I would say you were someone that dives into everything head first without ever checking how deep the water is. You clearly don't have structure to your questions or your posts which make it difficult for anyone to even attempt to give you a hand, and will end up frustrating those that normally do to the point where they won't any longer.You need a clear "structure" of what it is your script is going to accomplish with the script, so that you'll know where to start with the custom functions you create.http://www.autoitscript.com/forum/index.php?showtopic=6853 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Shevilie Posted February 21, 2007 Share Posted February 21, 2007 (edited) Make an au3 named mytools.au3 Func _WinRen($titel, $text, $new) WinSetTitle($titel, $text, $new) EndFuncoÝ÷ Ø ÝÊ«¨§±Êâ¦Ùv®Ý«¢+Ø¥¹±Õ±Ðíµåѽ½±Ì¹ÔÌÐì()}]¥¹I¸ ÅÕ½Ðí9½ÑÁÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðí5ä¹½ÑÁÅÕ½Ðì But if you know what a function is and you done what you said, this should be easy as cake Edited February 21, 2007 by Shevilie Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
James Posted February 21, 2007 Author Share Posted February 21, 2007 Smoke: Yes, I have always been like that. It runs in the family. I really should shutup or structure things. Thanks Smoke for telling me though. Sheville, I understand now. I know how they work. But the layout of it I couldn't get but because it is simple like that I can now see. Thankyou! Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now