keotix Posted March 1, 2008 Share Posted March 1, 2008 (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 March 2, 2008 by keotix Link to comment Share on other sites More sharing options...
Swift Posted March 1, 2008 Share Posted March 1, 2008 (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 March 1, 2008 by Swift Link to comment Share on other sites More sharing options...
Swift Posted March 1, 2008 Share Posted March 1, 2008 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 More sharing options...
keotix Posted March 1, 2008 Author Share Posted March 1, 2008 thank you very much Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now