habe folgende Liste, die hätte ich gerne Semikolon getrennt nebeneinander.
Ein Lösung dafür habe ich auch gefunden, was nicht funktioniert,
ist die EingabeVar des Loops Clipboard, gibt es mir folgendes aus:
Code: Select all
a1;
a2;
a3;
b1;
b2;
b3;
b4;
c1;
c2;
c3;
c4;
c5;
dann bekomme ich das richtige raus
Code: Select all
a1;a2;a3;
b1;b2;b3;b4;
c1;c2;c3;c4;c5;
Code: Select all
F3::
file=
(
a1
a2
a3
b1
b2
b3
b4
c1
c2
c3
c4
c5
)
;Loop, Parse, file, `r`n
Loop, Parse, Clipboard, `r`n
{
if (A_Loopfield = "")
{
Send, `n
continue
}
if (Mod(a_index, 1))
{
Send, % A_loopfield ";"
continue
}
if (Mod(a_index, 2))
{
Send, % A_loopfield ";"
continue
}
if (Mod(a_index, 3))
{
Send, % A_loopfield ";"
continue
}
if (Mod(a_index, 4))
{
Send, % A_loopfield ";"
continue
}
if (Mod(a_index, 5))
{
Send, % A_loopfield ";"
continue
}
}