2011-03-06, 22:18
Hi,
I've created a python script which should save a notification in a sqlite database so that I can show a list with the recent notifications. But somehow I can't get the text from the label (401)... $INFO[Control.GetLabel(401)] seems only to work if its in a <label> or <texture> tag. I can't get it in python or set it as a window property, it's always empty. Tried it in other dialogs (e.g. progress dialog) and it's working there but not in kai toast. Is there maybe another possibility how I can grab the notification in python?
I've created a python script which should save a notification in a sqlite database so that I can show a list with the recent notifications. But somehow I can't get the text from the label (401)... $INFO[Control.GetLabel(401)] seems only to work if its in a <label> or <texture> tag. I can't get it in python or set it as a window property, it's always empty. Tried it in other dialogs (e.g. progress dialog) and it's working there but not in kai toast. Is there maybe another possibility how I can grab the notification in python?