bdbd
New Member
Posts: 24
|
Post by bdbd on Feb 23, 2019 19:01:44 GMT
image = 1 to 4 This value is changing. I want to match the image variable.
if (image == 1) then existsClick("1.png")
...
if (image == 2) then
existsClick("2.png")
It is works. but I want to change like this.
image = 1 to 4 if (image== 1) then target = 1.png if (image== 2) then
target = 2.png
..
existClick(target) --> existClick(1.png to 4 png)
But I don't know how I can.
--------------------solved-----------
if (iamge == 1) then target = Pattern("1.png") end if existsClick(target) then do something end
|
|