5 if test -z "$METHOD_NAME"
8 This program calls purple API functions using DBus and prints the return value.
9 If you are not interested in the return value, use purple-send-async.
13 $0 method-name type1:parameter1 type2:parameter2 ...
15 This shell script just invokes dbus-send, see man dbus-send for how
16 to specify the parameters.
20 $0 PurpleAccountsFindConnected string: string:prpl-jabber
21 $0 PurpleAccountsGetAll
24 Use dbus-viewer to get the list of supported functions and their parameters.
30 dbus-send
--dest=im.pidgin.purple.PurpleService
--print-reply --type=method_call
/im
/pidgin
/purple
/PurpleObject im.pidgin.purple.PurpleInterface.
$METHOD_NAME "$@"