Gigglestick Posted January 5, 2006 Share Posted January 5, 2006 (edited) Reference: MSDN->SHAutoCompleteI noticed this utility function today and began to wonder if it would be possible to add autocomplete ability to AutoIt's combo and edit GUI controls using this function with the available flags.Maybe this could be done by simply adding a flag to the style or exStyle of GUICtrlCreateEdit and GUICtrlCreateCombo functions. I don't think AutoIt would have to actually do anything other than call this function after the control is created.Thoughts?*EDIT* BTW, this adds the autocomplete feature to combo/edit controls, so as you type "C:\pro" it will suggest "C:\Program Files", like the Run command does. Edited January 5, 2006 by c0deWorm My UDFs: ExitCodes Link to comment Share on other sites More sharing options...
Gigglestick Posted January 10, 2006 Author Share Posted January 10, 2006 (edited) http://www.autoitscript.com/forum/index.ph...ndpost&p=138028Thanks, but I actually wanted one that would autocomplete IE's URL history and filesystem paths, i.e. "C:\Pro" would autocomplete to show "C:\Program Files" like the Run box does.I'll play with the code on that linked page and see if I can manage to combine that with searching for a partial match in the filesystem and providing an autocomplete.*EDIT* The MSDN link I provided in the first post appears to allow you to simply attach something to an edit control and Windows handles the filesystem/URL autocompletion for you. Edited January 10, 2006 by c0deWorm My UDFs: ExitCodes Link to comment Share on other sites More sharing options...
Gigglestick Posted January 10, 2006 Author Share Posted January 10, 2006 type something in... hit enter... type same thing in and see the autocomplete box show up...Lar.Okay, I just ran the script. I did actually visit the page before, but your opening statement (above) is misleading (or just not informative enough). However, when I tried to type a file path it worked.I should have run the script to see what it did.Thanks, Lar! My UDFs: ExitCodes 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