yoyo Posted April 9, 2010 Share Posted April 9, 2010 (edited) hi, i have a bit trouble with a script that in Windows XP Home Edition Service Pack 3 works and instead in Windows 7 don't, do you know the reasons? i tried to compile it 64 bit mode but it also doesn't work Thank you Opt("TrayIconHide",1) $i=0 Do WinWait("Notepad") WinKill("Notepad") Until $i=1 Edited April 9, 2010 by yoyo Link to comment Share on other sites More sharing options...
JohnOne Posted April 9, 2010 Share Posted April 9, 2010 Probably because $i is never = 1 in that code you post. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
ssubirias3 Posted April 9, 2010 Share Posted April 9, 2010 (edited) hi, i have a bit trouble with a script that in Windows XP Home Edition Service Pack 3 works and instead in Windows 7 don't, do you know the reasons?Seems like Windows 7 isn't supported under the current production build of au3 (3.3.6.0). Your Do..Until loop is fine, otherwise it wouldn't work in WinXP either Detailed helpfile and large community-based support forums Compatible with Windows 95 / 98 / ME / NT4 / 2000 / XP / 2003 / Vista / 2008 Unicode and x64 supportCheers!! Edited April 9, 2010 by ssubirias3 Link to comment Share on other sites More sharing options...
yoyo Posted April 11, 2010 Author Share Posted April 11, 2010 ok seems that in Windows 7 something works but not at all...when i try to kill a window of a program that in Task Manager is marked as execute by SYSTEM, not by my account on Windows 7, the script doesn't work...is there an option of function WinKill, or another function, that allow me to do this? 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