Jump to content
jameelo25

How can I make the Autoit type the same text in the notepad every x seconds?

Recommended Posts

jameelo25

I want to make the Autoit program type some text in a discord server that I am a part of automatically , like every x minutes or every x hours, how can I do that? 

My code would be like this : 

WinActivate("Discord")
sleep(2500)
MouseClick("left",500, 770)
Sleep(1800000)
send("hai people ")
send("{enter}")

(the 1800000 seconds mean 30 minutes)

So how can I make the text get typed automatically by autoit every 30 minutes?

Share this post


Link to post
Share on other sites
JLogan3o13

First, it looks like you have code, what isn't working?

Second, have you looked at the TOS of the discord server to ensure you're not breaking their rules. I know I wouldn't want you spamming my feed like that.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
jameelo25

@JLogan3o13 Nope, I saw the TOS and the limit is every 30 minutes, so I won't really be spamming and its not against the rules :D

Share this post


Link to post
Share on other sites
jameelo25
Posted (edited)

@Abdulla060 I'll try, thanks :)

Edited by jameelo25

Share this post


Link to post
Share on other sites
jameelo25

@JLogan3o13 the thing is , i'm looking for the feature that automates this, that does this automatically and non stop in every x minutes

Share this post


Link to post
Share on other sites
Abdulla060

I'm sure that there is a bot that can do what you need just add to your server 

Share this post


Link to post
Share on other sites
JLogan3o13

@Abdulla060 when there is not one but two Moderators active in a thread, it is a good indication to stay out of it until some indication is given to proceed.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Earthshine
Posted (edited)

sniop

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
jameelo25
15 minutes ago, Abdulla060 said:

I'm sure that there is a bot that can do what you need just add to your server 

I'm not an admin nor a mod there.

Share this post


Link to post
Share on other sites
Jos
33 minutes ago, Jos said:

The question remain why this would be a feature anyone need as legitimate function!

Jos

... and the answer is?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
jameelo25
21 minutes ago, Jos said:

... and the answer is?

Because it is an AUTOMATION program

Share this post


Link to post
Share on other sites
Jos
53 minutes ago, jameelo25 said:

Because it is an AUTOMATION program

I am clever enough to understand that you are automating something, so please refrain from SHOUTING AT ME!
Please reread my question and this time try explaining the purpose. ;)

Jos

 


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
jameelo25
On 3/26/2018 at 4:56 PM, Jos said:

I am clever enough to understand that you are automating something, so please refrain from SHOUTING AT ME!
Please reread my question and this time try explaining the purpose. ;)

Jos

 

To automate things that they have to do on a regular basis.

Share this post


Link to post
Share on other sites
jameelo25
On 3/26/2018 at 2:09 AM, Abdulla060 said:
While 1
    WinActivate("Discord")
    sleep(2500)
    MouseClick("left",500, 770)
    send("hai people ")
    send("{enter}")
    Sleep(1800000)
WEnd

is this what you need?

Thanks dude, it worked.

Share this post


Link to post
Share on other sites
Jos
9 hours ago, jameelo25 said:

To automate things that they have to do on a regular basis.

Seems you're ignoring my question and are playing with words, which I don't really appreciate.
I like to get a clear answer when an exact question is asked.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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

×