Jump to content
Sign in to follow this  
joker17

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

Recommended Posts

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

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

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

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  

×
×
  • Create New...