bdb4269 Posted October 23, 2007 Share Posted October 23, 2007 You know after you type a func and then "(" (and after every ",") it pops up with a tooltip showing the argument list for that function, for easy reference...Is there a way to add custom UDF's so that it will popup for those as well? Link to comment Share on other sites More sharing options...
Developers Jos Posted October 23, 2007 Developers Share Posted October 23, 2007 Have you looked at the SciTE4AutoIt3 helpfile which describes: "Scite User CallTips" ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Zedna Posted October 23, 2007 Share Posted October 23, 2007 Look at "c:\Program Files\AutoIt3\SciTE\api\" There are some example api files: au3.api - standard + UDF functions au3.auto3lib.calltips.api - from Auto3Library instalation au3.user.calltips.api - empty so here you can write your functions Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
flyingboz Posted October 23, 2007 Share Posted October 23, 2007 I've thought from time to time to write a script that looks at a given file or directory containing files and append the UDFs to the calltips list. I've also on many occasions wished that I would write the tool to delete calltips for functions that I never use. I guess an alternative (more processor intensive ) approach would be a LUA script that would: hook the scite file open if the filetype is .au3 parse the file looking for function calls and #includes, comparing the treewalk of called udfs to the ones for which there already are calltips, appending the utilized udfs into the calltips database. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
eltorro Posted November 9, 2007 Share Posted November 9, 2007 Sorry to dredge up an old subject but Mhz wrote a script to add udf funcs to the calltips file.http://www.autoitscript.com/forum/index.php?showtopic=22636 Regards, [indent]ElTorro[/indent][font="Book"] Decide, Commit, Achieve[/font]_ConfigIO.au3Language Translation --uses Google(tm) MsgBox Move XML wrapper UDF XML2TreeView Zip functionality Split your GUI Save Print ScreenZipPluginEdit In Place listviewSome of my scripts on Google code Link to comment Share on other sites More sharing options...
bdb4269 Posted November 9, 2007 Author Share Posted November 9, 2007 Sorry to dredge up an old subject but Mhz wrote a script to add udf funcs to the calltips file.http://www.autoitscript.com/forum/index.php?showtopic=22636Sweet! -- Thanks all for the info!! Link to comment Share on other sites More sharing options...
Blue_Drache Posted November 9, 2007 Share Posted November 9, 2007 Sorry to dredge up an old subject Why? You were using the search funciton. That in and of itself deserves a medal."It is always better to post in an existing thread then it is to create a new one"(Shamelessly ripped from the "Posting and You" flash vid) Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
bdb4269 Posted November 9, 2007 Author Share Posted November 9, 2007 "It is always better to post in an existing thread then it is to create a new one"Ain't that the truth!! In my defense, I did try searching, but was unable to find anything, due to my use of inadequate search terms. Because at the time, i didn't know the term "calltips" to include in my search. :"> Link to comment Share on other sites More sharing options...
Blue_Drache Posted November 9, 2007 Share Posted November 9, 2007 LOL, wasn't meant as a dig against the original poster. Sometimes it does take a new thread. (And like you said, you did search.) Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache 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