On Wednesday 08 May 2019 02:25:01 am deloptes wrote:
Gene Heskett wrote:
qdbus has no such helpfull interface, but this is the command I use in the script: Cmd="/usr/bin/qdbus org.kde.kmail /KMail org.kde.kmail.kmail.checkMail"
There is a whole lot you can do with KMailIface, kmail-mainwindow#1 (the current window), and MainApplication-Interface -- but unfortunately there is nothing menu specific. It is pretty amazing all that is there, but no rabbit to pull out of the dcop hat for kmail menus.
We should grow a qdbus with those listing capabilities. The above one liner, works about 99.99% of the time.
But Gene this KDE5
And the command above works fine. I'd think they would have changed it, but its been working for most of the decade or a bit less that I've been running tde r14. I came to this party at about R14.0.1.
Cheers, Gene Heskett