Sign in to follow this  
Followers 0
coachmatt

Need A Simple Script

4 posts in this topic

Not a programmer... Need a simple macro that will push keys, pause, and push another key... then repeat.

Anyone mind helping?

Share this post


Link to post
Share on other sites



Not a programmer... Need a simple macro that will push keys, pause, and push another key... then repeat.

Anyone mind helping?

post questions in support section of forum.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("{F2}", "ShowMe")  

While 1
    Sleep(100)
WEnd

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
    Exit 0
EndFunc

Func ShowMe()
   while 1
for $i = 1 to 5
send("{F6}")
sleep( 2000)
next
For $h = 1 to 2
    send("{f1}")
    sleep(1000)
Next
wend
EndFunc

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