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.
I installed Opera and said yes to the change default browser to Opera.
I have another application which used to open IE and send it a URL, it is now broken and i need it to work again! How can i change back the default browser to be IE?
Also i tried to unistall Opera. It failed and is still there, but the entry no longer appears in the remove programs list! How can i get it unistalled?
Thanks in advance for all help!
Found a way to fix this myself, but not until after i had to call off the demo i was scheduled to do.
hi, anybody hav softwr to send sms to multiple recepients or groups or can u guide me where to get it.----for imate jam.
thanx in advance.
Already built in, you only need to type in the first few letters of your contacts in the To: field when composing new message, then click on the found numbers, then just put semi colon ";" after each recipients to add new recipients.
sms to a group of contacts
is it possible to send sms to a group of contacts- through any softwares?? pls help
o2smsplus can do what you want. it can even choose which entries among the group of contacts you do not want to send the sms to. there's a cab file floating somewhere in this forum.
raymonds said:
o2smsplus can do what you want. it can even choose which entries among the group of contacts you do not want to send the sms to. there's a cab file floating somewhere in this forum.
Click to expand...
Click to collapse
could u give a link caz i didnt find after an hour of painful searching....can it be downloaded via o2 connect?
i'm sorry i just read that the cab file won't work for wm2003... they said it's intended only for wm5 devices.
http://forum.xda-developers.com/showthread.php?t=264584&highlight=o2smsplus
O2 sms plus for imate jam??
through some of links I found that O2 sms plus is availble only with O2 as inbuilt software and not availble as a third party download. If any links availble for imate jam pls send.
and thanx for the suggestions.
For WM2003!
arp said:
For WM2003!
Click to expand...
Click to collapse
hi arp...
i've installed the o2 sms but when i try to tap it, the message 'O2SMSPlus' is not a valid Pocket PC application...
am i missing something, or do i need to install other software prior to this...
thanks...
websinister said:
hi arp...
i've installed the o2 sms but when i try to tap it, the message 'O2SMSPlus' is not a valid Pocket PC application...
am i missing something, or do i need to install other software prior to this...
thanks...
Click to expand...
Click to collapse
use tango keyboard and canned message option instead works for me
Hi guys! Hope eveyone had a pleasant new year's celebration.
Anyway, I was hoping that somebody could either post the link or the file of the modified 02 SMS Plus that will run on any WM5 device. I have a WM5 device but unfortunately isn't from 02 and would love to have its functionality.
I have searched this forum for HOURS and cannot seem to find it.
Cheers in advance!
O2sms woks well onWM5 devices!
tesna said:
Already built in, you only need to type in the first few letters of your contacts in the To: field when composing new message, then click on the found numbers, then just put semi colon ";" after each recipients to add new recipients.
Click to expand...
Click to collapse
What a shame, using xda 2s for year then u alighten me, now i know..... thanks!
Does anybody know what SmsListener_log.txt in My Device/Temp is? It keeps a log of all text messages even after they are cleared from the deleted items. Can it be disabled?
Heh, I also just found this file and wondered what it was from and why it's there.
Any ideas?
Not on mine. 1.66 stock.
Not on mine either, Stock 1.66.
Hmm, that is weird, I have it too.
Running the Stock USA Tmobile ROM. Definitely seems like it's Sense related since it's written is some type of code/interface.
It doesn't really bother me, though i could see why someone would be upset by it.
I wonder what would happen if someone were to delete the file.....
I have it too, 12.5MBs.
I am running a stock T-Mobile USA rom. I have deleted the file, but it reappears when there are new text messages.
No big deal, but if I delete a message, it would be nice if it were really deleted.
Hehe, I'm wondering what T-Mobile was thinking when they implemented this in their ROM... "Lets just store every SMS in a separate file" ..?
Sounds to me like a conspiration...
cant someone try to write a "lets bomb usa" text, make up some plans and send it to your own phone, then wait a few minutes and see if the feds shows up? lol
I found a way to disable this log:
1. Open the registry editor and navigate to HKLM\Software\Microsoft\Inbox\Svc\SMS\Rules.
2. Delete the following value: {54F38CD4-B778-28BA-6F63-2D942AFCCD7D}.
3. Soft-reset.
Notes:
This GUID represents a CLSID for the messaging rules client in \Windows\SmsListener.dll. I do not know what exactly it does, nor do I know what other messaging rules clients referenced in "HKLM\Software\Microsoft\Inbox\Svc\SMS\Rules" do.
Messaging rules client can move, modify or even delete the incoming message without owner's knowledge. It could be that TMO included this SmsListener.dll to be able to control our phones through SMS. Or may be I'm just paranoid. It would be really nice if someone could reverse engineer this dll to see what it really can do in certain circumstances.
Thanks, deleted entry, will see how it goes.
Not on mine, O2 1.43 Rom
audin said:
cant someone try to write a "lets bomb usa" text, make up some plans and send it to your own phone, then wait a few minutes and see if the feds shows up? lol
Click to expand...
Click to collapse
maybe they will knock on our doors here in norway for finding out about their conspiracy and stuff...
bare å løpe over til sverige eller noe nå!! hehe...
I have deleted the registry entry as mentioned above. So far so good-no log of text messages taking up room.
Is there some sort of temp file cleaner for the HD2, similar to CCleaner for a desktop?
Thanks for the help.
Nobody felt the need to ask your service provider why the hell they're logging SMS to a seperate file?
good registry find
Aterlatus said:
Nobody felt the need to ask your service provider why the hell they're logging SMS to a seperate file?
Click to expand...
Click to collapse
Do you think they will really be willing to tell you that even if you're able to reach someone who knows?
Interesting. I don't have this log either.
i have it along with a screenshot (have no idea why the phone takes random screenshots)...
E.g. When you type the password, and press the messaging button it would normally go to WM messages.
How to disassociate the lockscreen going to slideview? Anyone know?
When I unlock my phone it goes to Today, Tilewave, or SPB Home. I never get slideview
same problem
when i use to go to message it goes to slide view
somebody help
Hello!
I searched in the Registry and I found an Entry there perhaps is interessting.
Search HKLM\Software\Microsoft\Shell\Lockscreen\Notification
here you see the buttons in the Lockscreen.
in SMS you see an Reg-Entry "Application Command Line". When you open this, you see the Entry for SlideView.
Perhaps, you can edit this for the ms sms prog
With best reguards
test this
this cab file may solve this problem
test it and tell me about its result
Hello,
I'd tested it, but for me, it doesn't work.
With best reguards
In:
HKLM\Software\Microsoft\Shell\Lockscreen\Notification\SMS\Application Command Line
write:
tmail.exe -service "SMS"
and, after touching and then sliding the lockscreen, the X2 will open the Inbox.
Thanks, it works.
Do you know the command to go directly to the new Message?
I dont know.
And today, after opening slideview because a missed call, the value of "application command line" changed and now is the same as the original (it opens slideview because an sms)!!!!!!!!!
Jazziephal said:
Thanks, it works.
Do you know the command to go directly to the new Message?
Click to expand...
Click to collapse
please try attached. it goes to typing new sms
please help tp delete double post, i try to upload but it said invalid... i need to rar it first. sorry.
sorry i missed the file...
None of the method works Permanently
the time You soft reset or re-start the device, the phone itself reset the registery to the default i.e. to 'slideview'.