app for WM6.1 sending sms - Windows Mobile Development and Hacking General

Hi
some one can help me make one program for send predefined sms quickly
I lake some like that:
when I press a button, program send one sms for one number with button text...
I make this with Basic4ppc but I dont know how I make the functions for send sms...
some one can help me make one program for make some like that?
if I need used other program no problem...
best regards

Never used basic4ppc, but I'd guess it would be possible to open a shortcut/program... That would allow you to use something like VJPhoneTools to send the message rather than interfacing with TMail.
E.G.
Code:
"\Program Files\vijay555\VJSMS.exe" "number" -body "text"
Might be faster that way...
Alternatively, if basic4ppc can inteface with the .NET CF, you can use Microsoft.WindowsMobile.Telephony to send an SMS.
EDIT: looking at the documentation, this may be more helpful!
Code:
Sms.New1("987-654321","This is the message body.")

Hi
I try make other program how I copy from other forum but it give me an error...
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
End Sub
Sub Button1_KeyPress (key)
sms.new1 ("965542750","teste")
End Sub
I dont understand anythink of basic I only use C but basic4ppc only use basic
I dont need declair "sms.new1 "? if yes where?
regards

I have no idea with this... But, I thin maybe this:
Code:
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
Sms.new1
End Sub
Sub Button1_KeyPress (key)
Sms.new1 ("965542750","teste")
End Sub

now I have an error on "sms.new1" :s

Ah!
I think I have it!
You'll need to add the libraries...
Tools->Components->Add Dll, and then click on the "outlook.dll"
Then, Tools->Add object, and select "SMSMessage", enter a name (E.G. Sms) and then use the code as per earlier (Sms.new1 ("965542750","teste")
)

Hi
problem solved... I need put this DLL to work
thanks

filjoa said:
Hi
problem solved... I need put this DLL to work
thanks
Click to expand...
Click to collapse
No problem... And, now I know some basic4ppc!

Now that SMS while driving is finally illegal here, I made a bunch of these .LNKs
Paste this into a *.TXT file, update the TO and BODY and rename to *.LNK.
20#"\Windows\tmail.exe" -service "SMS" -to "021xxxxxxx" -body "Can I call now?"
Click to expand...
Click to collapse
No Vijay or programing skills needed
I link them to WM5NewMenu so I can easily choose the one I want.
You may want to have custom icons. Not sure how to do this, maybe do like supbro and make .EXEs then use Resource Hacker to change the icon...

evojulz said:
Now that SMS while driving is finally illegal here, I made a bunch of these .LNKs
Paste this into a *.TXT file, update the TO and BODY and rename to *.LNK.
No Vijay or programing skills needed
I link them to WM5NewMenu so I can easily choose the one I want.
You may want to have custom icons. Not sure how to do this, maybe do like supbro and make .EXEs then use Resource Hacker to change the icon...
Click to expand...
Click to collapse
I think that requires you to confirm/send the message?
It's not that difficult in basic4ppc, or in C#/VB .NET CF

If you set tmail with -sync it will automatically send the message for you without needing confirmation to send.

h4waii said:
If you set tmail with -sync it will automatically send the message for you without needing confirmation to send.
Click to expand...
Click to collapse
Does that work with SMS as well as email?

Related

Scripting a text message for London Congestion Charge

Hi there,
Is it possible (or could any kind developper!) to script a text message that would always have the same text.
Basically to pay the London Congestion Charge (£5 for driving into Central London), one needs to send a text message to the number 81099 containing the last four digits of their credit card.
As the message is always the same, I thought it might be easy to script such a message to make it easy to pay the charge.
Thanks!
isn't that easy? set up your pre set messages as the words and numbers u need so then u create a new text and click my text chose the one u want and send it!
Hi,
Thanks for your reply. I see what you mean, but that is still several clicks more than I have in mind. With a script/batch file, it would literally be a one button (through a shortcut) click which could even be assigned to a hardware button. Lazy ... maybe! I guess it all really depends on whether the function to send a text message can be accessed from the command line.
no kidding ur lazy!
You can write smssender.html which will include a javascript, that will redirect you to:
mailto:123456789 body="Send me a taxi!" - I'm not sure about the syntax...
Everytime you execute this webpage, you will only have to confirm SMS sending and close IE (I don't know if window-terminating scripts work in PocketIE) :idea:
(!)
I don't know if you're willing to pay for it, but there is a utility called Cell Profiler found here
You can pre-define an SMS to be sent to a particular number when you drive through a particular point.
Download the trial and see if it fits in with your requirements.
You can use the scripting utility called nscriptm to automate your screen taps etc. Give it a go. Its fairly simple and there is a good sample that shows you how to work with screen taps.
Thanks for your replies. I will try each and see what works best for me.
Thanks again!
XDA2-owner said:
Hi there,
Is it possible (or could any kind developper!) to script a text message that would always have the same text.
Basically to pay the London Congestion Charge (£5 for driving into Central London), one needs to send a text message to the number 81099 containing the last four digits of their credit card.
As the message is always the same, I thought it might be easy to script such a message to make it easy to pay the charge.
Thanks!
Click to expand...
Click to collapse
I wonder if I understand you correctly. In my SMS messaging on the XDAII I have something called My Text as a menychoise. The predefined messages in there can be added/amended in the Edit menu...You could do it easily there...?
Hi,
Yeah - someone mentioned that earlier. What I was really looking for though was a literally one-button way to pay my congestion charge - basically a shortcut to a batch-file/script that creates the SMS, enters the text and addresses it correctly.
Does anyone know if the mailto: command that you can use to create an e-mail would work for an SMS? If so, that would be fine as within the mailto: command you can specify the recipient (81099 in this case) and the text (credit card digits).
Thanks for all the responses.
1. PPCs don't make any difference between e-mails and short messages - you have same dialog, same options and same mailto: command...
2. JavaScript in HTML page is probably the fastest way to perform actions you need (if you dont want to write it in C++ of coz!)
3. If I'm not too drunk today I'll have probably posted an example of such page by tomorrow - I finished with school today, so I have something to celebrate! 8)
Would be great to see a javascript sample if you could be bothered/sober enough to put one together.
Thanks very much indeed.
So, that's what it looks like:
<html><body>
<script language="JavaScript">
window.location="mailto:81099?body=Here's my creditcard number!"
</script>
</body></html>
mailto: - where
body: - what
You can also add subject: (don't forget to divide it with "?" :!: )
It looks like Pocket IE does not support close() function. Can anyone confirm? Any way, even if you will have to close IE manually, executing this file (possibly from Today screen) and pressing SEND is still faster than going to New>SMS>MyText>choose>enter number>confirm... 8)
That worked just great! Thank you so much.
I used the PHM Pocket PC PowerToys's TrayLaunch program to put a shortcut to the .htm file onto the bottom bar of the Today screen.
I still need to press the Send button (is there a way to automate that?) and close IE but it's still MUCH quicker than doing it through a manual SMS.
Thanks again for all comments and help.
Compose new text message from shortcut
Hi there,
I'm a total newbie (NOT a programmer at all), just a Qtek 9090 addict. I 've been looking for something similar to your request: I wanted a way to go straight to the "compose text message" window from the today screen or a hardware button. I finally found a way to do this (maybe not the best way, but I can't find a site that lists all the possible parameters for tmail.exe).
If you're still looking for a better way to automatically launch your message, try this:
Copy the "Messaging" shortcut from Windows/Start Menu and put the copy somewhere you can work on it. Rename it to something like "London Congestion".
If you have Resco file explorer on your device, select your new shortcut and view its properties. On the second tab ("shortcut"), you should see the line "\Windows\tmail.exe". Change it to this:
"\Windows\tmail.exe" -service "text" -to "81099" -body "your credit card number"
Then tap "ok".
Move your new shortcut to Windows/Start Menu/Programs. Now you should be able to access it with your Today screen launcher or Button launcher.
If you don't have Resco file explorer, copy your shortcut to your desktop and open it with Notepad. You'll see something like 43#"\Windows\tmail.exe"; just leave the number at the front, make the adjustments I described and save the file. Then put it in Windows/Start Menu/Programs on your device.
I tested this and it worked for me, so I hope it does for you too!
To simply go to the "compose" window from a shortcut, I use this line:
"\Windows\tmail.exe" -service "text" -to ""
Robrecht.
Thanks a lot Robrecht,
I was actually going to re-open this issue because I have a Blueangel now - and I don't know if it's because it is WM2003 Second Edition or not, but the javascript that was written for me in the above post no longer works, so I needed a new method.
A very timely reply and I will try it over the weekend.
Thanks a lot,
Jimmy
I think you should add "I hope it chokes you bunch of rip off bastards" We pay road tax, we pay huge tax on fuel, we sit for hours in jams and they want money :?:
Well, XDA2-owner, you're very welcome!!!
I have a Blue Angel too and it works for me, except....... I discovered a flaw.
I thought the
-service "text"
parameter made sure the automatically created message was always a text (SMS) message, but instead it turns out that the format of the new message (SMS, e-mail, MMS...) changes according to the last viewed folder in Pocket Outlook. So if you were checking your e-mail account just before you use my shortcut, it wil create an e-mail instead of a text message.
This sucks! And I was so happy I'd been able to help someone!
Does anyone know a way to make sure the new message is always a text message?
Hi again,
This issue was one I was also having with the Javascript - I got used to the fact that if I was using the e-mail part of Messaging, I would switch it back to SMS before closing it.
One issue I am having though - and it might just be to do with my setup - is that when I run the shortcut from Start-->Programs-->Congestion, it works fine. When I try and launch it from my Today screen though, using BatteryPackPro, it doesn't seem to create the text message, and just stays on the Today screen.
Any ideas?
Thanks again for your help and ideas.

SMS: contacts group, distribution list, categories... NO ?

I can't imagine I just got the latest toy and the whole thing made a step backwards...
I cannot send an SMS to a specific group of people among my contacts if not choosing each of them one by one each time...
I have many different group of people I send SMS' to and I was used to have lists on SmartSMS while using a SmartPhone and also distribution lists and categories on Outlook while at the desk...
With Wizard it seems there are no solutions... I have tried almost all of the trial SMS managers out there, but it seems I have no luck...
I've spent the last two days looking for a solution (either within WM5 or as an addon...). No luck...
Do you have any hint ?
Is there anyone wishing to develop something like above explained ?
Thank you very much...
Best regards...
Mix
Yeah, im also intressted in sending sms to a group.
Me too, plz let me know if you find some solution...
for a OS of such quality it is an appalling lapse by MS
We should all email them a support question and ask them if it will be included in the next release??
Re: for a OS of such quality it is an appalling lapse by MS
peteborota said:
We should all email them a support question and ask them if it will be included in the next release??
Click to expand...
Click to collapse
I've tried a little bit to use InfoSharp to send SMS to contacts within a category (fortunately there is such chance on this small and nice program...). The program itself is not yet "finished" but it does the job...
I'll post my suggestion to the developer, hoping that growing, it will become better.
About sending our comments to Microsoft: well, I personally think it would be nice, but it would be nicer if our suggestions could be "understood" in any way. It seems to me this rarely happens.
Not to mention the function I'm looking for was present in WM2003SE !!!
Maybe too many shrimps are eaten within MS... ;-)
Ciao
Mix
P.S. Actually ANY SUGGESTION on this matter would help, as it seems there still is not solution...
Hi guys have found an app for sending sms by category group
The app is called 'simplysms' and is developed by a company called visual IT.
It's not windows 5 compatible at the moment although I am waiting for a response from the developers.
I'll keep people posted.
Website: www.visualit.co.uk
SimplySMS mobile 5 will be released in the new year.
good news
Re: Hi guys have found an app for sending sms by category gr
peteborota said:
The app is called 'simplysms' and is developed by a company called visual IT.
It's not windows 5 compatible at the moment although I am waiting for a response from the developers.
I'll keep people posted.
Website: www.visualit.co.uk
Click to expand...
Click to collapse
Is seems they have no plans developing any WM5 version of such program, otherwise something would have appeared on their website...
I think then there is no other option to keep a Nokia phone in my pocket too... but then I don't need an HTC pocket PC... I can run with another one with no phone functions as I did in the past...
Any other news ???
Ciao
It is very helpful utility if we can find it
if we can have such an application it will be very greate
SimplySMS for windows 5 will be launched in March
Had an email from Visualit the makers of simplysms. They will be releasing a windows mobile 5 version of the software in March this year.
It will allow users to send a text to a outlook category of contacts.
Hold on it's round the corner.
Re: SimplySMS for windows 5 will be launched in March
peteborota said:
Had an email from Visualit the makers of simplysms. They will be releasing a windows mobile 5 version of the software in March this year.
It will allow users to send a text to a outlook category of contacts.
Hold on it's round the corner.
Click to expand...
Click to collapse
march ? March ? MARCH ???
It's on next century !!! I'll have switched to another phone by that date...
I'll have to wait then, but I'm looking around for another solution... pretty tired of hand-choosing between my contacts...
Thanks a lot anyway... the fault is not yours... it's MS' first of all...
Ciao
You could create a shortcut with the recipients pre-listed. E.g.
Text message colleagues.lnk
32#"tmail.exe" -to "06xxxxxxx; 06xxxxxxx; 06xxxxxxx" -service ""
Will prompt the messaging app with a new message. If you last used Hotmail/whatever, though - it won't start a new text message, but a new e-mail/whatever.
If you want to be able to pick the account, use instead:
32#"tmail.exe" -to "06xxxxxxx; 06xxxxxxx; 06xxxxxxx"
If you want to add a default message, use :
32#"tmail.exe" -to "06xxxxxxx; 06xxxxxxx; 06xxxxxxx" -body "Text here"
-----
You can also use vijay555's VJSMS to always send a text message, regardless of what account you're in.
32#"\Program Files\vijay555\VJSMS.exe" "06xxxxxxx; 06xxxxxxx; 06xxxxxxx" -body "Text here"
http://www.vijay555.com/index.php?Releases:VJPhoneTools
-----
Essentially, all the above are more like 'templates' than they are group text message tools. If you have a new person you want to add to a 'group', you'll have to manually adjust the shortcut.
On the other hand - it's available now, and freely.
ZeBoxx said:
You could create a shortcut with the recipients pre-listed. E.g.
Text message colleagues.lnk
32#"tmail.exe" -to "06xxxxxxx; 06xxxxxxx; 06xxxxxxx" -service ""
[...omissis...]
Essentially, all the above are more like 'templates' than they are group text message tools. If you have a new person you want to add to a 'group', you'll have to manually adjust the shortcut.
On the other hand - it's available now, and freely.
Click to expand...
Click to collapse
Thank you very much for the helpful hint... the main problem anyway is always the same: I use distribution lists so I don't have to bother on updates of contacts details. I just keep them updated and I have the result.
There is anyway a major problem on the hint you just gave me: line limitation...
WM5 accepts for example multiple recipients on the "To:" field but the problem is I still do not know which is the maximum number (I suppose it depends on how long the "To:" field can be, maybe max 255 char.).
The same problem applies to your hint: I suppose there is still the limitation of 255 chars... or not ? ;-)
Thanks anyway.
yeah, I have no idea what the maximum length is
Of course, for Dutch numbers, 10 chars length, 11 if I include that semicolon, that's still 25 numbers Sending an SMS to 25 people should be more than enough for me
You could also write a mort script to call VJSMSSend a gazillion times :>
The former issue is the bigger one - I hate updating lists, myself. There shouldn't be anything holding developers back from implementing mailing lists, using info from the contacts POOM, and setting up SMS's (setting up and sending an SMS is a MSDN example, so.. pff)
I'm no developer, though - I just managed to get "Hello world" running a few days ago, and then I got sick - so no long computer times for me
SMS Distribution Lists
Having Upgraded to a qtek 9100 from a nokia 9300 communicator for better windows/outlook compatibility etc, I have been searching for something to fill the gap for SMS Distribtion lists.
I understand from reading other posts than previous versions of Windows mobile did offer this, aswell as being able to play different ringtones depending on chich caller group a call was originating from.
Has there been any new information on SMS Distribution lists for the HTC Wizard phones?
Also, is there any way to actually just select "send new txt message" rather than go to messaging and browse to the correct account/ folder to achieve this?
Regards
Jass
Re: SMS Distribution Lists
jasvinder said:
Having Upgraded to a qtek 9100 from a nokia 9300 communicator for better windows/outlook compatibility etc, I have been searching for something to fill the gap for SMS Distribtion lists.
Click to expand...
Click to collapse
Welcome in the "unsatisfied club"...
I understand from reading other posts than previous versions of Windows mobile did offer this, aswell as being able to play different ringtones depending on chich caller group a call was originating from.
Click to expand...
Click to collapse
I have never seen, nor in previous versions, a real "group" as we were used with Nokias...
Some thirdy party programs do that anyway (and it's good enough such programs exists...).
Has there been any new information on SMS Distribution lists for the HTC Wizard phones?
Click to expand...
Click to collapse
Unfortunately, no... I have been looking around for a lot of time and finally I found a solution: I kept a Nokia 6230 in my bag, just for this kind of use...
I know, it's stupid... but much more less stupid than preventing me using this feature on a WM5 device !!!
Also, is there any way to actually just select "send new txt message" rather than go to messaging and browse to the correct account/ folder to achieve this?
Click to expand...
Click to collapse
Different approach: select the contact you need to send the SMS to and select "Send new SMS" from the options. You'll have the editor opening with the "To:" field already filled...
Hope this helps a little...
Ciao
Re: SMS Distribution Lists
jasvinder said:
Also, is there any way to actually just select "send new txt message" rather than go to messaging and browse to the correct account/ folder to achieve this?
Click to expand...
Click to collapse
Download the attached file, extract the included shortcut to your PPC, and run it - see if that works for you. If it does, you'll note that there's "to" and "body" fields that you can fill out if you want (e.g. a pre-composed message to your boss saying that you'll be on your lunch break)
For some more advanced SMS stuff, try VJPhoneTools:
http://www.vijay555.com/index.php?Releases:VJPhoneTools
Or one of the many commercial SMS apps
The download when unzipped only contains a shortcut which is not valid.
CAn we download it from your website?
it's supposed to only contain a shortcut
Code:
32#windows\tmail.exe -service "SMS" -to "" -body ""
If you don't have a "tmail.exe" in your device's "Windows" folder, then indeed it's probably invalid. Try searching for that file on your device, see if it's elsewhere. If it's not, or you can't find it, just use one of VJ's tools instead
Group sms
O2SMSPlus is out and about, it's for wm5 and does group sms.

Class 0 sms sending?

Hi!
I'm asking here if there is around a simple but valid flash sms sender, with GUI and access of outlook's phonebook... possibly with anonymous sender...
Searched a lot on the internet but found too crappy softwares...
cheers, Moccij
Hi MocciJ,
Have you tried Vijay555's tool for this type of sms? I know it's capable, but I'm unsure about the gui & contact integration part you want. You can find it @ www.vijay555.com
Regards, M
Already seen it..
But I'm looking to something qith contacts and some sort of GUI, maybe only for typing in the mex, the phone number from the contacts, and a send button..
Another app I've seen includes this minimal GUI, but no contacts and no copy and paste option..
Maybe I'm asking too much if I want it to integrate with outlook? Is it possible?
Many thanks, MocciJ
I'm sure it can be done, this integration with outlook. TomTom has it's added its 'contact navigation' option & Richard Owens the 'file as first last' option.
The question will be who's going to do it. Try to contact Vijay maybe he can do it for you, although I know he got a lot of stuff on his head lately.
M
Will contact him
Flashy messages rulez!! :lol:
MocciJ
Guys, Class 0 requires sending through a custom app, it's not a simple switch you check within outlook. As such, an Outlook plugin can grab the details of the contact, perhaps, but will then have to jump into its own GUI to do the text message creation and sending etc.
It's feasible, but just a pain in the backside to do GUIs right now...
However, I'm thinking about doing an app that will hopefully integrate such features at some point after a couple of more urgent things first...
V
Vijay,
By no means I'm pushing or rushing you to create this app. The general idea you sketch is just what I had in mind as the solution.
off topic: I see you moved to a new place :-( Hope everything is still ok with the family, especially with Alexander.
Have to get the kids to school & write you laterrrr,
M
an interface for sending class 0 sms would be very cool. Ive made up a basic interface that uses vijays program but its pretty crappy, just two boxs for text and the phone number and a send button :lol: thats about as far as my vb skills go!
Well, I haven't VB skills at all :wink:
Ryanmt:
I've tried carty flash messenger, which has the same GUI as your app, but no paste and phonebook if the app u compiled has cut and paste options at least, then we're at a good point (since u can copy the number from the phonebook and paste into the program ) can u post the app here?
Cheers, MocciJ
just hunting on the net to find some info on accessing contacts
who'd ahve thought they would make it so hard to add a paste option :S
if anybody could give me some pointers ide be willing to have a go at making it all work. But as it stands i could write it easily in java but dont understand the tutorials for C#
glad to see that there are upgrades... flashy sms are pretty cool... Must thank Ryanmt..
Best regards, MocciJ
Have you tried Jgui A.SMS ? It can send class0 smses.
hmm, I wanted a some more simplier app, just as Ryanmt thought.. But in any case I'll try it :wink:
MocciJ
I saw one in the msdn site
you can change in the provider options to change betweent classes
the example there sends in class 0
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfsendsms.asp

How do I create lnk shortcuts?

Hi all,
First post! Just got very interested in customising my HTC Touch WM6...been playing with spb pocketplus. Like the idea of putting shortcuts where I want them to what I want. But wanted to take it further...
For example I found this:
Create a shorcut, ex: NewSMS.lnk, then put this line in:
30#windows\tmail.exe -service "SMS" -to "" -body ""
writting by Cloudyfa in http://forum.xda-developers.com/showthread.php?t=320448
I renamed the .txt to .lnk and stuck it on my phone and it worked perfectly! What i would like to learn is how to create my own shortcuts, i.e. what does all the text mean in the lnk? the 30# and -service etc...
Hope its not a stupid question or maybe its one that cant really be answered simply..?
Cheers in advance,
Jon
The example you gave in your post can be broken down as follows:
Code:
30# - total length of the string following the "#"
(it's not strictly enforced - you could put "0#" and it would still work!!)
windows\tmail.exe - the path to the application followed by any parameters...
-service "SMS" - the mail service; in this case, text messages
-to "" - set the recipient to blank
-body "" - set the body of the message to blank
The "-service" parameter could also be set to "MMS" or to the name of another mail type account you may have set up on your phone; e.g. "Google" or "Yahoo" etc... You could also set the "To" parameter to someone's name if you wanted to create a shortcut for sending a message to a particular person.
Creating shortcuts is fun - the difficult bit is working out what parameters are available and what format they take! There is a post on creating shortcuts to the "control panel applets" - i.e. the stuff in Start | Settings - you can find it at this page. Good for more examples
Hope this helps,
Mark.
Hi Mark,
Thanks for that, it kind of looked like that was how it was working... like you say though, the question is knowin what format the parameters are to be put in.
For example, on my phone I have a program called "Patiences" when opened, within the program i could choose from 3 different variations of game. How would I go about finding out the right parameters to create a shortcut that would start the program and choose the right game?
Also, modifiying the SMS one, if it was to go to a specific person, should i enter the number in the "to" bit or can it refer by say name to an entry in my address book?
Cheers!!
Jon
jcr1 said:
For example, on my phone I have a program called "Patiences" when opened, within the program i could choose from 3 different variations of game. How would I go about finding out the right parameters to create a shortcut that would start the program and choose the right game?
Click to expand...
Click to collapse
Now you're starting to get technical .....there may be an easy way to get a list of available parameters, probably using the debugger in Visual Studio or something - not something I've ever used! My own method would involve opening the .EXE file with a text editor and searching for recognisable strings; then I would employ a great deal of trial and error to see if I could get it to work
jcr1 said:
Also, modifiying the SMS one, if it was to go to a specific person, should i enter the number in the "to" bit or can it refer by say name to an entry in my address book?
Click to expand...
Click to collapse
The SMS application will resolve whatever name you enter before the message is sent; as long as the name you enter in your .lnk file contains enough characters to make it unique (e.g "John How" would match "John Howard" and "John Howlett", but "John Howl" would get the one you want!!).
Hope this helps - at the end of the day, there's nothing more satisfying than figuring something out yourself (and sharing it with the community if it's worth sharing )....there's so much crap on the TV, I'd much rather spend an hour or two (or six!) messing about with something on my phone, getting it just the way I want it
Enjoy!
Mark.
Hi Mark,
Thanks for the help! Great advice and I shall definately be taking a look at what you suggested. Thats all I needed was some prompting as to where to start looking, as you say, it is much more satisfying working things out for yourself than just getting someone else to do it.
Cheers again!
OK next question, how do I get the tmail.exe from my phone onto my pc so I can have a look at it in notepad? I can find it by browsing through my phone from my laptop but I cannot copy it over? Access denied!
On the phone can't change the properties so it isn't read only or anything?
please help.
Cheers
Now there's a question!!
I've just tried to copy the file myself (using Total Commander V3 Beta - from this page) and it fails for me.....
I used to be able to do it on my Hermes/TyTn, which was unlocked/SuperCID - but now that I have a stock ROM on my Kaiser/TyTn II, it seems that it's no longer possible. I've yet to SuperCID my Kaiser as I've been too busy with work to get involved in flashing/trashing it but after this weekend I may well have a go.
Not sure who else is reading this topic, but if a ROM cook or a more worldly wise user is able to verify my thinking, then that should help you/me/us in our quest to get Tmail.exe off the damn phone and onto the PC!!!
I'll check back/post back if I come across the answer in the meantime. BTW, what device are you using - you don't have a signature that tells me
Cheers,
Mark.
Hopefully now my sig is working... I have a HTC Touch with Windows Mobile.
I'm new to this so I've no idea what you mean by locked ROMs etc.
Either way, thanks very much for your help.

message2reg

I've been digging around and trying numerous examples of the message2reg.exe utility. I've found examples from ThrottleLauncher, BatteryStatus, WAD... they all seem to include the same set of files and mortscripts. It seems like the shortcuts included should cause the message2reg.exe to run and put data into the registry at ...
SMS_text = RegRead("HKLM","Software\ThrottleLauncher\Messaging\SMS","Subject")
I have all the files in \Program Files\Message2Reg\
The mortscript writes then deletes temporary registry entries in noted location above. Then it does....
RunWait("\Program Files\Message2Reg\Message2Reg.exe","SMS Refresh")
This should put the data into registry but nothing ever shows.
Also tried ...
RunWait("\Program Files\Message2Reg\Message2Reg.exe","Text Messages Refresh")
because "Text Messages" is what shows in my Messaging application (not SMS).
Eventually I want to use mortscript to get weather from google via SMS, then use message2reg to parse the SMS.
Any tips?
itesla said:
I've been digging around and trying numerous examples of the message2reg.exe utility. I've found examples from ThrottleLauncher, BatteryStatus, WAD... they all seem to include the same set of files and mortscripts. It seems like the shortcuts included should cause the message2reg.exe to run and put data into the registry at ...
SMS_text = RegRead("HKLM","Software\ThrottleLauncher\Messaging\SMS","Subject")
I have all the files in \Program Files\Message2Reg\
The mortscript writes then deletes temporary registry entries in noted location above. Then it does....
RunWait("\Program Files\Message2Reg\Message2Reg.exe","SMS Refresh")
This should put the data into registry but nothing ever shows.
Also tried ...
RunWait("\Program Files\Message2Reg\Message2Reg.exe","Text Messages Refresh")
because "Text Messages" is what shows in my Messaging application (not SMS).
Eventually I want to use mortscript to get weather from google via SMS, then use message2reg to parse the SMS.
Any tips?
Click to expand...
Click to collapse
..why don't u use regwritestring of mortscript instead of message2reg?
Let mortscript itself write the datas into registry.
How does mortscript know what to write into registry? The whole point of message2reg is to read the SMS text "behind the scenes" and put in the registry for programs like mortscript / rlotday / throttlelauncher to access. I haven't used MortScript to switch windows, copy text from window, etc.... That seems really messy and error prone, plus there are a lot of messages to repeat through.
Or can MortScript read directly from the WM messaging program now in a new version or something?
...hm I don't really know what message2reg exactly does. But mortscript is not able to communicate with the wm messaging interface.
How does message2reg know what to write in the registry? Sorry, but as i mentioned before I don't know message2reg.
But have a look here: http://forum.xda-developers.com/showthread.php?t=479076&page=3
You are not alone :-(
Well, I haven't gotten it working yet... My impression is that it writes numerous entries into the mentioned registry key (entries for subject, sender, date, body) for the most recent message in the Messaging "folder". You tell message2reg which folder to read from as a command line parameter as well as Refresh...
RunWait("\Program Files\Message2Reg\Message2Reg.exe","SMS Refresh")
RunWait("\Program Files\Message2Reg\Message2Reg.exe","Text Messages Refresh")
If you want to see the information for the next oldest message, your execute message2reg again with the "Next" parameter, and then the existing registries entries are over-written with the 2nd SMS message...
RunWait("\Program Files\Message2Reg\Message2Reg.exe","SMS Next")
cyron_at said:
But have a look here: http://forum.xda-developers.com/showthread.php?t=479076&page=3
You are not alone :-(
Click to expand...
Click to collapse
That is one of the many I read through Some people have it working so there must be some trick or missing parameter or something
Anyone get this working? Is it OS issue (WM5)?
I used it successfully in my Multiplugin:
http://forum.xda-developers.com/showthread.php?t=523015
You can see the commands I used inside.
itesla said:
I've been digging around and trying numerous examples of the message2reg.exe utility. I've found examples from ThrottleLauncher, BatteryStatus, WAD... they all seem to include the same set of files and mortscripts. It seems like the shortcuts included should cause the message2reg.exe to run and put data into the registry at ...
SMS_text = RegRead("HKLM","Software\ThrottleLauncher\Messaging\SMS","Subject")
I have all the files in \Program Files\Message2Reg\
The mortscript writes then deletes temporary registry entries in noted location above. Then it does....
RunWait("\Program Files\Message2Reg\Message2Reg.exe","SMS Refresh")
This should put the data into registry but nothing ever shows.
Also tried ...
RunWait("\Program Files\Message2Reg\Message2Reg.exe","Text Messages Refresh")
because "Text Messages" is what shows in my Messaging application (not SMS).
Eventually I want to use mortscript to get weather from google via SMS, then use message2reg to parse the SMS.
Any tips?
Click to expand...
Click to collapse
you're wrong with parameters of message2reg
they are : Next , Previous , Refresh , Reply , Details or Detail (don't remember)
Hi,
I was wondering if Message2Reg was able to get email body and/or message dates.
I successfully configured it to work with SMS and ActiveSync email but I cannot find the informations above. Any advise ?
Thank you !
This is the only info I found on this matter:
Message2Reg. Save to registry the message from the account with the number specified (to HKLM/ThrottleLauncher/Messaging/#AccountName#). Params: "account name [SMS/ActiveSync/...]" "Action [Next/Previous/Refresh/Details/Reply/Exit]". This little app is based on the MAPI api suplied here: http://www.codeproject.com/KB/mobile/PocketPCandSmartphone.aspx. If you want the sourcode of Message2Reg send me a mail and I'll send it in cumpliment of the BSD license.
Click to expand...
Click to collapse
From: http://www.throttlelauncher.com/portal/Downloads/ThrottleLauncher/092beta
damn i've really lost my mind trying to get this thing to work, seems like it does not want to wok on my device........somebody please help
i am lost at how your trying to run it.
all it does is write to the registry, you then need something to show the new reg keys.
example WAD can show REG text.

Categories

Resources