Jump to content

Easy Script But No Work ...


Recommended Posts

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

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

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]

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

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

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

  • Moderators

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

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.

Link to comment
Share on other sites

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

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

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