Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^1::
- MouseGetPos, xposP, yposP
- Return
- ^2::
- MouseGetPos, xposB, yposB
- Return
- ^3::
- MouseGetPos, xposS, yposS
- Return
- f1::
- ;setup
- InputBox, SellAmount, Sell ,What Price do you want to sell at?
- InputBox, BuyAmount, Buy ,What Price do you want to Buy at?
- InputBox, SellBuyAmount, Amount ,How much to sell/buy?
- settitlematchmode 2
- Settimer, CheckNow, 15000 ;800000 15mins
- Return
- ;Grab info and clean up
- CheckNow:
- winactivate, ETH
- sleep 1000
- MouseClick, left, %xposP%, %yposP%, 2
- send ^c
- ;Should I sell?
- if clipboard > %SellAmount%
- {
- MouseClick, left, %xposS%, %yposS%
- send {tab 2}
- send %SellBuyAmount%
- sleep 2000
- send {tab 2}
- sleep 1000
- send {enter}{tab}{shift down}{tab}{shift up}
- sleep 2000
- ;send {enter}
- CountSell++
- send +^r
- Return
- }
- ;Should I Buy?
- if clipboard < %BuyAmount%
- {
- MouseClick, left, %xposB%, %yposB%
- send {tab 2}
- send %SellBuyAmount%
- sleep 2000
- send {tab 2}
- sleep 1000
- send {enter}{tab}{shift down}{tab}{shift up}
- sleep 2000
- ;send {enter}
- CountBuy++
- send +^r
- }
- Return
- f2::
- ProfileAmount := (%CountSell% - %CountBuy%) * %SellBuyAmount%
- Msgbox, Sold %CountSell% Times `nBought %CountBuy% times `n Profit = %ProfileAmount%
- Return
- f3::
- exitapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement