Jump to content

Recommended Posts

Posted

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

Posted

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.


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

Posted

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"

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...