Jump to content

Help Function WinKill


Recommended Posts

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

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 support

Cheers!!

Edited by ssubirias3
Link to comment
Share on other sites

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

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...