jchammons
|
2009-12-30
, 00:19
|
Posts: 17 |
Thanked: 1 time |
Joined on Dec 2009
|
#31
|
|
2009-12-30
, 09:39
|
Posts: 451 |
Thanked: 334 times |
Joined on Sep 2009
|
#32
|
The script now would ask for the number and the message and can also schedule sending. Updated script is right here:
http://www.paraiso.dk/pymaemosms.txt.
|
2009-12-30
, 12:12
|
Posts: 119 |
Thanked: 14 times |
Joined on Nov 2009
|
#33
|
|
2009-12-30
, 16:18
|
Posts: 19 |
Thanked: 2 times |
Joined on Dec 2009
|
#34
|
|
2009-12-31
, 01:28
|
Posts: 14 |
Thanked: 18 times |
Joined on Dec 2009
|
#35
|
|
2009-12-31
, 01:49
|
Posts: 22 |
Thanked: 7 times |
Joined on Nov 2007
|
#36
|
|
2009-12-31
, 11:32
|
Posts: 451 |
Thanked: 334 times |
Joined on Sep 2009
|
#37
|
I made the script more interactive but you can of course change it so that it accepts arguments instead. Just use python's sys.argv. If i have the time, i will change it so that it can support both.
Also, if anyone is interested, i have made another sample script listens to incoming messages. I placed the link in the pymaemo wiki:
The Following User Says Thank You to 白い熊 For This Useful Post: | ||
|
2010-01-02
, 00:41
|
Posts: 14 |
Thanked: 18 times |
Joined on Dec 2009
|
#38
|
I'll take a look, haven't messed with Python so far...
This is good stuff, haven't looked yet, but assumed you've utilized some dbus hooks, that get triggered when SMSes come in.
In case you've studied it, are you aware of which hooks could be used to catch call inception and call end.
I'm asking since I already programmed elisp code for Emacs's BBDB to initiate calling, and automatically record, who you've called etc. including the call time to BBDB database, however, I don't know which hooks to catch to check for actual call inception and end, so what happens to me now:
1. All calls are recorded as zero length, since Emacs dials the numer via dbus, which immediately exits, and Emacs catches this as call end time.
2. Even if the call doesn't connect, i.e. the line is busy, the user picks up, it gets recorded as a call made.
Therefore you need to somehow check for call start and end...
|
2010-01-02
, 11:34
|
Posts: 8 |
Thanked: 7 times |
Joined on Dec 2009
@ London
|
#39
|
|
2010-01-10
, 03:04
|
|
Posts: 1,030 |
Thanked: 792 times |
Joined on Jun 2009
|
#40
|