Sign in to follow this  
Followers 0
Empathy

G15/ lua Script

3 posts in this topic

ok, i got a G15 Keyboard, is there a way i can execute this au3 script through my key board?

While True

$color = PixelGetColor(@DesktopWidth / 2, @DesktopHeight / 2)

If $color = 16711680 Or $color = 16646144 Then

MouseClick("left")

Sleep(30)

EndIf

WEnd

only like instead of mouseclick a G key.. ( which i would set him as mouse click xd )

if not, how can i change this script to lua script?

ty.

Share this post


Link to post
Share on other sites



only like instead of mouseclick a G key.. ( which i would set him as mouse click xd )

You can't do this.

if not, how can i change this script to lua script?

Rewrite this in Lua. You probably can't do this either.

I'm pretty sure these aren't the only two options that do what you want to do and I'm pretty sure when I say "No" twice you've already thought of a third way (to make me say no?)

Share this post


Link to post
Share on other sites

You can't do this.

Rewrite this in Lua. You probably can't do this either.

I'm pretty sure these aren't the only two options that do what you want to do and I'm pretty sure when I say "No" twice you've already thought of a third way (to make me say no?)

well since I got no idea how to write in lua... I think i cant rewrite and if ur saying i wont be able to do it lua so theres no point in learning, am I right?

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