Related
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.
hi Guys!
I've bought an i-mate jasjar, and I'm selling a nokia n70.
Now the problem is how can i pass the sms from the nokia to the universal...
I don't know how i can do it. The extraction of the text is not a problem, thanks to nokia suite. I thinked that maybe some of you know how i can edit a .txt file and save it with a certain extension to make it readable for the ppc.
Or maybe i can "hack" a backup of the sms editing the text, the date of the sms and other information, but I don't know how to do it.
someone can help me?
PS i also thinked to create some email with the text and sincronize it with outlook, but the email must be "sent" from the autor of the sms and have to have the date of the sms.
PPS sorry for my english
Wouldnt it be easier to type them out on your shiny new thumb-keyboard?? test your WPM skills?
You have a choice of notes, MS Pocket Word, or messaging including email or SMS...
;-)
I know i can do it, but i don't want to make it in this way. I would like to have the possibility to read all my sms in the message board of the pda, I would like to backup all the messages in one file with sunnysoft backup manager and not to have the backup plus the folder of the txt messages...
I know I can solve the problem in a lot of ways, but I'm a little "perfectionist"
Is one of the ways I wrote possible to make?
or is there another similar way?
Vijay? Buzz??
ehm what? i don't know those programs...
Hi Man....
Try Message Saver or Message Storer on N70...extract all SMS in text format and copy it to yr Jasjar.Only thing is that u won't be getting in Inbox..but u will get the full details...viz who had sent,time amd the full SMS..seperated with the dots or dashes...
Secondly connect yr N70 to PC vi PC Suite..use file manager option and open the messages...copy them in text format with details and pass them on to yr jasjar
Thirdly u can try using Oxygen Phone Manager for Symbian Phones
I hope this helps
thank you for your suggestion, but i think i didn't explain me. The problem is not how to take out the text of the message form the sms, for this i can use the nokia suite.
I've already tried Oxygen Mobile Phone (I had the oppisite problem when I passed from the alpine to the n70 and x51v - a big big mistake), and it didn't work. Well, to say the true, i didn't remember if Oxygen can convert the sms into email or not, but the computer where it was is, for the moment, a little "detroyed"...
Damn, if I would know how the sms function on windows mobile (are in only one file, one file per sms, two or more files for every sms...) and the registry keys or other things i could put it manually by myself...
For me it's ok also the indication of how to hack a backup of the message with sunnysoft backup manager or sprite backup...
ok I have an idea: I'll do a copy of the folder windows after an Hr, then i'll do a copy of the same folder after I've received an sms. The problem is that I can't copy the folder because a lot of files are in usa. What can i do?
had the same problem moving from Nokia9500 to M5000.
Just put another, say, pay-as-you-go SIM in the Nokia and forward your messages to the SIM number for your jasjar. End of sorry story!
I can do it also in this way, but it will be nothing more than the solution of the txt file...
it can be a way...
but i would like to solve this problem. With the alpine i had the same problem, and i solved by searching the file of the sms on the nokia, open it with word and edit it with the notepad.
Now, I don't think I'm the first with this problem. So there must be a guy who know what file do I have to take and edit....
searching on this forum I've found a post of vijay wich says that the sms and the other stuff are in the file cemail.vol
But he don't says how to modify or copy it: it is a system file, and if i try to copy it wm says that this file is in use...
Someone can help me?
@philtech44
I've understood only now that you were summoning vijay and buzz
Hey,
When using txt messaging (letter recogniser) on my M5000 it keeps on suggesting words which are way misspelled. Can someone please tell the name and location of the dictionary so I can edit it (I presume its a txt file) - it's driving me mad !!
Grabbit
After searching the forums I am unable to find an answer to this one.
How do I set HTC Home middle button (SMS) to open O2 SMS Plus instead of tmail when I press it. I searched the registry and came up dry and there is no setting I see in HHC. Actually if there is a way to set O2 SMS Plus as the default SMS/MMS application for the entire BA I would prefer that. I use Gmail for email and that requires tmail so I was afraid to change it in HKLM/software/microsoft/shell/rai/MSINBOX as I presumed I would lose access to Gmail.
Thanks in advance to all who answer.
Nobody knows
Well 2 days and 118 views with no responses pretty much implies that either I was not very clear or nobody has an answer.
In case I was unclear I am looking for a way to make O2 SMS Plus the default sms reader/composer instead of the MS one (tmail). But I must still use tmail for regular email such as Gmail.
Thanks again. Even if nobody knows this I have gleaned so much information from this forum/wiki that it won't hurt my feelings any.
You've probably had this answered long ago, but I thought I'd write in for anyone else who finds this thread.
The way to edit which program gets called through HTC Home is to edit the file HTCHome.dll with a hex editor, and then re-signing the dll. Unfortunately, HTCHome.dll only uses one reference to tmail.exe for both SMS and email, so if you change one it changes both of them. So the above isn't possible, I believe...
I have tried to search with no luck. My question is when i installed touchit 4.4 i do not have any of the pop up menu's IE when making a text and i start typing the persons name or a word it never pops up suggestions. With over 200 contacts i would like to have the short option to type in 3 letters or so and select the contact from the actual Sms screen. Another thing is when i goto create new (msg) i dont get the option to do MMS or SMS. Lastly off the top of my head when i am typing words i like the option with suggestions again. Can anybody either point me to the proper settings or registry keys to re-enable these features. Also i noticed when i put touch it on my phone all of my contacts are doubled now ? how can i fix this without manually deleting them all
Tmo With wings
touch it 4.4
duprades kb fix
diabolical28 said:
I have tried to search with no luck. My question is when i installed touchit 4.4 i do not have any of the pop up menu's IE when making a text and i start typing the persons name or a word it never pops up suggestions. With over 200 contacts i would like to have the short option to type in 3 letters or so and select the contact from the actual Sms screen. Another thing is when i goto create new (msg) i dont get the option to do MMS or SMS. Lastly off the top of my head when i am typing words i like the option with suggestions again. Can anybody either point me to the proper settings or registry keys to re-enable these features. Also i noticed when i put touch it on my phone all of my contacts are doubled now ? how can i fix this without manually deleting them all
Tmo With wings
touch it 4.4
duprades kb fix
Click to expand...
Click to collapse
1. I havent seached for a fix as far as typing input for SMS recipients, I have just gotten use to clicking menu and adding someone from my contacts instead of typing there name.
2. If you put messaging on your today screen, click on the no unread messages bar and it will take you to the messaging center to pick MMS,SMS, email account.
3. I did think the wings OEM text suggestion program was great, Ive gotten use to not using it with 4.4. Tho if you use the virtual keyboard the program is still enabled.
I dont know if any of this will be a fix for you, it is alil info. There might be things you have to get use to not having with Touch, but be glad you have more than 14mb of memory.
Also, for the duplicate contacts, I would just make sure all your numbers are embedded on your sim card, then select all from your contacts and delete them. Open SIM manager from programs, select all from menu and save all to contacts.
Yes true maybe someone can find the registry keys to enable it, Speaking of registry besides the lame attempt at wiki of a good solid registry hack,tweak mod guide does anybody have a better site while i was Out of town visiting over xmas i stumbled accross a site that offered so many registry hacks but i didnt book mark it
Also a few more questions i get really mad that the Wing does not allow lets say .mid .gif etc files in MMS's is there a way to disable automatic file deletion in mms? sorry if this doesnt make much sense just worked 14 hrs.
you can just write your contact's name (or part of their name) and then go to "menu" and click on "check names".
This should be easier than going through your contacts.
jkrn2003 said:
you can just write your contact's name (or part of their name) and then go to "menu" and click on "check names".
This should be easier than going through your contacts.
Click to expand...
Click to collapse
typing a name and then going thru menu is more steps than just clicking add recipent and clicking the contact you want.
I dont know any other registry sites.
Good Luck