Sign in to follow this  
Followers 0
einkork

how to do this ? help please

9 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Send("{ENTER}")

Send("{ESC}")

yea i want it to repeat 40 times. and script will go on again

EDIT : CHECK OUT 5TH POST OF THE TOPIC

Edited by einkork

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

For $i = 1 To 40
;Script here, example:
ConsoleWrite($i & @CRLF)
Next

Edited by johnmcloud

Share this post


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

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

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!
¯\_(ツ)_/¯

Share this post


Link to post
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.

1 person likes this

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

 

Share this post


Link to post
Share on other sites

I agree, considering his previous topic was about a game.


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

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