Featured post
vb.net - How to implement a system wide text replacement in windows programmatically? -
i have small vb .net application that, among other things, attempts substitute system wide typed text user(hotstrings concept). achieve that, have deployed 'ahk2exe' , 'autohotkeysc.bin' application , did following:
when user assignes new 'hotstring':
- kill 'hotstring' exe script file if running
- append new hotstring script file (if non exist create new one)
- convert edited/new script file exe (using ahk2exe)
- run newly converted script exe (somewhere there check if hotstring has been assigned)
however, not totally satisfied method following 2 main reasons:
- the resources deployed application.
- lag: time takes system kill process , restart takes minimum of 5 seconds on fast computer , more on other computers. amount of time more time takes user assign hotstring, minimize/close window , test his/her new hotstring. when user no success think process failed. method not user experience.
so, looking different method or implementation. may using keyboard hooks? or maybe adding .dll library achieves same. there resources know might (free or commercial)? best way achieve desired goal?
many help.
implementing autohotkey pretty non trivial task.
but i'm pretty sure ahk supports "autoreload" option scripts
googling "autohotkey auto reload" turned several pages discussing concept. if worked, you'd have update script file , that's it, ahk should automatically reload script.
- Get link
- X
- Other Apps
Comments
Post a Comment