Leef_me... so sorry ...well i tried the code again...
this was shown..
Quote:
Global Variables (alphabetical)
--------------------------------------------------
0[1 of 3]: 0
a[3 of 3]: 111
b[3 of 3]: 222
c[3 of 3]: 333
d[3 of 3]: 444
e[3 of 3]: 555
ErrorLevel[1 of 3]: 0
f[3 of 3]: 666
g[3 of 3]: 777
h[3 of 3]: 888
i[3 of 3]: 999
inputbox1[72 of 259]: 162738162738162738162738162738162738162738162738162738162738...
inputbox2[72 of 259]: 162738162738162738162738162738162738162738162738162738162738...
j[3 of 3]: 000
pa0[1 of 3]: 6
pa1[1 of 3]: 1
pa2[1 of 3]: 1
pa3[1 of 3]: 2
pa4[1 of 3]: 2
pa5[1 of 3]: 3
pa6[1 of 3]: 3
pb0[1 of 3]: 6
pb1[1 of 3]: 6
pb2[1 of 3]: 6
pb3[1 of 3]: 7
pb4[1 of 3]: 7
pb5[1 of 3]: 8
pb6[1 of 3]: 8
plotone[11 of 63]: 1.1 2.2 3.3
plottwo[11 of 63]: 6.6 7.7 8.8
nick....if you try this on "office excel"
Code:
#SingleInstance, force
;SetKeyDelay, 25
plotone =1.1 2.2 3.3 ;plot area of flower(1)
plottwo =6.6 7.7 8.8 ;plot area of flower(2)
StringSplit, pa, plotone, `.%A_Space%
StringSplit, pb, plottwo, `.%A_Space%
a :=111 ;nutrient
b :=222 ;water
c :=333 ;bud
d :=444 ;cm
e :=555 ;condition
f :=666 ;nutrient.....(control sample)
g :=777 ;water........(control sample)
h :=888 ;bud..........(control sample)
i :=999 ;cm...........(control sample)
j :=000 ;condition....(control sample)
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
`::
WinActivate, a ; <------ office excel page
loop, %pa0%
loop, %pb0%
{
if Mod(A_Index,2)
{
ControlClick, x777 y161,a
inputbox1 .= pa%A_Index%
Send, % "{Del 3}{BS 3}"pa%A_Index% "{tab}"
ControlClick, x777 y161,a
inputbox1 .= pb%A_Index%
Send, % "{Del 3}{BS 3}"pb%A_Index% "{tab}"
}
else
{
inputbox2 .= pa%A_Index%
Send, % pa%A_Index%
Send, {tab}%a%{tab}%b%{tab}%c%{tab}%d%{tab}%e%
inputbox2 .= pb%A_Index%
Send, % pb%A_Index%
Send, {tab}%f%{tab}%g%{tab}%h%{tab}%i%{tab}%j%{enter}
}
}
listvars ; <---Leef_me
msgbox pa0 is %pa0%`npb0 is %pb0% ; <---Leef_me
return ; <---Leef_me
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
esc::exitapp
the loop ends after (18)eighteen rows of data.....am i not suppose to get only (3)three rows....
that should be....
Quote:
-----Experiment-------xxxxx------Control------
1 1 111 222 333 444 555 6 6 666 777 888 999 000
2 2 111 222 333 444 555 7 7 666 777 888 999 000
3 3 111 222 333 444 555 8 8 666 777 888 999 000
what i need is for the loop to end after sending the last array(8.8 from array plottwo)...but is it repeating the data (6)six times
How do i paste capture excel image(bmp) in the forum?