Jump to content

G15/ lua Script


Recommended Posts

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.

Link to comment
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?)

Link to comment
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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...