Jump to content

how to do this ? help please


Recommended Posts

Here is my script , i know it repeats forever :) read the bottom for summary.

MsgBox(0, "Yaptım Oldu !", "Ein Kork (2580154) tarafından hazırlanmıştır. Program 5 saniye içinde çalışmaya başlayacaktır. İstediğiniz zaman ESC ye basarak durdurabilirsiniz. :) )")

Sleep(5000)

HotKeySet("{F10}", "MyExit")

$i = 0

While $i < 10

Send("{TAB 14}")

Send("{G}")

Send("{TAB}")

Send("{ENTER}")

Send("{ESC}")

Send("^{TAB}")

WEnd

Func MyExit()

Exit

EndFunc ;==>MyExit

I want to repeat this script forever but , it sends tab 14 times , then send g , then tab again.

Here is the problem. I want it to do this X times and goes on. and repeats

Send("{ENTER}")

Send("{ESC}")

would be good if we can ask x with a input box. Also i want to ask the letter (which is G in the script) to enter

Summary:

send tab

send a letter (ask user again)

(send tab - send esc) x times (will ask x to user with an input box)

sent tab

and repeat all script forever. but inputs will only be at the start

Edited by einkork
Link to comment
Share on other sites

Here i made what i wanted :)

Now how to repeat this script forever ? also i want to ask that G (letter) and 50 (number) to user with an input box.

MsgBox(0, "Yaptım Oldu !", "Ein Kork (2580154) tarafından hazırlanmıştır. Program 5 saniye içinde çalışmaya başlayacaktır. İstediğiniz zaman ESC ye basarak durdurabilirsiniz. :) )")

Sleep(5000)

HotKeySet("{F10}", "MyExit")

Send("{TAB 14}")

Send("{G}")

Send("{TAB}")

While 1

For $i = 1 To 50

Send("{ENTER}")

Sleep (500)

Send("{ESC}")

Next

Send("^{TAB}")

WEnd

Func MyExit()

Exit

EndFunc ;==>MyExit

Link to comment
Share on other sites

Strange user name for a turkish speaking user because it sounds more German...

What is the program name you are trying to automate?

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Strange user name for a turkish speaking user because it sounds more German...

What is the program name you are trying to automate?

Br,

UEZ

You know it's for a game... who would want to make any other app spam keystrokes like that 0.o.

Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

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