Search found 4 matches
- 16 May 2021, 13:22
- Forum: Ask for Help (v1)
- Topic: hotstring with userinput possible? Topic is solved
- Replies: 7
- Views: 469
Re: hotstring with userinput possible? Topic is solved
What is your exact definition of a 'first key' ? In which cases do you want to actually use the w key as itself, sending w ? Examples? It sounds like you won't use it for words, but for a game ? Or, do you simply never use words like we , would , world , will and so on? It could make sense to separ...
- 16 May 2021, 11:02
- Forum: Ask for Help (v1)
- Topic: hotstring with userinput possible? Topic is solved
- Replies: 7
- Views: 469
Re: hotstring with userinput possible? Topic is solved
Not sure, if I understand completely, but you can stack different hotstring variants: :B0*:wt :: :B0*:t :: input, var, V, {space}{enter} len := (StrLen(A_thishotkey) = 8) ? StrLen(var) + 4 : StrLen(var) + 3 ; calculation could be generalized for more variants Sendinput {BS %len%}hello %var%, nice t...
- 15 May 2021, 02:15
- Forum: Ask for Help (v1)
- Topic: hotstring with userinput possible? Topic is solved
- Replies: 7
- Views: 469
Re: hotstring with userinput possible? Topic is solved
Another approach, which will take the word (a name in this case) and use it in the replacement string: :B0*:t :: input, var, V, {space}{enter} len := StrLen(var) + 3 Sendinput {BS %len%}hello %var%, nice to meet you{!} return Typing t gregster (followed by a Space or Enter ) will yield hello gregst...
- 14 May 2021, 18:02
- Forum: Ask for Help (v1)
- Topic: hotstring with userinput possible? Topic is solved
- Replies: 7
- Views: 469
hotstring with userinput possible? Topic is solved
Hey,
is in anyway possible to make a hotstring with a userinput, but with one word only?
anything like this
is in anyway possible to make a hotstring with a userinput, but with one word only?
anything like this
Code: Select all
::t (userinput(one word))::test hi