quote:
Originally posted by Voldemort
quote:
Originally posted by riahc4
If the WLM program is closed (process killed), Skype closes (Skype's process killed)
how will a process that isn't running anymore kill another process??
Indeed it can't.
But a Plus! script could attempt close Skype (never 'kill' a process to quite an application. That is bad practice) when the event
OnEvent_Uninitialize is fired and the
MessengerExit parameter is set to true.
The same for starting Skype: use the event
OnEvent_Initialize and check if
MessengerStart is true.
quote:
Originally posted by Voldemort
quote:
Originally posted by riahc4
Sign out of WLM, it signs out of Skype.
IIRC, scripts are disabled after you log out... but I might be wrong.
Nope, scripts start running the moment you open Messenger (well, after all the initialization of Messenger and Plus! is done of course), and keep on running until you quit Messenger.
Logging in or out simply fires another event in the running scripts, it doesn't start or stop scripts.
So, those Signin and Signout events can be used to send an instructions to Skype to do the same thing (if Skype provides such a mechanism in the first place of course - dunno) occording to what user signs in or out in Messenger and what user is signed in in Skype.
- Messenger starts
- Plus! gets loaded
- All enabled scripts are started
=> for each script the OnEvent_Initialize event is fired with MessengerStart set to True.
...
- User logs in
=> for each script the OnEvent_Signin event is fired
- The whole logging in process completes
=> for each script the OnEvent_SigninReady event is fired
...
- User logs out
=> for each script the OnEvent_Signout event is fired
...
- User quits Messenger
=> for each script the OnEvent_Uninitialize event is fired with MessengerExit set to True.
- Plus! stops all running scripts
- Plus! unloads itself
- Messenger quits