maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Auto reply sms on Sailfish OS? (https://talk.maemo.org/showthread.php?t=99645)

HtheB 2017-07-25 09:31

Auto reply sms on Sailfish OS?
 
Is there a way to auto reply a text message when receiving a (specific) text message or from a (specific) number?

robthebold 2017-07-25 16:17

Re: Auto reply sms on Sailfish OS?
 
I've looked for such a pre-packaged app, but I haven't found one.

One could write such a thing with sufficient knowledge, patience and time. I keep meaning to do this, but just don't get around to it.


Running dbus-monitor, I see there's a flurry of dbus activity when a text comes in. E.g., if you watch path=/CommHistoryModel; interface=com.nokia.commhistory; member=eventsAdded the data includes both the source phone number and the text body of the incoming SMS.

This isn't the only dbus message that could be parsed for the information, just the first one I saw. A bunch of other activity stores the text, pops up a notification and adds events to [whatever the right name of the page that shows events].

Schturman's Express SMS script has code for sending an SMS that could be "borrowed" for this to avoid re-doing the already done.

Some additional fun could be piping the info to eliza and torturing a particular, shall we say "friend," with a chatbot and see how long it takes to figure it out -- but I regress. (Not digress in this case, regress.)


All times are GMT. The time now is 09:47.

vBulletin® Version 3.8.8