View Single Post
Posts: 24 | Thanked: 4 times | Joined on Jun 2010 @ Sweden
#17
Here it comes:

1.

2.






3. Cmd digit 1:
DIALER_QBW_ID=id1;DIGIT="1";if [ "$QBW_EXEC_REASON" != "QBW_CLICK" ];then exit 0;fi; DIALLED=`run-standalone.sh dbus-send --session --print-reply --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$DIALER_QBW_ID oh.no.more.qbw.get_current_results_text | tail -1 | cut -d\" -f2`; if [ "$DIALLED" == "DIAL NUMBER" ] ;then DIALLED=""; fi; run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$DIALER_QBW_ID oh.no.more.qbw.exec string:"echo \"$DIALLED\"\"$DIGIT\""

Cmd digit 2:
DIALER_QBW_ID=id2;DIGIT="2";if [ "$QBW_EXEC_REASON" != "QBW_CLICK" ];then exit 0;fi; DIALLED=`run-standalone.sh dbus-send --session --print-reply --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$DIALER_QBW_ID oh.no.more.qbw.get_current_results_text | tail -1 | cut -d\" -f2`; if [ "$DIALLED" == "DIAL NUMBER" ] ;then DIALLED=""; fi; run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$DIALER_QBW_ID oh.no.more.qbw.exec string:"echo \"$DIALLED\"\"$DIGIT\""

The ID's are pretty much matching the numbers, at least after the reinstallation, before it was just random. Tried the poker-thingy out, and its working fine.

Thanks!