View Single Post
Posts: 1,038 | Thanked: 3,980 times | Joined on Nov 2010 @ USA
#281
Originally Posted by wolke View Post
@robthebold
glad you like it! (speaksms script? sounds interesting! link?)
Just a one-liner. I think I'm accessing the database the hard way, and it's not very sophisticated, but it did the job and achieved 'good enough' status, so that's where I left it.

Obvious warning: best not used in public. One time I tried that my wife was detailing her digestive suffering! Yikes! NSFW or anywhere non-private.

Also, since it pipes the whole database of smss to tail, it can slow down if you've got a lot of saved conversations.

And it only speaks the last message received -- even if you've already read it -- not all new messages.

Code:
tracker-sparql -q "select nie:plainTextContent(?d) where {?d a nmo:SMSMessage}" | tail -n 2 |espeak

Last edited by robthebold; 2015-07-16 at 13:42. Reason: typing tags on touchscreen is hard
 

The Following 4 Users Say Thank You to robthebold For This Useful Post: