Help - Search - Member List - Calendar
Full Version: SMS startup in background
PPCSG > Power Up Your Devices > Tips & Tricks
thescum
Thanks to mortscript,
we can now run our SMS or messaging app almost immediately, even after soft-resets.

The script runs the messaging app when the system startsup after soft-resets, it waits a finite period of time before minimizing. Depending on the system's speed, you can make it minize faster, however, the default setting as attached seems to work the best.

Installation
The cab contains= The script + mortscript.exe + readme.txt + commands.txt + lnk
= 82kb
The readme and commands.txt use up 42kb.
The exe version is 3.1 and can be downloaded separately.
Have taken the liberty to pack the exe, so that it'll take up as little space as possible.

Limitations.
Thanks to Ionized there are no known limitations with 0.1.

(Previously:Limitations with the written script is that you require to have the messaging app in the SMS screen before you close the app, power off (for 15sec system writeback) and soft-reset. Else you'll get an error message. Just click the ok, and minimize by pressing the red phone key and you'll be back as good.)

Also should you close the app properly, it will still take a noticeable period of time, the next time you want to access your SMSes. This is assuming that the process happens between soft-resets.

Tests
Atom Pure. Dopod 818pro. Dopod 838pro.


Mortscipt.
Its a freeware macro or batch file reader that can automate many tasks. Have so far done another script that will activate bluetooth activesync correctly with a script.

For more infor, click HERE


Special Mention
to Gohyc for his contributions and help in testing

Disclaimer
Please please do backup before trying this. Though the script's safe, i'd hate to make you be sorry ;)

*EDIT*
Ver 0.1 Thanks to Ionized.
bongsu3
Works like a charm! Thanks.
Was looking for something like this a long time. :)
rahelio
thx for sharing
opboy
I have tried and works fine Thanks :)
zenkinz
er .. what's this use for?
thescum
This script is meant to startup with the messaging app running in the background then minimizing it, so it looks transparent to the user.

Once it's running in the background, access to it is much snappier, of course, it'll be back to nought if you were to close it, that's why its much better to just minimize it using the red phone key.

We can put a link to startup with the messaging app, unfortunately, it doesn't minimize.

The limitation to this app, is that it needs to be in the SMS window, for it to work. See Post #1 for limitations.
oliverpool
I was also wondering the purpose. But once you run it the first time and u use a app like pocketplus and put it in the exception list you should be fine right?

Ionized
It is meant for people who have to run the text messaging (SMS) program and then minimizing it to the background everytime they do a soft reset on their PPC phone.

Reason for doing this is because the exe file of the program is quite big (around 1MB) and could take a while to load before you can punch in your text. This waiting time to send a SMS is unacceptable for some. Calling the messaging program when it is in the background instead will be instantaneous.

I'll be giving it a try later. Thank you thescum for the script. smile.gif
Ionized
Hey thescum,

I noticed you have the following lines in your script:

Delete "\windows\start menu\programs\Display switch.lnk"
Delete "\windows\start menu\programs\psShutXP.lnk
Delete "\windows\start menu\programs\singtel menu.lnk"

Can I remove them? What are these shortcuts anyway?
Ionized
*Post removed due to problem with script*
Ionized
The script doesn't work very well for me. Most of the time, the SMS program doesn't minimize. How does WaitForActive actually work? Wait for 7 second after the SMS program is active?
Ionized
OK I solved the problem by adding SLEEP 500 just before the MINIMIZE command. smile.gif
Ionized
Hi thescum,

In your SMSStartup.mscr script, try replacing:
run \windows\tmail.lnk

With:
Run "\Windows\tmail.exe", "-Service ""SMS"""

This should take care of the limitation you pointed out in the earlier post. You can also try "Hotmail", "MMS" and "Inbox" instead of "SMS" if your default is not Text Messages.
thescum
QUOTE(Ionized @ Sep 15 2006, 04:13 PM)
Hey thescum,

I noticed you have the following lines in your script:

Delete "\windows\start menu\programs\Display switch.lnk"
Delete  "\windows\start menu\programs\psShutXP.lnk
Delete "\windows\start menu\programs\singtel menu.lnk"

Can I remove them? What are these shortcuts anyway?
*



oops, this was meant for me, these are the shortcuts that are automatically put in the \start menu\programs\ by my Singtel 3G card and psShutXP

QUOTE
\Windows\tmail.exe", "-Service ""SMS"""

Thanks very much for this, have added it in, and updated the first post's attachment. Will not add sleep 500, coz sometimes if the prog is not activated withing the 500 msec(which might be caused to differing startups), you'll get a script error. i believe the present command, waitforactive, allows the app to wait till the script detects the windows for a max of 7 sec.
If the script detects the windows within this timeframe, it'll minimize.

Thanks very much for all your help, much appreciated :)
waitforactive allows the script to wait until text messages is activated
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.