Jump to content

Text keeps repeating


Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
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)
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...