You are not logged in.
Can one close a program periodically, respectively close a program with shutter at all?
Offline
Yes, it can.
Did you try adding a Countdown event and a Close Window or Kill Process events?
For example:
Events:
1) Countdown: Wait 0:10:00
Actions:
1) Kill Process: "notepad.exe"
Offline
Thank you.
Did you try adding a Countdown event and a Close Window or Kill Process events?
No, I didn't. "Kill Process", I assume, means a program might be closed very roughly, so it might damage the program, data. And I thought "Close Window" just might close a window of a program and the program keeps running on. And you have to know the name of the window and may be there a different names, I do not know.
I would like to have a program closed periodically each day at e.g. 1 o' clock at night.
Offline
Kill Process action terminates the target process abruptly.
Close Window action sends a special message to indicate that it should be closed in a normal fashion. Usually if you do this to the main window of the application then the whole application will close in a normal fashion. Close Window action also accepts wildcard masks, in case the window title is dynamic.
Unless your application supports some kind of programmatic way of shutting down, for example command line switches, there is no other way to do this.
It is your choice which you want to do.
Offline
Close Window action sends a special message to indicate that it should be closed in a normal fashion. Usually if you do this to the main window of the application then the whole application will close in a normal fashion. Close Window action also accepts wildcard masks, in case the window title is dynamic.
So, I guess, this version is the one I should use. But Rainlendar runs minimized, so without any window, and when you click the icon some windows / calendars, etc. are shown (like that: http://i.imgur.com/U282P96.png), but a "real", usual name for a window I couldn't find. So what should I enter to shutter to close rainlendar this way? And here - http://i.imgur.com/y0nE8TX.png - is not shown any window of Rainlendar.
Last edited by Dirk (2015-11-30 14:25)
Offline
Any GUI application will have at least 1 window, and every window will have a title, even when not visible. It's how Windows works.
What do you see in the "Close Window" drop down list? Can you identify a title which represents Rainlendar?
Offline
No, not at all, that is what I mean, I cannot identify anything which might have a connection to Rainlendar:
And here - http://i.imgur.com/y0nE8TX.png - is not shown any window of Rainlendar.
Offline
I guess "Kill Process" action is the only way then.
Offline
Try using AutoIt Window Information Tool to find window title of Rainlendar.
Offline
I guess "Kill Process" action is the only way then.
Do you think that way could damage Rainlendar / data?
Many thanks for the link, it shows that: http://i.imgur.com/iu6x3R1.png
The "Title" field is left unfilled. May be "RainlendarWindow" will work?
Process Explorer shows nothing in the window column: http://i.imgur.com/IkGNUHM.png
Offline