monte Posted February 17, 2006 Posted February 17, 2006 Hello, I need some help here, please. My script hangs after execution and doesn't finish. Notepad opens and gets activated but the text never gets written, and I have to kill the script process. Thanks. expandcollapse popup run("notepad") winwait("Untitled") winactivate("Untitled") send("sometext") [\code] NegativeNrG Posted February 17, 2006 NegativeNrG Active Members 165 Posted February 17, 2006 umm, it works fine for me, try adding a loop. run("notepad") winwait("Untitled") winactivate("Untitled") send("sometext") While 1 Sleep(50) WEnd [size=20]My File Upload[/size]Register at my site and upload.
MadBoy Posted February 17, 2006 Posted February 17, 2006 Try modifying your script to language you use on your Windows. By default the code is working on English Windows. In polish version it will be "Bez tytułu - Notatnik" instead of "Untiled". Check what name of Window you have when you open new Notepad window. My little company: Evotec (PL version: Evotec)
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