Extract SMS using command line parameters

For user who dont speak german please use this part of my forum
Antworten
Lyrad
Beiträge: 6
Registriert: Sa 12. Sep 2009, 08:49

Extract SMS using command line parameters

Beitrag von Lyrad »

I read from FAQ section: Command line parameters which helps me alot in the things I wanted to do.

Now, I have this two (2) Questions:
1. Is there a command line to run MyPhoneExporer in Hidden mode?

2. Is there a command line to detect and extract new/unread messages?

Hope you will help me on this one. Thank you very much. :D
FJ
Site Admin
Beiträge: 32117
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

1) No
2) Yes, take a look at the bottom of this FAQ. Maybe you need the Google-Translator cause this FAQ is german
Lyrad
Beiträge: 6
Registriert: Sa 12. Sep 2009, 08:49

Beitrag von Lyrad »

Thank you for the answer... Is there anyone here willing to translate German to English for me? :wink:

Ebenfalls neu in v1.6:
Die Möglichkeit von EventHandlern. Mit dieser Methode ist es z.B.: möglich ein SMS-Gateway zu bauen. Der Pfad zur Datei wird mit optionalen Parametern in der general.ini angegeben. Dadurch kann ein externes Programm oder ein Script angesteuert werden.
I hope we have a German language subject in our school here in Philippines.
:D
Zuletzt geändert von Lyrad am Mi 16. Sep 2009, 06:37, insgesamt 1-mal geändert.
FJ
Site Admin
Beiträge: 32117
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

Its quite easy. Open the file general.ini and add this lines:

Code: Alles auswählen

[EventHandlers]
OnIncomingMessage=<path to you script/application> text="%text" number="%number"
Everytime when a message comes in the mPE will execute the script, %text and %number are replaced then with dynamic values
Lyrad
Beiträge: 6
Registriert: Sa 12. Sep 2009, 08:49

Beitrag von Lyrad »

Thank you... could you give me an example of a script?
weinbi
Moderator
Beiträge: 929
Registriert: Mo 11. Jun 2007, 11:25
Wohnort: Kärnten
Kontaktdaten:

Beitrag von weinbi »

This depend on what you want to do.
Usually when a user needs this, he wants e.g. to start another application on an incoming message.

You can write a .vbs (Visual Basic Script) to do specific tasks.
English FAQ || Deutsche FAQ
----------------------------------
HTC Desire
FJ
Site Admin
Beiträge: 32117
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

If you want to implement handlers and new functions then you should know how to work with them. If you don't have this knowledge its better you let it be.
Antworten