dictation-toolbox / natlink

Natlink provides the interface between Dragon and python
Other
25 stars 17 forks source link

get setTrayIcon working again #152

Open quintijn opened 1 year ago

quintijn commented 1 year ago

This was a not very much used function of natlink. Especially when things were moving, often in "exclusive mode", (in unimacro grammar _repeat and in the originalsamplegrammars _mous.py), a (changing) tray icon could be shown, in order to give the user feedback about the state of the grammar.

This function does not work any more with the python3 release.

  1. The icons are gone, they are put back, for the moment in Doug and mine unimacro fork, in the folder defaulticons. Moreover also custom icons could be used, see icons directory also in unimacro fork.

  2. How can we then use this feature again?

See some remarks in testNatlinktime.py in the tests area of the same unimacro fork directory.