Sign in to follow this  
Followers 0
caramen

Easy Script But No Work ...

7 posts in this topic

all script i am trying no work why ?? :think::(:)

HotKeySet ( "{RCTRL}" , "Speed" )

While (1)
    Sleep(10)
WEnd

Func Speed ()

Send("{up}")

Sleep(50)

Send("{up}")

Sleep(50)

MouseClick("right")

EndFunc

it look like realy easy ... i ave forgot somthing ??

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

HotKeySet( "{RCTRL}" , "Speed")

While 1
    Sleep(10)
WEnd

Func Speed()
Send("{up}")
Sleep(50)
Send("{up}")
Sleep(50)
MouseClick("right")
EndFunc

Maybe it works now :F

Edited by Daniel W.

--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Share this post


Link to post
Share on other sites

all script i am trying no work why ?? :think::(:)

HotKeySet ( "{RCTRL}" , "Speed" )

While (1)
    Sleep(10)
WEnd

Func Speed ()

Send("{up}")

Sleep(50)

Send("{up}")

Sleep(50)

MouseClick("right")

EndFunc

it look like realy easy ... i ave forgot somthing ??

you cannot set a specific left or right ctrl, alt, nor shift, it says so in the help file, just do ctrl, or try this...

#include <Misc.au3>

$dll = DllOpen("user32.dll")

While 1
    Sleep(10)
    If _IsPressed("A3", $dll) Then
        speed()
    EndIf
WEnd
DllClose($dll)

Func Speed ()

Send("{up}")

Sleep(50)

Send("{up}")

Sleep(50)

MouseClick("right")

EndFunc

Things I have made:[font="Trebuchet Ms"]_CheckTimeBlock UDF(LT)MOH Call Ignore List (MOH = Modem On Hold)[/font]

Share this post


Link to post
Share on other sites

you cannot set a specific left or right ctrl, alt, nor shift, it says so in the help file, just do ctrl, or try this...

#include <Misc.au3>

$dll = DllOpen("user32.dll")

While 1
    Sleep(10)
    If _IsPressed("A3", $dll) Then
        speed()
    EndIf
WEnd
DllClose($dll)

Func Speed ()

Send("{up}")

Sleep(50)

Send("{up}")

Sleep(50)

MouseClick("right")

EndFunc
ERROR unknow fonction name hihi line 7

Share this post


Link to post
Share on other sites

In SciTe using Alt+F5 to run your scripts does wonders :think:


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

i think it only works with beta so DOWNLOAD BETA

ERROR unknow fonction name hihi line 7

Edited by thatsgreat2345

Share this post


Link to post
Share on other sites

Ty for help all problem solved i ave change my key.

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