Sign in to follow this  
Followers 0
AutoIt

Frequently typed text

7 posts in this topic

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?

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites
is this bold?

FootbaG

Share this post


Link to post
Share on other sites

yea, this should be in the Idea Lab...


FootbaG

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

ok, sry, and thanks for the tip =)


FootbaG

Share this post


Link to post
Share on other sites

#7 ·  Posted (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 by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0