AutoIt Posted November 7, 2004 Share Posted November 7, 2004 I've not written any part of this yet with autoit but have done similar code in c++ and vb the idea would be to have a way to 1. collect frequently typed text snippets 2. organize or sort from these a kind of top-most-used list 3. provide a simple interface to click-select from list it would function as a kind of AutoIt Text-O-Matic with the ability to popup the top-N list (top-5, top-10, top-any) and by just clicking the choice would 1. copied to memory 2. within a specified delay inserted into current cursor location or allow user to press Ctrl-V to paste the string doable? Link to comment Share on other sites More sharing options...
Matt @ MPCS Posted November 7, 2004 Share Posted November 7, 2004 Why is it that no one today understands this is for complete scripts... NOT FOR SUPPORT! Could an admin please move this to the correct forum?!?*** Matt @ MPCS Link to comment Share on other sites More sharing options...
layer Posted November 7, 2004 Share Posted November 7, 2004 is this bold? FootbaG Link to comment Share on other sites More sharing options...
layer Posted November 7, 2004 Share Posted November 7, 2004 yea, this should be in the Idea Lab... FootbaG Link to comment Share on other sites More sharing options...
Matt @ MPCS Posted November 7, 2004 Share Posted November 7, 2004 yea, this should be in the Idea Lab...<{POST_SNAPBACK}>No, this should be in the Support forum. The Idea Lab is for suggesting new options for the language, not ideas for your scripts. The forum descriptions are not only there to make the forum pretty... they should be used to catagorize your posts.@layer: Instead of wasting forum space with your testing, try out the formatting options using the Preview Post button. Do not submit your test posts.*** Matt @ MPCS Link to comment Share on other sites More sharing options...
layer Posted November 8, 2004 Share Posted November 8, 2004 ok, sry, and thanks for the tip =) FootbaG Link to comment Share on other sites More sharing options...
scriptkitty Posted November 8, 2004 Share Posted November 8, 2004 (edited) little code for ya. $x=StringSplit("AutoIt rocks,I love AutoIt,Name{tab}LastName{tab}Company{tab}Address,(323) 867-5309",",") $hint=StringSplit("rock,love,name,phone",",") hotkeyset("^!c","paste");CTRL+ALT+c hotkeyset("^+c","toggle");CTRL+SHIFT+c $count=1 while 1 tooltip($hint[$count] & @crlf &"CTRL+SHIFT+c to toggle CTRL+ALT+c to write it",0,0) sleep(1) wend func paste() send ($x[$count]) endfunc func toggle() if $count>3 then $count=1 else $count=$count+1 endif endfunc in the real one, I would make an InI list I think, but some sort of external file to hold the sniplets. You could make something to input new ones, or change ones you don't use. Edited November 8, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. 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