Closed r0skar closed 8 months ago
The args
parameter takes a list of strings, but the syntax qdbus
to create such a list (instead of interpreting them as separate arguments) isn't immediately obvious:
qdbus nl.dvdgiessen.dbusapplauncher /nl/dvdgiessen/DBusAppLauncher nl.dvdgiessen.dbusapplauncher.Exec.CmdArgs ydotool "(" mousemove -x 100 -y 100 ")"
Arguments enclosed between "("
and ")"
are interpreted as a list.
Thanks for the quick reply! I have actually started to experiment with different syntaxes. Started with brackets first - it would have taken me a little while to reach quoted parenthesis :)
I am experimenting with this and was wondering how to invoke a command with multiple arguments? I hope this fake shell session helps to illustrate my current issue.
Multiple args do not work and if I try to use multiple arguments as the final param, they get interpreted as a string and not individual args?