krambriw wrote:Dear Pako, now I get another error message [Error 13] Felaktig data which means "Wrong data". Could it be that the string "%ProgramFiles%\Windows Mail\WinMail.exe" /mailurl:"%1"
has too many invalid chars???
So I do not know. I am afraid that this way I probably fail to find. I have to borrow a computer with Windows Vista.
But something we still can try - use _winreg.EnumValue place _winreg.QueryValue. Try using this code:
- Code: Select all
def RunEmailClient():
def GetDefaultEmailClient():
"""Get the path of default email client through querying the
Windows registry. """
try:
em_reg = _winreg.OpenKey(
_winreg.HKEY_CLASSES_ROOT,
"\\mailto\\shell\\open\\command"
)
EmPath = _winreg.EnumValue(em_reg,0)[1]
_winreg.CloseKey(em_reg)
EmPath=EmPath.split('"')[1]
except:
raise
EmPath = None
return EmPath
krambriw wrote:No, I have not understood the replay yet, sorry....
I don't comprehen that. Have you downloaded the latest version of plugin? Do you see there button "Replay"? You try to press him?
krambriw wrote:Also, I think it should be possible to toggle the view of the notification window...
Well, we think about that. How do I open the window but that has no control element? What if I need five such windows. How do I identify which is to be open? I think the behavior is logical. This is the notification window. It appears alone, when a new message is waiting. When I accidentally close this window, just repeat the action that starts observation.
Pako