Stuck with simple problem
Posted: 15 Nov 2018, 16:33
Hi there,
I haven't done AHK for a while and now I am stuck with a simple problem:
I want to send {Tab}some text with F1, but currently I do not know what I should do. I feel like a total noob, but the solution (or a solution) does not come to my mind.
I haven't done AHK for a while and now I am stuck with a simple problem:
Code: Select all
; INI file
[general]
var1 = some text
scheme = {Tab}var1
Code: Select all
; AHK code
IniRead, temp_ini, % A_WorkingDir "\settings.ini", general
Loop, Parse, temp_ini, `r`n
value := StrSplit(A_LoopField, "="), var := value[1], %var% := value[2]
F1::
SendInput, %scheme%
Return