Sign in to follow this  
Followers 0
TheRaZoR

Need Help at Script, need some Commandes, i dont find in Readme

4 posts in this topic

Hey mates, iam sry but i didnt know how to name this thread!

I have this Problem:

I want to create a Script that "binding 2 Keys":

1. key

-Is starting when pressing "J"

-Stopping when pressing "J" again

-Starting again while pressing "J" --> No ending

2. key

-Starts if i Press "N"

-Doing what script says

-End

-If i press "N" again it should restart ( Like: If getInput "N" then ... )

I just need this base-script the rest i can do by myself.

It would be great if u could help me and give me tipps until my succes!

Thx mates

TheRaZoR

Share this post


Link to post
Share on other sites



Hey mates, iam sry but i didnt know how to name this thread!

I have this Problem:

I want to create a Script that "binding 2 Keys":

1. key

-Is starting when pressing "J"

-Stopping when pressing "J" again

-Starting again while pressing "J" --> No ending

2. key

-Starts if i Press "N"

-Doing what script says

-End

-If i press "N" again it should restart ( Like: If getInput "N" then ... )

I just need this base-script the rest i can do by myself.

It would be great if u could help me and give me tipps until my succes!

Thx mates

TheRaZoR

Lookup HotKeySet in the help file. Pay particular attention to the example as it shows how to pause/unpause a script.


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

Lookup HotKeySet in the help file. Pay particular attention to the example as it shows how to pause/unpause a script.

could u give me an example? i dont really understand it....

For Keys "J":

$i = 0

sleep("10000")

Do

send ("{TAB}")

send ("Hi Guys")

send ("{ENTER}")

sleep("1500")

send ("{ENTER}{ENTER}{ENTER}{ENTER}")

Until $i = 10

thats i want to toogle on/off with key "J"

For Key "N":

Programm which can restartet with "N"

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