Post by itsrookiegirl on Jun 23, 2016 3:07:44 GMT
hello there, yesterday i bought this great app from google store! i need just a function that help me to click on a certain location of my screen; i dont know whats the number of the location in my application! how do i find that and how do i write script for that? i haven't good skills in programming so is there any body to help me through my way?! i need this for my advertising on instagram! i want use instafollow (unofficial app in other language) to gain more followers!
the properties of my function:
click on follow
and wait for 3 seconds
again click on follow!
repeat it for 1000 times!
in here i tried to write scripts like the example that was in forum guidance:
the calc was:
-------------
-- ========== Settings ================
Settings:setCompareDimension(true, 960)
Settings:setScriptDimension(true, 960)
Settings:set("MinSimilarity", 0.65)
right = Region(400, 0, 560, 640)
-- ========== main program ===========
right:highlight()
wait(3)
click("6.png")
click("+.png")
click("9.png")
setHighlightStyle(0x8fffff00, true)
getLastMatch():highlight(3)
click("-.png")
click("7.png")
click("=.png")
print("Hello World!")
right:highlight()
----------------
-- ========== Settings ================
Settings:setCompareDimension(true, 960)
Settings:setScriptDimension(true, 960)
Settings:set("MinSimilarity", 0.65)
-- ========== main program ===========
wait(3)
click("6.png")
click("+.png")
click("9.png")
click("-.png")
click("7.png")
click("=.png")
print("Hello World!")
+++++++++++++++++++++++++++++++
and mine:
-- ========== Settings ================
Settings:setCompareDimension(true, 960)
Settings:setScriptDimension(true, 960)
Settings:set("MinSimilarity", 0.65)
-- ========== main program ===========
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
print("time is up!")
---------------------- ========== Settings ================
Settings:setCompareDimension(true, 960)
Settings:setScriptDimension(true, 960)
Settings:set("MinSimilarity", 0.65)
right = Region(400, 0, 560, 640)
-- ========== main program ===========
right:highlight()
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
setHighlightStyle(0x8fffff00, true)
getLastMatch():highlight(3)
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
print("time is up!")
right:highlight()
------------------------
------------------
-----
and an other question: is it difference to use scripts in other phones that i used it for galaxy note 5? like i want to use the same script on sony arc S!
please help me in my way. thanks
the properties of my function:
click on follow
and wait for 3 seconds
again click on follow!
repeat it for 1000 times!
in here i tried to write scripts like the example that was in forum guidance:
the calc was:
-------------
-- ========== Settings ================
Settings:setCompareDimension(true, 960)
Settings:setScriptDimension(true, 960)
Settings:set("MinSimilarity", 0.65)
right = Region(400, 0, 560, 640)
-- ========== main program ===========
right:highlight()
wait(3)
click("6.png")
click("+.png")
click("9.png")
setHighlightStyle(0x8fffff00, true)
getLastMatch():highlight(3)
click("-.png")
click("7.png")
click("=.png")
print("Hello World!")
right:highlight()
----------------
-- ========== Settings ================
Settings:setCompareDimension(true, 960)
Settings:setScriptDimension(true, 960)
Settings:set("MinSimilarity", 0.65)
-- ========== main program ===========
wait(3)
click("6.png")
click("+.png")
click("9.png")
click("-.png")
click("7.png")
click("=.png")
print("Hello World!")
+++++++++++++++++++++++++++++++
and mine:
-- ========== Settings ================
Settings:setCompareDimension(true, 960)
Settings:setScriptDimension(true, 960)
Settings:set("MinSimilarity", 0.65)
-- ========== main program ===========
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
print("time is up!")
---------------------- ========== Settings ================
Settings:setCompareDimension(true, 960)
Settings:setScriptDimension(true, 960)
Settings:set("MinSimilarity", 0.65)
right = Region(400, 0, 560, 640)
-- ========== main program ===========
right:highlight()
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
setHighlightStyle(0x8fffff00, true)
getLastMatch():highlight(3)
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
click("follow.png")
wait(3)
print("time is up!")
right:highlight()
------------------------
------------------
-----
and an other question: is it difference to use scripts in other phones that i used it for galaxy note 5? like i want to use the same script on sony arc S!
please help me in my way. thanks