Sign in to follow this  
Followers 0
keotix

Text keeps repeating

4 posts in this topic

#1 ·  Posted (edited)

this so far, put words into the first box, enter, and words in 2nd box and enter. then u have to have notepad open. its supose to write the things, it does that but i dont want it to be repeating. how do i make it only write it once?

Here is my script so far

*solved, thanks ppl*
Edited by keotix

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Because you put the gui inside the While loop so it will keep going until you turn the loop off!

best idea is to just use Send("") and dont put it inside a loop :)

Edited by Swift

Share this post


Link to post
Share on other sites

As Requested!:

#include <GUIConstants.au3>

GUICreate("Spammage v0.4", 150, 100)
GUISetState("")

$FirstWord1 = InputBox("Spammage","Type what you want to send 1.")

$FirstWord2 = InputBox("Spammage","Type what you want to send 2.")

   WinWait("Untitled - Notepad","")
If Not WinActive("Untitled - Notepad","") Then WinActivate("Untitled - Notepad","")
WinWaitActive("Untitled - Notepad","")


Send($FirstWord1)

Send($FirstWord2)

Share this post


Link to post
Share on other sites

thank you very much :)

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