
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org
Script to send SMS over the SMS-Script-Gateway of http://www.smsjoker.de/
I use it to send SMS out of kaddressbook in KDE 3.5.x with:
smsjoker-script "%N" "%F"
An other interesting usage is to send an text (like "Merry Christmas and a happy new Year") to every number in an textfile.
Usage: /Path/to/the/script/smsjoker [options] [destination] [text]
If you enter [destination] you must also enter [text]
[destination] can be an number or the path to an textfile with numbers on each line
[text] can be the SMS-Text or the path to an textfile with the SMS-text in it
If you don't give Destination and Text you come to the interactive-mode
Possible Options:
-t [eigen|anonym] eigen shows your own Cellphone-Number as sender not an standard-one
-d Go to Debug-Mode
-p Enforce Popups
------------------
GUI (with X-Mas support :)):
http://www.kde-apps.org/content/show.php?content=32682
12 years ago
2.4 Important Update: The IP of the smsjokers http-interface will change. You should update to 2.4 now.
2.3 UTF-8 support. You have to look in ~/.smsjoker-script and set UTF=1 (you need iconv installed)
2.2.2 small Bugfix (works better with smsjoker-kommander)
http://www.kde-apps.org/content/show.php?content=32682
2.2.1 Bugfix: The script had some problems with spaces in the config-file.
2.2 The script had problems sending Textes with some special chars like &, = and so on. This should be fixed now. Please Tell me if there are still some chars which don't work.
2.1.1 some minor Bugfixes
2.1 some Bugfixes in Logfile- and Popup-management
2.0 New Features:
* now works with an configuration-file. (makes it much simpler to upgrade)
* Possibility to log your SMS
* Now you can define some Numbers to which you send your SMS anonymous even if you choose "eigen" as Standard. Could save Money by using "anonym" as much as possible but "eigen" as Standard.
* aditional command-line Options
* DEBUG-mode (so you can test what would happen)
1.0 skipped, because there whwere no changes to 0.9
0.9 Implementet batch-sending one SMS to more then one Destination. Now the Skript does everything I want. So I'll wait for Bugs or Ideas. :)
0.3.2 reenable Popup for the "First usage"
0.3.1 litle bugfix
0.3 I changed a lot. Now the script has more possibilities like:
* Interactive-Mode for Usage from Console
* send an SMS with only one line to Type
Now I will wait for bugs.
0.2 Popup shows more Informations. Not only Error-Codes
0.1 First try
Perhaps someone could help me to improve the script. Please give me a hint how to make the Popup show an Text and not only the Error-Code
12 years ago
2.4 Important Update: The IP of the smsjokers http-interface will change. You should update to 2.4 now.
2.3 UTF-8 support. You have to look in ~/.smsjoker-script and set UTF=1 (you need iconv installed)
2.2.2 small Bugfix (works better with smsjoker-kommander)
http://www.kde-apps.org/content/show.php?content=32682
2.2.1 Bugfix: The script had some problems with spaces in the config-file.
2.2 The script had problems sending Textes with some special chars like &, = and so on. This should be fixed now. Please Tell me if there are still some chars which don't work.
2.1.1 some minor Bugfixes
2.1 some Bugfixes in Logfile- and Popup-management
2.0 New Features:
* now works with an configuration-file. (makes it much simpler to upgrade)
* Possibility to log your SMS
* Now you can define some Numbers to which you send your SMS anonymous even if you choose "eigen" as Standard. Could save Money by using "anonym" as much as possible but "eigen" as Standard.
* aditional command-line Options
* DEBUG-mode (so you can test what would happen)
1.0 skipped, because there whwere no changes to 0.9
0.9 Implementet batch-sending one SMS to more then one Destination. Now the Skript does everything I want. So I'll wait for Bugs or Ideas. :)
0.3.2 reenable Popup for the "First usage"
0.3.1 litle bugfix
0.3 I changed a lot. Now the script has more possibilities like:
* Interactive-Mode for Usage from Console
* send an SMS with only one line to Type
Now I will wait for bugs.
0.2 Popup shows more Informations. Not only Error-Codes
0.1 First try
Perhaps someone could help me to improve the script. Please give me a hint how to make the Popup show an Text and not only the Error-Code
RalphMW
9 years ago
that should work on kde3 and kde4
Report
neversfelde
13 years ago
falsche Art der Absenderkennung
/usr/bin/smsjoker-script: line 96: : Datei oder Verzeichnis nicht gefunden
what`s wrong?
Report
tikalix
13 years ago
Please give me some more Information:
1. Which Version do you use?
2. Whow do you use the script? (From the shell or kaddressbook... and whith which options)
3. Please send me the output of "smsjoker-script -d 0123456789 TEST" (Update to version 2.2 first)
And you can try this out:
1. Update to Version 2.2
2. Check your configuration-file ".smsjoker-skript" in your home-directory. It shold be
"STANDARD_TYPE=eigen" not
"STANDARD_TYPE= eigen" (There must'nt be a space in front of "eigen")
Report
neversfelde
13 years ago
smsjoker-script
-d 0123456789 TEST gives: "Destination: 0123456789
Type: eigen
Text:
TEST
I would use this command:
wget "http://212.227.13.1/cgi-perl/prepaid/private/smsversand.cgi?von=01799478419 &passwort=chmod1405 &absender=eigen &konto=1&ziel=0123456789&text=TEST"
I'll simulate Errorcode 200 17
SMS to 0123456789
Type: eigen
OK, SMS weitergeleitet
Restguthaben: 17 EURO
"
STANDARD_TYPE=eigen is ok and I tried both shall and kadressbook?
Report
neversfelde
13 years ago
Report
tikalix
13 years ago
Better you change it. :)
Report
tikalix
13 years ago
I see the Problem. There is a Space in .smsjoker-script after STANDARD_TYPE=eigen .
Just delet this Space and it should work. (I Hope)
.smsjoker-script was created with this space... my Fault. In 2.2.1 this will be fixed. Thank you for your hint.
Report
tikalix
13 years ago
2.2.1 hopefully fixes the crashes if spaces are involved. But just in case... delete them :)
Report
neversfelde
13 years ago
thank you very much
Report
neversfelde
13 years ago
Report
tikalix
13 years ago
To see if its running you can use: 'ps acx | grep knotify'
To test knotify use:
'dcop knotify Notify notify event "Popup-Test" "Dies ist ein Popup-Test" "" "" 16 0'
Report
neversfelde
13 years ago
Do you have any other experience with this problem?
Report
patricktrettenbrein
13 years ago
Looks like a nice peace of software to me anyway. ;)
Report
tikalix
13 years ago
Do you know any cheap austrian SMS-Provider which have an Skript-Gateway?
Hope to hear from you
Report
neversfelde
13 years ago
Thanks
Report
tikalix
13 years ago
Try: smsjoker-skript --help
Report
neversfelde
13 years ago
Would be cool to get smsjoker working out of kopete. I'll try it.
Report
tikalix
13 years ago
It works great with Kaddressbook in KDE 3.5.
If you get it working with Kopete please post your way here for the others.
Thanks
Report
tikalix
13 years ago
The config-dialog and the SMS-option in the screenshot are available in kaddressbook 3.5.x
Report