#1  
Old 12-23-2008, 07:53 AM
alanlsmith alanlsmith is offline
Senior Member
 
Join Date: Dec 2008
Location: London, UK
Posts: 154
Default SMS Message Preview

Script Updated 30 Jan 2009

With improved method of splitting lines, hopefully to stop the odd message disappearing off the right hand side of the screen.

The only script that has changed is 'ReadSMS.mscr' & it now puts all the lines of the message into one registry value, so you need to change your registry text in WAD to point to 'HKCU\Software\My_Utilities\SMS\Message' rather than Line1, Line2, etc.
As before you can adjust the length & number of lines by altering the appropriate values at the begining of the script.

__________________________________________________ _______________

An earlier question from Neodd70 prompted me to look into being able to preview message on a virtual page, I've come up with what seems to be a viable solution for SMS, I have used a component(s) from ThrottleLauncher www.throttlelauncher.com which the author APBilbo has kindly allowed the use of as a standalone application.

As you can see from the screenshot I've ended up with it looking like a sort of copy of the message page from Manila 2D, I've included the images if you want to use them.

It allows a preview of the first 7 lines of a message & adds "..." at the end if the message is longer. the included shortcuts are 'SMS Next' which moves to the next newest message, 'SMS Previous' which moves to the next older message, 'SMS Details' which shows the whole message in a HTML window, 'SMS Refresh' which should be used as the page entry script, as this will display the most recent message on the page & 'SMS Reply' which, well, allows you to reply to the message sender.

The Registry entries that are created / updated when the shortcuts are run, are as follows, All under 'HKEY_CURRENT_USER\Software\My_Utilities\SMS' :
'Line1' to 'Line7' this splits the text into individual lines, 'Read' indicates if the current message is read or unread, 'Selected' is the number of the current message, 'Total' is the number of messages in the inbox & 'Sender' is the sender.

As neither the application or WAD do textwrapping the Mortscript 'ReadSMS.mscr' parses the message into lines, currently set to 25 chars long to suit my QVGA screen & the images I use, but if you change the value of 'linelength' at the begining of the 'ReadSMS.mscr. script then you can make them whatever length you want.

To actually use this, all that is needed is to copy the folder 'Message2Reg' (which contains the applications, DLLs & scripts) to '\Program Files\' & the 'Messages' folder (which contains the shortcuts) to '\Windows\Start Menu\Programs. Then on your selected page assign 'SMS Refresh' as the page entry script & the Next, Previous, Details & Reply shortcuts to appropriate buttons to suit your chosen layout.

Oh, & if you don't want to use the HTML preview you can delete 'template.html & 'OpenNETCF.DLL' which will save about 220Kb.

Note: opening the message in the HTML preview will mark the message as read, whereas viewing in the 'envelope' will not.
It should all work reliably, but no guarantees.

Edit: Throttle Launcher does not need to be installed, but you do need to create the registry key 'HKLM/Software/ThrottleLauncher/Messaging' then the first time the program is run it will create the necessary subkeys below this.
Attached Thumbnails
Click image for larger version

Name:	Message_Screen.jpg
Views:	2345
Size:	50.6 KB
ID:	13215  
Attached Files
File Type: zip Message_Preview.zip (192.3 KB, 1804 views)
__________________
__________________
Samsung Omnia II

Last edited by alanlsmith; 02-21-2009 at 06:21 AM. Reason: Corrected instructions for registry address to display in WAD
Reply With Quote
  #2  
Old 12-23-2008, 08:21 AM
neodd70 neodd70 is offline
Senior Member
 
Join Date: Nov 2008
Location: Lake Mary, Florida
Posts: 218
Default Email

alanlsmith, thank you so much for this. I have been trying to find a way to do this and was unsuccessful until you brought this to us. Do you think the creator of this program would be willing to let us use the one that previews Emails. I know that Manilla 2D does the emails too and that would be the perfect compliment to this SMS preview. Thanks again
__________________
To error is human, to really mess things up requires a computer!!
Reply With Quote
  #3  
Old 12-23-2008, 08:30 AM
alanlsmith alanlsmith is offline
Senior Member
 
Join Date: Dec 2008
Location: London, UK
Posts: 154
Default

Quote:
Originally Posted by neodd70 View Post
Do you think the creator of this program would be willing to let us use the one that previews Emails. I know that Manilla 2D does the emails too and that would be the perfect compliment to this SMS preview. Thanks again
The same program handles emails as well, just change part of the parameter in the shortcut from "SMS" to "your email account name", but it will only pick up the Subject line of the email, I'm trying to see if I've missed something.
__________________
__________________
Samsung Omnia II
Reply With Quote
  #4  
Old 12-23-2008, 08:34 AM
neodd70 neodd70 is offline
Senior Member
 
Join Date: Nov 2008
Location: Lake Mary, Florida
Posts: 218
Default

Quote:
Originally Posted by alanlsmith View Post
The same program handles emails as well, just change part of the parameter in the shortcut from "SMS" to "your email account name", but it will only pick up the Subject line of the email, I'm trying to see if I've missed something.
Ok Thanks, I will keep on eye on this post in case you find a way to display the body of an email too.

Question will it do both at the same time or is it a one or the other type of deal because I would like to show both
__________________
To error is human, to really mess things up requires a computer!!
Reply With Quote
  #5  
Old 12-23-2008, 08:39 AM
alanlsmith alanlsmith is offline
Senior Member
 
Join Date: Dec 2008
Location: London, UK
Posts: 154
Default

Quote:
Originally Posted by neodd70 View Post
Question will it do both at the same time or is it a one or the other type of deal because I would like to show both
Yes, you could have both on the same page, by running both shortcuts to update email & SMS.

Edit: I should have mentioned that my scripts specifically read the registry entries created for SMS which are under 'HKLM\Software\ThrottleLauncher\Messaging' but are easily adapted to email, which is stored in a new key that is the name of your mail account under the same Messaging sub key.
__________________
__________________
Samsung Omnia II

Last edited by alanlsmith; 12-23-2008 at 08:44 AM. Reason: added note about scripts
Reply With Quote
  #6  
Old 12-23-2008, 09:10 AM
neodd70 neodd70 is offline
Senior Member
 
Join Date: Nov 2008
Location: Lake Mary, Florida
Posts: 218
Default

Quote:
Originally Posted by alanlsmith View Post
Yes, you could have both on the same page, by running both shortcuts to update email & SMS.

Edit: I should have mentioned that my scripts specifically read the registry entries created for SMS which are under 'HKLM\Software\ThrottleLauncher\Messaging' but are easily adapted to email, which is stored in a new key that is the name of your mail account under the same Messaging sub key.
I don't necessarily want both on the same page. I was asking if the program could take care of both SMS and email which I would have on different pages, because I have seen somewhere else that someone had a plugin that would multiple functions but you could only choose one of those to do but in reading your post a little more thoroughly I noticed that the program actually only writes the data to the registry and then we pull that info with a custom registry text, and the buttons run a Mortscript script that updates the registry key that we pull from. Am I correct in my thinking?
__________________
To error is human, to really mess things up requires a computer!!
Reply With Quote
  #7  
Old 12-23-2008, 09:47 AM
TheChaser TheChaser is offline
Member
 
Join Date: Nov 2008
Posts: 32
Default

Quote:
Originally Posted by neodd70 View Post
I don't necessarily want both on the same page. I was asking if the program could take care of both SMS and email which I would have on different pages, because I have seen somewhere else that someone had a plugin that would multiple functions but you could only choose one of those to do but in reading your post a little more thoroughly I noticed that the program actually only writes the data to the registry and then we pull that info with a custom registry text, and the buttons run a Mortscript script that updates the registry key that we pull from. Am I correct in my thinking?
Hello, thanks for this great App. Ive installed everything and set up the messaging page, but i cannot retrieve any messages to be displayed. The registry values are always empty. What im doing wrong?
Reply With Quote
  #8  
Old 12-23-2008, 10:34 AM
Buzzard's Avatar
Buzzard Buzzard is offline
Advanced User
 
Join Date: Oct 2004
Posts: 2,078
Default

Quote:
Originally Posted by TheChaser View Post
Hello, thanks for this great App. Ive installed everything and set up the messaging page, but i cannot retrieve any messages to be displayed. The registry values are always empty. What im doing wrong?
Ditto. I think it has something to do with the "HKLM\Software\ThrottleLauncher\Messaging" that it reads the SMS info from. This registry does not exist on my device (I do not have ThrottleLauncher installed). Is there a work around?
__________________

____________________
DEVICE: LG Expo (AT&T)
ROM: Default
Reply With Quote
  #9  
Old 12-23-2008, 10:36 AM
TheChaser TheChaser is offline
Member
 
Join Date: Nov 2008
Posts: 32
Default

I got it solved and it works brilliant. The Solution is: U NEED to have throttle launcher installed.
Reply With Quote
  #10  
Old 12-23-2008, 10:44 AM
neodd70 neodd70 is offline
Senior Member
 
Join Date: Nov 2008
Location: Lake Mary, Florida
Posts: 218
Default

Quote:
Originally Posted by TheChaser View Post
I got it solved and it works brilliant. The Solution is: U NEED to have throttle launcher installed.
Do you have it setup for both SMS and Email and how did you display the text?
__________________
To error is human, to really mess things up requires a computer!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Lakeridge Software Home | About Us
Copyright (c) 2004-2010 Lakeridge Software