Sign in to follow this  
Followers 0
joker17

how to close an *.exe that is not opened by my script

36 posts in this topic

i need a working script to close a program that cannot be closed with alt+f4; i've tried this one (phothosp.exe is only an example :)):

FileClose("photoshop.exe")

but nothing appen

Share this post


Link to post
Share on other sites



i need a working script to close a program that cannot be closed with alt+f4; i've tried this one (phothosp.exe is only an example :)):

FileClose("photoshop.exe")

but nothing appen

Try ProcessClose("photoshop.exe")

Share this post


Link to post
Share on other sites

tryed it didn't work, or i'm supposed to use the entire string

ProcessClose("c:\\program files\photoshop\photoshop.exe") ?

Share this post


Link to post
Share on other sites

ProcessClose("photoshop.exe") worked for me. Maybe you aren't the owner of the process.

Share this post


Link to post
Share on other sites

i'm logged as admin, and all the application was installed from this account

Share this post


Link to post
Share on other sites

What version of windows?

Share this post


Link to post
Share on other sites

can you end it in task manager ?

Share this post


Link to post
Share on other sites

of course i can end it in task manager and i use windows xp sp2

Share this post


Link to post
Share on other sites

simple fix. Don't try to cheat at whatever MMO is running the "anti-cheat" you're trying to kill


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

i'm not trying to shut down the "anti-cheat" programm i'm trying to shut down the entire exe game ^^

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

Wow, that was abrupt.

What account is the AutoIt script running from? Is it the same user and does it have process related privileges?

Edit: Never mind. I suppose that if you want to close the game, you could always try using your mouse and or keyboard and exiting the way everyone else does.

Edited by Richard Robertson

Share this post


Link to post
Share on other sites

lol why i'm supposed to not be legal/moral able to shut down the game with a macro?

Share this post


Link to post
Share on other sites

If you ask in English, or any other intelligible language, maybe we could try and answer that question.

Share this post


Link to post
Share on other sites

lol it is perfect english:

some code to shut down a program, easier then this is impossible

Share this post


Link to post
Share on other sites

Close the process in debug mode, if you don't know how to do it, msdn is your friend.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

lol msdn? i'm not shure what u mean :)

Share this post


Link to post
Share on other sites

MSDN... the MicroSoft Dummy Network .... basically the home office.

LOL.

It's actually the online help repository for anything Microsoft.

http://www.msdn.com


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

umh it was usefull like a kick in the ass ^^

i don't wont philosophical explanation, i simply wont a working code

PS: don't mock other ppl only because your american and pro with pc

Share this post


Link to post
Share on other sites

i don't wont philosophical explanation, i simply wont a working code

So you think of us as short order code cooks? :) Get a grip bud. ;)

I'll guarantee you won't get it from me.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

i think if u have over 11k posts u could make a simple code (4 you) in 20 seconds (or maybe u already have one)

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  
Followers 0