How do I create lnk shortcuts? - Windows Mobile Development and Hacking General

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.

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.

How do I send Batch Text Messages

How do I do batch text messaging. On my old Motorola Razr I could simply compose a message open up my contacts and then go through and check off all the names I wanted to send it to and hit send and it would send to all the people. However in the TYTN I have to add each person separately. Which takes about 10x the amount of time.
I.E. I am arranging coffee for a small group. I want to send to about 20 odd people in my contact list. Is there a button combination I can press to quickly scroll through my list and select all the people I want to send to and have it add that group to the send field without having to open and close the message each time I want to add a new person to the "To" field.
I suppose a workaround would be to add the contacts once, copy the lot of them and save it as a note, then just paste the group each time you need to send out a batch to them.
Other than that I'm not sure how you would be able to get around the single adding thing.
Cheers
Yes this is one dis-advantage in WM5 and above devices. WM2003 atleast had an easy oiption to choose contatcs.
You can ofcourse try the above workaround by copying a list of contact numbers separated by ; if you often message the same list. Else, use the predictive input to type few letters and select them! Get the point?
There have been a couple of utilities posted that will help you in your cause - both called "Group SMS" strangely enough!!
One can be found >HERE< and the other is mentioned a little further down the same thread and links to >HERE<.
Check them out and see if either fits your needs
Cheers,
Mark.
I am just flashing my radio at the moment, but thank you for the suggestions, I will check them both out and post back the results.
This forum and its members have been a life saver for me. You guys are all awesome.
Thanks again.
Happy Hacking.
Mark Crouch said:
There have been a couple of utilities posted that will help you in your cause - both called "Group SMS" strangely enough!!
One can be found >HERE< and the other is mentioned a little further down the same thread and links to >HERE<.
Check them out and see if either fits your needs
Cheers,
Mark.
Click to expand...
Click to collapse
Thank You, the one from the Asheesh guy, http://forum.xda-developers.com/showthread.php?t=306682&highlight=group+sms Worked perfect, I am able to compose my message and then just click through my contacts and select with a check box the ones I want to send to, and hit send, works perfect.
Glad I could help
You can pretty much guarantee that somewhere on this site is the one program that will make your device complete......you've just gotta be prepared to look for it - they tend to hide in some pretty obscure places
Cheers,
Mark.

Touch-it 4.4

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

app for WM6.1 sending sms

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?

Categories

Resources