-
1. Re: Possible to Kill another exe
kglad Dec 26, 2012 7:18 AM (in response to sivacse24rep)what code did you use to open notepad.exe?
-
2. Re: Possible to Kill another exe
sivacse24rep Dec 27, 2012 11:08 PM (in response to kglad)for example i told notepad.exe,Consider it could be my custom AIR application (samp.exe). I am using "NativeProcessStartupInfo" .... to run the .exe files
Thanks,
Siva
-
3. Re: Possible to Kill another exe
kglad Dec 28, 2012 8:30 AM (in response to sivacse24rep)copy and paste the code you used to open notepad.
-
4. Re: Possible to Kill another exe
sivacse24rep Dec 30, 2012 9:44 PM (in response to kglad)var file:File = new File();
file.nativePath = "C:\\Program Files\\samp\\samp.exe";
npsi.executable = file;
process = new NativeProcess();
process.start(npsi);
-
5. Re: Possible to Kill another exe
kglad Dec 30, 2012 10:49 PM (in response to sivacse24rep)in the scope of any displayobject (on stage) an process, you can use:
this.nativeWindow.addEventListener(air.Event.CLOSING,closeF);
function closeF(e:air.Event):void{
process.exit();
}
-
6. Re: Possible to Kill another exe
sivacse24rep Dec 31, 2012 12:26 AM (in response to kglad)Thanks for the replay Kglad,
Consider I want to close some other process which is not initate from Adobe air...how to do this?
For example:
My application is like task manager. It will have few static default s/w. Like Note pad,winamp,etc...
user can choose any one to end the task. Goal of the task i want to teriminate those services throw coding...
Thanks,
Siva
-
7. Re: Possible to Kill another exe
kglad Dec 31, 2012 7:19 AM (in response to sivacse24rep)i doubt you can do that.
p.s. please mark helpful/correct responses.



