Jump to content

Recommended Posts

Posted (edited)

well this easy thing should just send c two times when i press x but it doesnt <<

CODE
HotKeySet("{x}", "DoubleC")

Func DoubleC()

Send ( "C" )

Sleep(50)

Send ( "C" )

EndFunc

While 1

Sleep(100)

WEnd

Edited by Schurke
Posted

Lose the {}

HotKeySet("x", "DoubleC")
Func DoubleC()
    Send("C")
    Sleep(50)
    Send("C")
EndFunc   ;==>DoubleC
While 1
    Sleep(100)
WEnd


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

  • 3 weeks later...
Posted

this is ai2 -.- not 3

Glad you can see that? Schurke made a mistake. We all do. Usually a common mistake too. The Mods can't move every topic that gets posted in the wrong place.

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
×
×
  • Create New...