Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
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
Last changelog:

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


Ratings & Comments

19 Comments

RalphMW

Use kdialog --passivepopup <text> <time> instead of dcop knotify Notify notify event that should work on kde3 and kde4

neversfelde

just wanted to try your new version, but i always got an error like this: Type: eigen falsche Art der Absenderkennung /usr/bin/smsjoker-script: line 96: : Datei oder Verzeichnis nicht gefunden what`s wrong?

tikalix

Hello, 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")

neversfelde

sorry, I' musing the newest version 2.2. Before using 0.9 everything worked fine. 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?

neversfelde

by the way i should change my password. :-)

tikalix

Jup, Better you change it. :)

tikalix

Ok, 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.

tikalix

And after your PASSWORD= and OWN_NUMBER= is a space too.... 2.2.1 hopefully fixes the crashes if spaces are involved. But just in case... delete them :)

neversfelde

everything is ok with 2.2.1. But I had to create a new configuration file in the home directory. thank you very much

neversfelde

by the way the popup after sending an sms out of kadressbook is away?

tikalix

The Popup works for me. Perhaps your knotify is buggy or not running. 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'

neversfelde

I´ve tested the smsjoker-script on a fresh kubuntu breezy system and I think it's the script that kills knotify. I found no solution to restore it. Perhaps KDE 3.5.1 will be a solution. Do you have any other experience with this problem?

patricktrettenbrein

could you also make it work with other sms-providers? I'm from austria, so I can't really user the script. :( Looks like a nice peace of software to me anyway. ;)

tikalix

I can try it. Do you know any cheap austrian SMS-Provider which have an Skript-Gateway? Hope to hear from you

neversfelde

I'd like to use it. But can you please give me a description how to use the script. Where do I have to put it. Thanks

tikalix

You have to put it in your PATH and make it executable. Then you can run it like a programm. Try: smsjoker-skript --help

neversfelde

Thanks a lot. It's working for me and I really love it. Would be cool to get smsjoker working out of kopete. I'll try it.

tikalix

Why do you want to use it with Kopete? 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

tikalix

Some people asked. The config-dialog and the SMS-option in the screenshot are available in kaddressbook 3.5.x

Pling
0 Affiliates
Details
license
version 2.4
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 20 years ago

Score 5.0