in my ahk-code I have some variables like this:
Code: Select all
key1 := "3uuuuuu9"
key2 := "b357751"
key3 := "52977f1"
key4 := "b78555"
key5 := "844326"
key6 := "378zza5b"
What's the best and shortest code for doing this?
Thanks a lot
Code: Select all
key1 := "3uuuuuu9"
key2 := "b357751"
key3 := "52977f1"
key4 := "b78555"
key5 := "844326"
key6 := "378zza5b"
Code: Select all
FileDelete, Key.txt
FileAppend, 3uuuuuu9|b357751|52977f1|b78555|844326|378zza5b, Key.txt
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
FileRead, Keys, Key.txt
StringSplit, Key, Keys, |
MsgBox,% Key1 " > " Key6
Code: Select all
FileRead, Keys, Key.txt
StringSplit, Key, Keys, `n, `r
MsgBox,% Key1 " > " Key6