bwon1994 Posted December 24, 2009 Share Posted December 24, 2009 (edited) Hey! Just a warning: The attached file makes "notepad.exe" run infinitly. I had to restart my computer. I'm pretty new to this so I tried messing around with the examples they gave us. In Notepad1, I got rid of all the comments and the last line of code: WinWaitClose("[CLASS:Notepad]").So the result looked like this: Run("notepad.exe") WinWaitActive("[CLASS:Notepad]") Send("Hello from Notepad.{ENTER}1 2 3 4 5 6 7 8 9 10{ENTER}") Sleep(500) Send("!f") Send("x") WinWaitActive("Notepad") Send("n")I then used "Aut2exe" to make it into an .exe file (which is what is attached). I can't figure out whats wrong . Plus, the actual programs don't ever appear, only the processes of notepad.exe does. Does anyone know what's wrong?Thanks in advance ^^ Hope I can learn to use this well file: http://www.mediafire.com/?welmmlcju3f Edited December 24, 2009 by bwon1994 Link to comment Share on other sites More sharing options...
Developers Jos Posted December 24, 2009 Developers Share Posted December 24, 2009 Called your script notepad.au3 and you compiled it? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bwon1994 Posted December 24, 2009 Author Share Posted December 24, 2009 Yea. Just a sec...uploading file is too big apparently Link to comment Share on other sites More sharing options...
Developers Jos Posted December 24, 2009 Developers Share Posted December 24, 2009 Yea.Just a sec...uploading file is too big apparentlyyou are constantly running your own script NOT Notepad that comes with windows.Delete your notepad.exe script and rename your source.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bwon1994 Posted December 24, 2009 Author Share Posted December 24, 2009 you are constantly running your own script NOT Notepad that comes with windows.Delete your notepad.exe script and rename your source.JosOh that's what you meant. No it's named Notepad1.exe now and still does the same thing.Even if I double click once, it runs over and over. Why is that? Link to comment Share on other sites More sharing options...
Developers Jos Posted December 24, 2009 Developers Share Posted December 24, 2009 you are 100% sure you do not have a script compiled to notepad.exe? Do you get a lot of Systemtray icons when you start the script? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bwon1994 Posted December 25, 2009 Author Share Posted December 25, 2009 Yea thanks i found out why it didn't work... There was a file called notepad.exe. The file i first made for my vista computer. Thank You 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