I am using Autohotkey script for this purpose. I want to capture hotstring while I am sending input from other ahk script. One script having all hotstring such as
:*:qwe:: 123456
:*:asd:: 789456
(Its running in background)
when I send input from other script like here is the code
^a::
Input, Variable, , {Enter}
value := substring(Variable,1,3)
sendInput, %Value%
return
but it not capturing.