Jump to content
Sign in to follow this  
wakummaci

Help stopping an application

Recommended Posts

wakummaci

I've already searched the help for it , but I can't find any commands that can kill running applications, I read the faq as well, thx for any help!

Share this post


Link to post
Share on other sites
wakummaci

To name a few.....

ProcessClose(), WinClose() and WinKill()

Winclose and Winkill not working because I want to kill a fullscreen application which I am in, but will try ProcessClose, thx

e: processclose is not working as well, Don't know why, what should I try to make my script runable in a fullscreen application?

Edited by wakummaci

Share this post


Link to post
Share on other sites
oMBRa

dsnt matter if the application is fullscreen... try to use Au3Info.exe to get the name of the window then close it with winkill

Share this post


Link to post
Share on other sites
wakummaci

It does.. If I try to shut total commander or my documents with win kill / processclose it works but not on the fullscreen application

Share this post


Link to post
Share on other sites
Andreik

It does.. If I try to shut total commander or my documents with win kill / processclose it works but not on the fullscreen application

Look here, work fine:

While 1
    If WinExists("My Documents") Then
        WinKill("My Documents")
    EndIf
    Sleep(10)
WEnd

When the words fail... music speaks

Share this post


Link to post
Share on other sites
oMBRa

why dsnt work? u get an error or nothing happen?

Share this post


Link to post
Share on other sites
wakummaci

It does.. If I try to shut total commander or my documents with win kill / processclose it works but not on the fullscreen application

As I have already said, this works... because my documents is not a full screen application.

Yes nothing happens.

Share this post


Link to post
Share on other sites
Andreik

As I have already said, this works... because my documents is not a full screen application.

Yes nothing happens.

Open My Document and then press F11 to make full screen and then run code from post#6.


When the words fail... music speaks

Share this post


Link to post
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
Sign in to follow this  

×