Jump to content

Double C


Schurke
 Share

Recommended Posts

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

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

Link to comment
Share on other sites

  • 3 weeks later...

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.
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...