Also bei mir funktionierts. Habe mal auskommentiert, was ich zum Test nicht brauche.
Wenn du im Eingabefeld eingibst:
"aa {TAB} bb {ENTER}
cc {TAB} dd"
(Für TAB im Eingabefeld mußt du STRG+TAB drücken.), dann kommt in der MsgBox
bei Durchlauf 1: [1.]aa[2.]bb
bei Durchlauf 2: [1.]cc[2.]dd
Genau, wie es soll.
Spoiler anzeigen
#include <GUIConstants.au3>
[/autoit] [autoit][/autoit] [autoit]; == GUI generated with Koda ==
$Form1 = GUICreate("Vokabeln eingeben", 540, 441, 192, 125)
$Edit1 = GUICtrlCreateEdit("", 0, 0, 537, 377)
GUICtrlSetData($Edit1, "")
$Button1 = GUICtrlCreateButton("Start", 224, 392, 75, 25, 0)
GUISetState(@SW_SHOW)
While 1
$msg = GuiGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
Case $msg = $Button1
GUISetState(@SW_HIDE)
$Zeilen = GUICtrlRead($Edit1)
$Zeile = StringSplit($Zeilen, @LF)
;~ Run("C:\HEUREKA\VOXYGB5\VOXY.EXE GB5")
;~ Sleep(2000)
;~ Send("Kevin")
;~ Send("{TAB}")
;~ Send("Kevin")
;~ Send("{ENTER}")
;~ MouseMove(408, 280)
;~ MouseClick("left")
;~ Sleep(500)
;~ Send("!d")
;~ Sleep(500)
;~ Send("{DOWN}")
;~ Send("{DOWN}")
;~ Sleep(500)
;~ Send("{ENTER}")
For $i = 1 To $Zeile[0]
$Vokabel = StringSplit($Zeile[$i], @TAB)
MsgBox(0,"","[1.]"&$Vokabel[1]&"[2.]"&$Vokabel[2])
;~ Send("^n")
;~ Send($Vokabel[1])
;~ Send("{TAB}")
;~ Send($Vokabel[2])
;~ Send("^s")
;~ Sleep(1000)
Next
;~ GUISetState(@SW_Show)
EndSelect
WEnd
Exit