Example #1
0
def quit_apps():
    pc.unlock()
    pc.homeButton()  # includes tap command
    pc.tap()
    for x in range(0, 4):
        pc.scrollWayUp()
    pc.homeButton()
    sleep(2)
    pc.zero()
    pc.onOff()
Example #2
0
def buienradar():
    pc.unlock()
    pc.move(xy.app(2, 5))
    pc.tap()
    pc.getOutTheWay()
    sleep(6)
    pc.homeButton()
    pc.zero()
    sleep(1)
    pc.onOff()
Example #3
0
def twit_likes():
    pc.unlock()
    pc.move(xy.app(3, 2))
    pc.tap()
    a = 0
    while a < 20:
        theart.lookForTwitHearts()
        pc.scrollUp()
        pc.getOutTheWay()
        a += 1
    theart.lookForTwitHearts()  # one last lookfor hearts
    pc.homeButton()
    pc.zero()
    sleep(1)
    pc.onOff()
Example #4
0
def reddit_upvote():
    pc.unlock()
    pc.move(xy.app(3, 4))
    pc.tap()
    pc.getOutTheWay()
    pc.sleep(2)
    a = 0
    while a < 15:
        pc.scrollUp()
        pc.getOutTheWay()
        lfrl.lookForLikes()
        a += 1
    pc.homeButton()
    pc.zero()
    sleep(1)
    pc.onOff()
Example #5
0
def tweet(a):
    pc.unlock()
    pc.move(xy.app(3, 2))
    pc.tap()  # open twitter
    pc.movexy(2850, 3000)
    pc.lightTap()  # hit tweet button
    sleep(4)  # wait for keyboard to come up
    pc.type(a)
    pc.movexy(2800, 6350)  # hit tweet button
    pc.tap()
    pc.getOutTheWay()
    sleep(5)
    pc.homeButton()
    pc.zero()
    sleep(1)
    pc.onOff()
Example #6
0
def fb_likes():
    pc.unlock()
    pc.move(xy.app(2, 3))
    pc.tap()
    pc.getOutTheWay()
    pc.sleep(2)
    a = 0
    while a < 15:
        pc.scrollUp()
        pc.getOutTheWay()
        lffb.lookForLikes()
        a += 1
    pc.homeButton()
    pc.zero()
    sleep(1)
    pc.onOff()
Example #7
0
def insta_likes(
):  # Yo! lfh.lookForHearts has the commenting functionality built into it.
    pc.unlock()
    pc.move(xy.app(2, 1))  # instagram app
    pc.tap()
    #  look for unliked insta posts
    a = 0
    while a < 20:
        pc.scrollUp()
        pc.getOutTheWay()
        lfh.lookForHearts()
        a += 1

    pc.homeButton()
    pc.zero()
    sleep(1)
    pc.onOff()
Example #8
0
def insta_followers():
    pc.unlock()
    pc.move(xy.app(2, 1))
    pc.tap()  # open insta
    sleep(4)  # wait for insta to load
    pc.movexy(2850, 2700)
    pc.tap()  # hit profile
    pc.movexy(2200, 6100)
    pc.tap()  #hit followers
    pc.move(xy.homeButton)
    a = 0
    while a < 15:
        instaFollowers.followBack()
        pc.scrollUp()
        pc.getOutTheWay()
        a += 1
    pc.movexy(950, 6400)
    pc.tap()  # back to profile
    pc.movexy(1000, 2650)
    pc.tap()  # back to main instagram feed
    pc.homeButton()