# Get external file closed

**URL:** <https://forum.kirupa.com/t/get-external-file-closed/322121>\
**Category:** flash\
**Created:** [May 11, 2011, 7:30am UTC](https://forum.kirupa.com/t/get-external-file-closed/322121 "2011-05-11T07:30:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkp\_gaurav1](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Post date:** [May 11, 2011, 7:30am UTC](https://forum.kirupa.com/t/get-external-file-closed/322121/1 "2011-05-11T07:30:44Z")

</div>

Hey,  
I have one flash EXE. If there is no activity to a fixed time, it starts a flash screensaver (swf studio screensaver). Now i want to know in the main exe when the screensaver is closed. One method is to add a 1 second timer in main exe, which will watch running processes. If it not find the screensaver in running processes then it will reset its variables. But i dont want to run the 1 sec timer. Is there any other way to get that the screensaver or some other exe is closed now?
