Sign in to follow this  
Followers 0
bustedboy

A beginner needs ur support

3 posts in this topic

hey guys..im new to macros..erm..i would like to create a script that whenever the pixel of location 340, 586 turns to the hex colour of BEBEDC , that the macro would press ctrl 5 times or so....and i would also like this process to be repeated..any help pls?....and oso plus a hotkey

CODE
Global $Paused

HotKeySet("{F12}", "Startmacro")

HotKeySet("{F11}", "TogglePause")

Func TogglePause()

$Paused = NOT $Paused

While $Paused

Sleep(100)

WEnd

EndFunc

;;;;;;;;;;;;

Func Startmacro()

While 1

(i need help here on how to press ctrl 5 times when

pixel at X = 340 & Y = 586 turns to 0xBEBEBC)

WEnd

EndFunc

erm this is what i could gather...is what i am doing correect?....i nid help on the impt part =D help would be greatly appreciated

Share this post


Link to post
Share on other sites



Global $Paused
HotKeySet("{F12}", "Startmacro")
HotKeySet("{F11}", "TogglePause")

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        Sleep(100)
    WEnd
EndFunc

;;;;;;;;;;;;

Func Startmacro()
While 1
    If PixelGetColor (340, 586) = Dec (0xBEBEBC) Then
        Send ("{LCTRL 5}")
    EndIf
WEnd
EndFunc

:P


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

thx alot! needed that help

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0