View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#2
Originally Posted by HtheB View Post
Is there any native app for Sailfish OS to be able to send a lot of messages at once to the same person?
Hi. You really don't like someone
You can create simple script for this...
1. Create file named "bombsms.sh" in /home/nemo.
2. Add this content:
Code:
#!/bin/bash

set -x
dconf write /desktop/bombsms/count 0
while true
do
if [[ $(dconf read /desktop/bombsms/count) == 5 ]]; then
break
else
dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:PHONE string:"BANANA!!!"
dconf write /desktop/bombsms/count $(($(dconf read /desktop/bombsms/count)+1))
sleep 2
fi
done
3. Do some changes and save them:
PHONE - change to number of person in international or local format.
5 - change to number of sms's you want to send, but REMEMBER -> you pay for each sms!!!
sleep 2 - change to prefered interval in seconds between sms's.
BANANA!!! - change to your own text.
4. Give permission:
Code:
chmod 4755 /home/nemo/bombsms.sh
5. Run script as USER (nemo):
Code:
/home/nemo/bombsms.sh
6. This sms's not shown in Messages app.

Enjoy
 

The Following 13 Users Say Thank You to Schturman For This Useful Post: