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

need ability to disable T/A on a per text box basis #54

Open Skrell opened 9 years ago

Skrell commented 9 years ago

There are certain text boxes where having T/A make suggestions is of detriment such as address bars of web browsers however disabling T/A completely prevents use in emails/text boxes etc...

ManiacDC commented 9 years ago

TypingAid checks to see if it should be enabled/disabled based on switching windows. To do this, it would need to know when it switched controls, not just windows. Maybe the event EVENT_OBJECT_FOCUS could be used for this.

Then, I'd either have to hardcode the controls to ignore for each process (unlikely - maybe I'd only do it for a limited set), or somehow allow the user to define them (not very friendly... unless I made a window spy like program within TypingAid).

hi5 commented 9 years ago

@Skrell - if you really need it I would write a small helper script if I where you which would use a timer to check the program and control - if it matches a control where you want to disable TA simply send the suspend command http://ahkscript.org/docs/FAQ.htm#close