ManiacDC / TypingAid

Word AutoCompletion Utility
http://www.autohotkey.com/board/topic/49517-ahk-11typingaid-v2200-word-autocompletion-utility/
GNU General Public License v3.0
138 stars 45 forks source link

Add a multiple lines for replacements #78

Open cricrazy opened 8 years ago

cricrazy commented 8 years ago

How do I add multiple lines for replacements?

for example, I have the following in my word list.

signature|d|Add Signature|r|Have a Nice Day, Chris.

I would like it to replace with

Have a Nice Day, Chris

Also, the description and replacements are not working in WordlistLearned.txt. I am aware that I need to delete WordListLearned.db, modify the text file and launch TypingAid.

Thanks for this incredible tool.

ManiacDC commented 8 years ago

You cannot do multiple line replacements, currently.

Yes, the don't, and won't work in WordlistLearned as there is no way to learn them :)

cricrazy commented 8 years ago

Thanks @ManiacDC How hard would it be to parse the text and add new line characters to make it work for multiple lines.

signature|d|Add Signature|r|Have a Nice Day\n, Chris.

TypingAid is just almost close to perfection!

hi5 commented 8 years ago

@cricrazy you could try a

StringReplace, sending, sending, \n, `n,All

in Sending.ahk line 140