At now I can open krunner with some query via cli dbus command like: qdbus org.kde.krunner /App query 'command' But this command opens krunner window and I must manually press "Enter" for execute this query. I want to automate some actions, so I want to automatically submit query (execute it via emulate "enter" key action"). If there are not only one result per query, let's use first result to execute. Is there any way to do this via current version? If no, please add this feature in next versions! Reproducible: Always
Isn't it more feasible to just run the application or whatever you want to do directly rather than relying on KRunner and *hoping* it will pick the right thing? What do you actually want to automate?
I want to automate opening KDE Telepathy chat window with specific contact via command line. KDE Telepathy don't allow this via command line, but this works easy and well via KRunner, for example - command: qdbus org.kde.krunner /App query 'Alexey Korepov' and click "Enter" - opens KDE Telepathy chat window with 'Alexey Korepov' contact. And will be good to automate some other things via this way.
So, Telepathy needs fixing
Dear user, unfortunately Telepathy is no longer maintained. Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.