Sign in to follow this  
Followers 0
Schurke

Double C

4 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites



Lose the {}

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


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

this is ai2 -.- not 3


-jaenster

Share this post


Link to post
Share on other sites

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.

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