View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#18
Originally Posted by Ait View Post
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!
Just stick initial:
Code:
DIALER_QBW_ID=id0;...
for every button and you'll be dripping an overwhelming sense of joy!
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras