How to get Restart,Shutdown .... events
Hi Guys,
My first query is what are different automation testing tools are available in Mac?
Second is:
I have written a network application in cocoa.
In my application I want to capture the Logout,Restart,Shutdown events.
Based on these events I want to send some message to my server.
After reading the documentation on internet regarding system events I came to know that whenever user choose "Shutdown" or "Restart" from the Apple Menu the running application gets "KAEQuitApplication" event but not any specific event whether the application is quiting by "Shutdown" or "Restart" or "Log Out". The "KAEQuitApplication" event also get by the user when he/she quit their application by clicking at the top left cross button of the application window.
I m looking to get the specific event related with each action taken by the user i.e. "Shutdown" or "Restart" or "Log Out".
Is it possible to get the different event for each of the action taken by the user i.e. "Shutdown" or "Restart" or "Log Out"?.
suggest me some imp link or sample code.
waiting for the reply.
Thanks,
sunil