Is there a mortscript that will... - Windows Mobile Development and Hacking General

Hey I'm looking for a mortscript that will check the status of the reg keys for new sms and new voicemail every 5 minutes or so and if the count is greater than 0 it will play my notification again (or any wave if that's easier) I had a search and could only find the treo alerts but that's more than I'm looking for.

i think than can be done....i will look into it tonight...if someone does not beat me to it...lol

Hey sorry it took me so long to get to this but i have been very busy and i wanted to make it just right. so here it is.
This script Checks for new sms and vmail every 5 min and plays any wav file you have specified.
First have mortscript installed then
simply extract the folder in this zip file to anywhere on your device. then run setnofitications.mscr and enter the full path(EX:"\examplefoler\examplewavefile.wav"(don't enter quotes)) to a wave file you would like played for vmail and sms. it will create a new folder in your programs menu called extra notify and place shortcuts to turn this feature on and off to configure it and to remove the shortcuts. it will also place a shortcut in your windows startup folder so to activate itslef at every boot. Hopefully this works as well on your phone as it does on my phoe(different phones like to act different)
UPDATE:For anyone who already has v0.5b run remove to clear the old shortcuts(i changed the names of them so it wont all work right if you don't do this before extracting the new files) then simply exract these files to the same place you have the current ones. then run upgrade.mscr to migrate your old notifications to the reg entries and run setnotifications.mscr to configure the on and off times. I'm leaving v0.5b up for now in case v0.8 causes issues. Report back on functionality. Anyone using this for first time follow steps in this post befor update.
let me know if you have any problems
Version History
V0.8
changed the way variables(configurations) are kept
added option to specify time to have notifications tunr off and back on
Cleaned up scripts to make them esier to work with
(i think that's it lol)
v0.5b
removed message when device boots up
V0.5
Notifications will now play even if device is in sleep mode.
V0.1
Initial Realease

Awesome! Thanks so much.
Not to be a pain but I should have mentioned that it would be great if it didn't run between certain times. That way it won't be keeping me up all night.

You can just use kaisernotification its a program that lets you customize the LEDs and also this feature is under "repeating alerts"

mssmison said:
Awesome! Thanks so much.
Not to be a pain but I should have mentioned that it would be great if it didn't run between certain times. That way it won't be keeping me up all night.
Click to expand...
Click to collapse
ok i w have a look at that...i'm sure it's possible i will just have to figure it out. give me a few days on this to make sure i get it right.

Awesome!
Thanks a tonne, I'm a little suprised no one has done this before.

mssmison said:
Awesome!
Thanks a tonne, I'm a little suprised no one has done this before.
Click to expand...
Click to collapse
yhea me 2...maybe they have but i don't mind doing it....i'm still learing mortscript so this was a great learing experience.

Grondinm said:
yhea me 2...maybe they have but i don't mind doing it....i'm still learing mortscript so this was a great learing experience.
Click to expand...
Click to collapse
You're a mortscript power house! I'll be using this one when it's done

Grondinm I promise you'll reach Nirvana if you manage to do this script!

I always wanted to do that also (lazy i guess), but now eventually I included it in my startup script.
Beside the missed calls or sms the script keeps bluetooth off unless needed (by GPS or handsfree).

Well done folks, now that's turning out to an interesting thread!
Until today I did just a few stupid scripts to perform soft-reset or setVolume, but with your scripts for reference I'll try to learn a bit more.
Just a question: where is the delay time instruction? I see a few "sleep" and don't know which is the right one.
Keep up the good work, MortScripters!

carrozza said:
Well done folks, now that's turning out to an interesting thread!
Until today I did just a few stupid scripts to perform soft-reset or setVolume, but with your scripts for reference I'll try to learn a bit more.
Just a question: where is the delay time instruction? I see a few "sleep" and don't know which is the right one.
Keep up the good work, MortScripters!
Click to expand...
Click to collapse
the last one. sleep(30000)has it sleep for 5 min before it checks again. the other sleeps are just to have it sleep for a fraction if theire is nothing to do....it would work without those...theire is also one for it to sleep 1sec between the check of sms and vmail so that both sounds don't play at the same time. Funny i started out the same way. making little scripts for text messaging purposes and volume and orientation.

Ha... I think any scripter started off like that. My first one went abd changed all of my reg settings, and copied clock and wallpaper, for s2u2. Saves plenty of time when updating

xd1936 said:
Ha... I think any scripter started off like that. My first one went abd changed all of my reg settings, and copied clock and wallpaper, for s2u2. Saves plenty of time when updating
Click to expand...
Click to collapse
My first script went around and deleted random registry entries and files... Wasn't too productive, but worked well!

well it's working but apparently I'm not inputing the path properly.
If the file is in the windows folder for example is my syntax //windows/blah.wav ?

mssmison said:
well it's working but apparently I'm not inputing the path properly.
If the file is in the windows folder for example is my syntax //windows/blah.wav ?
Click to expand...
Click to collapse
no the path would be \windows\blah.wav

I think it should be "\windows\blah.wav"
EDIT: Grondimn got there first! Ignore this post!

OK, here is the script I made, quite the same as previous examples posted before by very good people.
I just added MMS notification and tweaked delay (90 seconds for me).
Just a question: what do you think is the overhead of the device with this script running?
I mean: here we have a WHILE loop running continuously on the device. Are there "best practices" that a skilled programmer would use to make CPU and memory consumption as low as possible?
check=1
while(check=1)
sms=regread("HKCU" , "\System\State\messages\sms\unread","Count")
mms=regread("HKCU" , "\System\State\messages\mms\unread","Count")
call=regread("HKCU" , "\System\State\Phone","Missed Call Count")
if(call > 0)
playsound("\Windows\Alert-Tonic.wav")
sleep(1000)
else
sleep(100)
endif
if(sms > 0)
playsound("\Windows\Alert-Chime.wav")
else
sleep(100)
endif
if(mms > 0)
playsound("\Windows\Alert-Chime.wav")
else
sleep(100)
endif
sleep(90000)
endwhile

carrozza said:
OK, here is the script I made, quite the same as previous examples posted before by very good people.
I just added MMS notification and tweaked delay (90 seconds for me).
Just a question: what do you think is the overhead of the device with this script running?
I mean: here we have a WHILE loop running continuously on the device. Are there "best practices" that a skilled programmer would use to make CPU and memory consumption as low as possible?
check=1
while(check=1)
sms=regread("HKCU" , "\System\State\messages\sms\unread","Count")
mms=regread("HKCU" , "\System\State\messages\mms\unread","Count")
call=regread("HKCU" , "\System\State\Phone","Missed Call Count")
if(call > 0)
playsound("\Windows\Alert-Tonic.wav")
sleep(1000)
else
sleep(100)
endif
if(sms > 0)
playsound("\Windows\Alert-Chime.wav")
else
sleep(100)
endif
if(mms > 0)
playsound("\Windows\Alert-Chime.wav")
else
sleep(100)
endif
sleep(90000)
endwhile
Click to expand...
Click to collapse
Well i don't think memory is a big concern in this case cause the script file in only a few hundred KB and for cpu usage it is sleeping between the loops. i'm no programmer and i'm sure a experienced programer might find some flaws in this but it works for me and does not seem to be very draining.

Related

Schedule a dayly script execution and soft reset

Schedule Reset is a small utility that offers these capabilities.
- Soft reset of your device every day at a specified time.
- Optional warning sound and countdown before actual reset (just in case you are using the device).
- Optional execution of a script before the reset to delete garbage files, backup, etc.
- Automatical aborting of the script if its execution time exceeds a specified timeout.
- Default script engine is nScript (freely available at http://www.s-k-tools.com/util.html).
- Other script engine can be used by changing some registry keys.
Screen captures
been using it for the last 2 days...
not much to say about it except that it works and works well...
haven't tried the scripts thing 'cause I can't program, but nice option!
Has anyone else been using this on a Wizard? Any bugs?
Works great on the Universal
does anyone know how to automatic enter the pin of the phone after the softreset?
does anyone know how to automatic enter the pin of the phone after the softreset?
@oruam57: thanks for the ns info. May i know how you were able to create the exe files?
Why need a Pin in the First place?
_onoff said:
does anyone know how to automatic enter the pin of the phone after the softreset?
Click to expand...
Click to collapse
Why need a Pin in the First place?
Normally we require a PIN for security; If the software is bypassing that , why not DISABLE PIN REQUEST alltogether?
Prompt me if I am wrong pls..
We are all learning :idea:
oldsap said:
@oruam57: thanks for the ns info. May i know how you were able to create the exe files?
Click to expand...
Click to collapse
You mean what development environment I used to develop ScheduleReset.exe? I used Borlard Delphi 2006.
thanks. is there an easier way to make an exe file?
Re: Why need a Pin in the First place?
jeasbe said:
_onoff said:
does anyone know how to automatic enter the pin of the phone after the softreset?
Click to expand...
Click to collapse
Why need a Pin in the First place?
Normally we require a PIN for security; If the software is bypassing that , why not DISABLE PIN REQUEST alltogether?
Prompt me if I am wrong pls..
We are all learning :idea:
Click to expand...
Click to collapse
when you have 2 or more numbers on the same card, and their only activated by the PIN you enter... like... CARD 1 - PIN 0001 CARD2 - PIN 0002 ... google for sim emu
Nice app thanks - set mine to reset at 0400 every day.
Give me a chance to learn script writing
Anyone have some ready made scripts to try?
Would like a script to clear certain directories - temp/volatile etc...
meschle said:
Nice app thanks - set mine to reset at 0400 every day.
Give me a chance to learn script writing
Anyone have some ready made scripts to try?
Would like a script to clear certain directories - temp/volatile etc...
Click to expand...
Click to collapse
ScheduleReset.ns.sample1 is a ready made sample that deletes the contents of the \temp directory (including subdirectories). Just rename it to ScheduleReset.ns and copy under the directory where ScheduleReset.exe is.
To add more directories just add calls to ClearDirectory with the full path, that is
function main()
{
ClearDirectory("\\temp",0);
ClearDirectory("<your directory here>",0);
}
Notice that you should use a double slash ("\\"), its a quirk of the ns string syntax.
WARNING: be very careful with ClearDirectory as it can delete very much in very short time. A full backup before starting is highly advisable.
oruam57 said:
meschle said:
Nice app thanks - set mine to reset at 0400 every day.
Give me a chance to learn script writing
Anyone have some ready made scripts to try?
Would like a script to clear certain directories - temp/volatile etc...
Click to expand...
Click to collapse
ScheduleReset.ns.sample1 is a ready made sample that deletes the contents of the \temp directory (including subdirectories). Just rename it to ScheduleReset.ns and copy under the directory where ScheduleReset.exe is.
To add more directories just add calls to ClearDirectory with the full path, that is
function main()
{
ClearDirectory("\\temp",0);
ClearDirectory("<your directory here>",0);
}
Notice that you should use a double slash ("\\"), its a quirk of the ns string syntax.
WARNING: be very careful with ClearDirectory as it can delete very much in very short time. A full backup before starting is highly advisable.
Click to expand...
Click to collapse
Many thanks for that - yes i use spb backup and will set too editing your script - ta
Has anyone been using this on a Wizard? Any bugs?
matheprat said:
Has anyone been using this on a Wizard? Any bugs?
Click to expand...
Click to collapse
Works good on my wizard no bugs so far :wink:
Think the warning sound should sound for the full 20 secs countdown. As it is you get 1 beep and thats it. Maybe a selectable countdown sound.
Azriaphale said:
Think the warning sound should sound for the full 20 secs countdown. As it is you get 1 beep and thats it. Maybe a selectable countdown sound.
Click to expand...
Click to collapse
Well, the idea is to have the reset time set deep in the night. Therefore, too much noise would be annoying. The sound and the countdown are there only in the unlikely case the phone is in use, so you can stop the reset sequence.
Anyway the registry entry
HKEY_CURRENT_USER\Software\ScheduleReset\SoundFilePath
contains the path of the sound file. Replacing it with someting more noisy and longer (for example \Windows\Jig.wma) should suit you.
Cheers for the info.

[APP] Diamond BackgroundChanger

I've written a small program that allows you to automatically change the background of your home screen. It works with TF3D only.
Why?
Because it's fun to see a different WallPaper every time you turn on your device.
What?
Diamond BackgroundChanger has the following features:
Ability to specify WallPaper Folder
I suggest you grab yourself a copy of this wonderful WallPaper Pack:
http://forum.xda-developers.com/showthread.php?t=420906
Ability to indicate whether to change the WallPaper automatically or not
Ability to choose the interval for changing the WallPaper
30 seconds, 1 minute, 5 minutes, 30 minutes, 1 hour, 4 hours, etc.
Ability to add the program to your startup folder
The program saves and restores your settings when restarted.
How?
Just download the attached CAB file and place it on your device.
On your device, tap the CAB file to install the program.
Note: Click YES if you get any warnings.
What Else...
You must click the "Apply" button to start the program.
You don't have to do this if you add the program to your startup folder ("Menu - Add to Startup").
You need .NET Compact Framework 2.0 to run the program.
Please, let me know what you think of it.
Version History
v0.5
-Bug Fixes (null reference, directory that doesn't exist)
-GIF/PNG files can now be indexed too
-Ability to change WallPaper manually
v0.4
-Indicator that shows when the background will be changed
-Fixes to ChangeWallPaper function (might solve null reference errors)
v0.3
-Fixed bug: 4 hours was actually 4 minutes
-Added feature: Add to Startup
-Added some extra intervals
v0.2
-Does not require the application to be running in the background
v0.1
-First Version
hehe,
I was waiting for this app
one small thing:
After changing the Wallpaper directory (and restart)
Wallpaper directory stays on \intern geheugen\....
many thanks
timoline said:
hehe,
I was waiting for this app
one small thing:
After changing the Wallpaper directory (and restart)
Wallpaper directory stays on \intern geheugen\....
many thanks
Click to expand...
Click to collapse
Oops, the close event was not handled properly. Has been fixed!
You can download the fixed version from the first post. Enjoy!
thanks a lot!!!! Nice app!!
@kevinv2u
Hello!
Nice app and very nice idea from you!
Thank you very much for sharing with us and your work!
Downloaded and installed on my diamond!
But i think there is also still a little bug when the device goes to sleep mode and you wake it up with the power on button my Diamond most times do not respond to the touch screen!?? Like the touchs screen is locked?
After about 20-30 sec the touch screen then worked normaly...
I have the problem only when your program is running in the background... when not the touch screen works perfect when i wake up the device...
Maybe for your next version some comments and wishes from me :
- is it possible that the application starts automaticly when windows starts
- it would be better when it runs as an own process then as an programm in
background mode... because i think then it works also to change
backgrounds when the phone is in sleep mode?
Regards
I've already modified the program so that you no longer have to run it in the background. In the new version it will also work when your device is in sleep mode.
I've updated the attachment in the first post. Please, let me know what you think. I haven't had the chance to test it thoroughly yet.
Wow very fast! Thank you!
I´ve installed your new version! Looks very good!
Now it works fine on my diamond, even the bug, i experinced after wake up the device from slleep mode, with your first version is gone!! No problems till now!
Real lovely app!
One little thing, can you ad longer times for changing the wallpaper to your next version?
Maybe 7h, 12h and 24h??
Thanks
THANKS great app.
Now i can put some photo's from my kids in it as a photo album
Maybe for the next version you could put an extra responce time in it like in the samsung phones, 20 and 30 seconds
That would make this great app a real screensaver.
from now.. your app is running on my diamond
It doesnt work on mine what am i doing wrong?
I got all the required programs installed and the path to my photos is correct but it never changes?
I've changed the program a bit. Yes, again!
Tweaked and optimized it a bit, and added a feature to add it to startup.
@johnboywilson
Please, uninstall your current version. Then install the latest version.
Also, it only works on the Diamond (TF3D). Make sure that the path you've entered is correct. E.g. "\Storage Card\Content\WallPaper". Do you get any errors?
kevinv2u said:
I've changed the program a bit. Yes, again!
Tweaked and optimized it a bit, and added a feature to add it to startup.
@johnboywilson
Please, uninstall your current version. Then install the latest version.
Also, it only works on the Diamond (TF3D). Make sure that the path you've entered is correct. E.g. "\Storage Card\Content\WallPaper". Do you get any errors?
Click to expand...
Click to collapse
Ok i will try new one i hope it works as this is something i have always wanted for all my windows phones i have ever had. There are no errors and yes i have tf3d running. My path is Internal storage\content\wallpaper is this ok. The pics are listed in the panel below so i presume the path is correct.
Very nice thank you.
Don't know if possible....
Any chance to get some transition effects?
johnboywilson said:
Ok i will try new one i hope it works as this is something i have always wanted for all my windows phones i have ever had. There are no errors and yes i have tf3d running. My path is Internal storage\content\wallpaper is this ok. The pics are listed in the panel below so i presume the path is correct.
Click to expand...
Click to collapse
IT WORKS thank you quality program.....
does it drain more battery life?
jeromenism said:
does it drain more battery life?
Click to expand...
Click to collapse
I've had it running for over a day now, and it doesn't seem to drain my battery.
The program only runs at specified times, and doesn't keep running in the background. It only runs for a few seconds and then closes immediately.
If you let it change your background every minute, your battery life might be a little shorter, but then again, the program only runs for a second if needed.
Thanks for your new version and adding the longer times to your programm!
Have installed your new version and seems to run fine on my diamond !!
Great work!!!
Nice app,
glad you liked my wallpaper pack
Hey, the app sounds nice, but I get an error whenever it tries to change the wallpaper...
same error as above
renegade said:
same error as above
Click to expand...
Click to collapse
same problem

TF3DOnnOff Paket by JeckyllHavok

TF3DOnnOff Paket by JeckyllHavok
UPLOADING UPDATED FILES YOU NEED TO REPLACE THE AUTOOFF.MSCR!!!!
Hi there with this collection off scripts you get the possibility to power on/off your device with TF3D enabled, also a little auto Off Function is Included.
Just download the attached zip folder and unpack all files to the root of your device.
Then copy TF3D-DisplayOff-mscr to your programs folder and map it to a button.
Now run the writenotification.mscr, (you need this file just at the first time, do not run it twice)
Now reboot your device with tf3d disabled in today plugins.
After reboot you should notice that TF3D starts.
Now with the button you mapped the tf3dDisplayOff Script to you can put your device to sleep with a keypress.
To power it back on just press power button.
If TF3D is disabled you can start it with the maped button too.
After 5 minutes a windows apear which will ask if device should go to sleep, if you press yes or do nothing device goes to sleep, if you press no the window will reapear in 5 minutes, i make that cause i miss that device with TF3D won't go automaticlly to sleep.
To remove the scripts just run remove notifications.mscr and delete the files.
hey i can't seem to get it to work on my nike..
how do you run writenotification.mscr???
My device says: first run program, then file.
And do you know a way to reload the clock so it starts on 00:00 and then flip down. Mine only does that when i enable the plugin the first time after it has been disabled.
hey i can't seem to get it to work on my nike..
how do you run writenotification.mscr???
My device says: first run program, then file.
And do you know a way to reload the clock so it starts on 00:00 and then flip down. Mine only does that when i enable the plugin the first time after it has been disabled.
Click to expand...
Click to collapse
Do you have MortScript installed on your device?
Just open the file like an audio file for example.
what do you mean by unpack all files to the root of your device.
in the attached zip file are several mscr files. Copy them to the main directory of your phone
can't work for me.... i must locate files in windows folder or anywhere in my device? when i click on mscr file WriteNotification.mscr nothing happens why?
can't work for me.... i must locate files in windows folder or anywhere in my device? when i click on mscr file WriteNotification.mscr nothing happens why
Click to expand...
Click to collapse
There comes no visible notification when clicking on write notification, place all files like this
\
\Windows
\My Documents
\Program Files
\...
\...
\...
pim.vol
*.*
*.*
<<--Extract here the files from the zip file
and now place a second copy of TF3D Displayoff.mscr in \Windows\Start Menu\programs\HERE...
Before you start right press remove notification and open it, and noe the same with erite notification.
Now map TF3D Display OFF to a button of your choice and disable TF3D in today plugins and restart.
If it works you will notice that TF3d start...
JeckyllHavok said:
After 5 minutes a windows apear which will ask if device should go to sleep, if you press yes or do nothing device goes to sleep, if you press no the window will reapear in 5 minutes, i make that cause i miss that device with TF3D won't go automaticlly to sleep.
To remove the scripts just run remove notifications.mscr and delete the files.
Click to expand...
Click to collapse
who does that part work? i dont get it
Uhhhhhh....
Sorry--what is this mortscript and where do we get it..? lol
telegraph0000 said:
Sorry--what is this mortscript and where do we get it..? lol
Click to expand...
Click to collapse
What about search function? Or Google?
This prog. freezes up my Kaiser to the point of a soft reset. I see TF3D start automatically after a reset, but when I press the assigned soft key to 'sleep' the screen goes off for a second, comes back on, TF3D is gone, and the unit is unresponsive...
doesnt work...I followed your instruction explicitly....and 1 after the inital reboot...tf3d doesnt come up and when activating the TF3D Displayoff.mscr its just dims my screen...howeever I'm still testing
ljinsane said:
doesnt work...I followed your instruction explicitly....and 1 after the inital reboot...tf3d doesnt come up and when activating the TF3D Displayoff.mscr its just dims my screen...howeever I'm still testing
Click to expand...
Click to collapse
I'm on 3. Nothing. If I take any longer with this phone tonight, my girl is going to KILL me. I'll play again when she goes to bed.
ljinsane said:
doesnt work...I followed your instruction explicitly....and 1 after the inital reboot...tf3d doesnt come up and when activating the TF3D Displayoff.mscr its just dims my screen...howeever I'm still testing
Click to expand...
Click to collapse
I have had this on my phone for the last few days...not only does it not work consistently but I cant uninstall the damn thing...'remove notifications' script does not work at all ...I'm going to have to do a hard reset(no big deal though) to get it off my phone.
To the OP...I appreciate your efforts but please PLEASE test and make sure your apps work as advertised before releasing in the futre...these scripts have far too many flaws
I have had this crapware on my phone for the last few days...not only does it not work consistently but I cant uninstall the damn thing...'remove notifications' script does not work at all ...I'm going to have to do a hard reset(no big deal though) to get it off my phone.
To the OP...I appreciate your efforts but please PLEASE test and make sure your apps work as advertised before releasing in the futre...these scripts have far too many flaws
Click to expand...
Click to collapse
If anyone here is playing around with TF3D for qvga or the drivers you should know that everything with this is still instable and beta´.
The script to it works on some roms and on some not,
If i hear questions like what is mort script and so on i think noone of you should anything of this, caus you are unable to use a search button.
Next versions of the script are posted in the new TF3D Manila dev. forum.
I think everything is posted there (that has to do with manila) until development is ready.
Cause everyone here is always asking the same questions.
If someone can't get rid of the notifications.... mmhhh.... search and you will find a solution how to edit the notifications on your your phone. Hard reset was not needed.
JeckyllHavok said:
If anyone here is playing around with TF3D for qvga or the drivers you should know that everything with this is still instable and beta´.
The script to it works on some roms and on some not,
If i hear questions like what is mort script and so on i think noone of you should anything of this, caus you are unable to use a search button.
Next versions of the script are posted in the new TF3D Manila dev. forum.
I think everything is posted there (that has to do with manila) until development is ready.
Cause everyone here is always asking the same questions.
If someone can't get rid of the notifications.... mmhhh.... search and you will find a solution how to edit the notifications on your your phone. Hard reset was not needed.
Click to expand...
Click to collapse
on the contrary..due to time...a hard reset was needed..I dont have time at this particular moment to dig and search for a solution... it is much less time consuming for me to harrd reset and restore from a back up. If you have solution to the notifications issue you should have posted it ...not trying to diss you but seriously...what was the point?
If after the write notifications script, you start the remove notification script all is good.
look into the scripts and you will see that the one does the oposite of the other.
Don't know why it dowsn't work for you.
Try the attached one, it doesn't do anything with notifications, in the archive there is a readme file.
If you don't want this anymore just delete the scripts and the lnk file(make a backup of the old one if it's there)
JeckyllHavok said:
If after the write notifications script, you start the remove notification script all is good.
look into the scripts and you will see that the one does the oposite of the other.
Don't know why it dowsn't work for you.
Try the attached one, it doesn't do anything with notifications, in the archive there is a readme file.
If you don't want this anymore just delete the scripts and the lnk file(make a backup of the old one if it's there)
Click to expand...
Click to collapse
great post. I will test it out.
JeckyllHavok said:
If after the write notifications script, you start the remove notification script all is good.
look into the scripts and you will see that the one does the oposite of the other.
Don't know why it dowsn't work for you.
Try the attached one, it doesn't do anything with notifications, in the archive there is a readme file.
If you don't want this anymore just delete the scripts and the lnk file(make a backup of the old one if it's there)
Click to expand...
Click to collapse
I have been using this most recent one and it has proven to be the best solution thus far! Is there any type of update on this method since your last post? I am not a member of the developers forum but I feel you are on the right track and hate to be excluded from future developments.
Thanks for all of your work!!!!!
Great, work. This is really the workaround that makes TouchFlo3D worth it for me. The turning off is smooth, whilst it takes a bit too long to switch on (I know that's touchflo and not your script).
I couldn't get the autooff to work. The instructions say to paste the autooff and poweron in the root folder. Shouldn't poweron be in the windows/startup folder? Otherwise I don't see how that script is being called? Or are the scripts in the root folders run automatically?
Is the newest mortscript beta release required for the latest version of this to work? Or would 4.05 or 4.1 do just as well?
Thanks for the good work!
Edit: Ah, the short_power.lnk calls poweron. But doesn't that means you have to manually enter standby and then wake up every time you softreset?

[app]Autosms by snoman to automatically send SMS

changelog at post 7: http://forum.xda-developers.com/showpost.php?p=3275698&postcount=7
---------------------
whats the easiest way to get the phone to send an empty message for a specific number every 3 or 4 days. thanks
fatso485 said:
whats the easiest way to get the phone to send an empty message for a specific number every 3 or 4 days. thanks
Click to expand...
Click to collapse
Without detailed knowledge about the background of this request, I'd say: try this automation task with Mirko Schenks' MortScript
http://mort.sto-helit.de/index.php?module=page&entry=ms_overview&action=view&menu=29
i just want to send an automatic sms to the service center that request the detail of my usage. i want to keep track of how many MBs and minutes are left from my account
i think you forgot to post the script
fatso485 said:
...
i think you forgot to post the script
Click to expand...
Click to collapse
that was a good one... uups ;-) I'm serious now:
<MortScript>
MortScript is a script interpreter that allows you to do a lot of task automation stuff and even a quite huge command set for implementing logic, it is not a ready-to-run script that matches your "autosms sending" needs. I dont know much about MortScript but I know that is it very powerfull.
</MortScript>
Perhaps you'd like to have a look at this: autosms 0.43 (Feb 04 09), created yesterday
Motivated by ur request, I did some dev playing with sms coding yesterday on the train and here's a WinMobile prog that's doing the job... but caution: this is a very early (and ugly looking) version.
There is currently no MINIMIZE but you can simply keep the prog open.
Some menu items are not set so far, i.e. EXIT. If you want to exit, just use the upper right 'x'.
The STARTBUTTON toogles between Start to STOP and starts/stops the timer.
The first message is sent directly after pushing on START.
When STOPPING, sending shortMessages is stopped and the timer is reset to the cycle time set in the form field 'send every ___ Mins'.
The settings are stored in autosms.ini and are loaded at prog start and saved at prog end.
The prog works fine and stable on my X1, anyway there is an issue with VGA devices but as I told you, this is an early hack...
Be aware: autosms comes "as is" without any guarantees or warranty. You use it for your own risk. autosms automatically sends short messages every X Minutes (preset X to 2000) to the set cell phone number. Using autosms can cost u a fortune, so, I'm not responsible for any financial desaster or data loss or and legal trouble you might produce when bothering others through sms flodding.
so short
snoman
EDIT
Feb 06 2009:
see download and Changelog here
thank you so much for your work. it really does work.i need to leave it for a couple of days to test stability. i will also add it to the start up programs
a few things to look into in case you get borded and decide to update this:
-as you said, needs to minimize. starting it again does not seem to work.i had to reboot my device
-used vga3fix to get vga resolution and it seems to work fine
-i changed the default 2000 to 2 just to test and it started sending every two seconds not minutes (thank god service center messages are FREE) i got
- the dialog that has 60,1440,2880 doesnt do anything
thanks again
ps why not post this in the hacking and development forum i'm sure a lot of people will find this useful and they might develop it farther
fatso485 said:
a few things to look into in case you get borded and decide to update this:
-as you said, needs to minimize. starting it again does not seem to work.i had to reboot my device
Click to expand...
Click to collapse
I'll check that asap.
-used vga3fix to get vga resolution and it seems to work fine
Click to expand...
Click to collapse
good to know. I developed that mainly on my X1 and compiling on XP without the flag "force qvga". I'll provide two versions asap.
-i changed the default 2000 to 2 just to test and it started sending every two seconds not minutes (thank god service center messages are FREE) i got
Click to expand...
Click to collapse
sorry!!! I am internally multiplying the field value with 1000 because the internal timer counts in ms... and of cause: 2000 ms = 2 s
next version will have the internal multiplicator 1000 * 60 = 60000
- the dialog that has 60,1440,2880 doesnt do anything
Click to expand...
Click to collapse
right, this is thought as a quickselect list with predefinded timer settings.
later...
ps why not post this in the hacking and development forum i'm sure a lot of people will find this useful and they might develop it farther
Click to expand...
Click to collapse
Thanks for the compliment!
I'd like to put a bit more quality in the code before offering it officially to the public. The quality level here at xda dev is quite high and I dont want to push it down
best
snoman
Click to expand...
Click to collapse
autoSMS 0.44
here's a quick update
Changelog v0.44:
' timer now runs in minutes, not seconds
' timer value quickselect list now sends selected value to editable timer field
' EXIT in menu and closing via 'x' is now exiting the prog correctly
' provided autosms_0.44_qvga.exe runs well on XDA Neo QVGA with WM6.1 as well as on WVGA SE X1
Changelog v0.45 (Feb 06 2009):
'just made the GUIlooking less ugly
Changelog v0.46 (Feb 07 2009):
'added optional command shell argument 'autostart' to automatically activate the sending process
Changelog (Feb 08 2009):
'providing the v0.46 as CAB file. Thanks for testing and your feedback
' Changelog v0.47 Feb 09 2009
' new color theme, new program icon
' test dialog (when start parameter "autostart") disabled
so short
snoman
did you try power sms ?
seems like a nice update. .. thanks
will look into power sms after i test 0.44 properly. thanks
Try RJV SMS Scheduler
thank
Thank i will try it out
where were all these replies before. you made snoman reach his 3rd version before answering.......jk
snoman, for text version. how about you make it more friendly for phone startup. i just want to make it easy to autosms start without me having to manually run it and then click "start".
how about you just make it come with another executable (that is fully automatic) that we can create a shortcut to from the startup folder from win directory
ericmateo said:
Try RJV SMS Scheduler
Click to expand...
Click to collapse
great tool!
fatso485 said:
where were all these replies before. you made snoman reach his 3rd version before answering.......jk
how about you just make it come with another executable (that is fully automatic) that we can create a shortcut to from the startup folder from win directory
Click to expand...
Click to collapse
good idea. I'll make a parameter just only need to add after the .exe in the shortcut, i.e.
'autosms.exe autostart' if'll then reads the settings from ini and automatically switches into start mode
ok?
(I'm currently at the cabaret, I think this mod is done tomorrow)
Best
snoman
snoman said:
good idea. I'll make a parameter just only need to add after the .exe in the shortcut, i.e.
'autosms.exe autostart' if'll then reads the settings from ini and automatically switches into start mode
Click to expand...
Click to collapse
done.
new version 0.46 in the changelog posting
dude thats really great. i think its now more than good enough for you to post it in in the development and hacking forum im sure other people will have other nice ideas to add to make autosms more useful for other things
fatso485 said:
dude thats really great. i think its now more than good enough for you to post it in in the development and hacking forum im sure other people will have other nice ideas to add to make autosms more useful for other things
Click to expand...
Click to collapse
Thanks again. I just made the first CAB file for installation. If works fine on my XDA Neo.
Would you mind checking out if it works on ur device?
the cab runs just fine on my device and the qvga wizard. thanks for your work. your program is set to work from startup
now im just being picky with the following wishlist:
-but why did the size grow from 25k to 115k for the same thing. any way of making the cab smaller. maybe recompressing indivsual files?
-not important but also can you somehow make it work as single portable executable (like pimBackup 2.8 that everybody loved to just keep in the SD card)
-also the red square icon is a bit on the plane side how about you just reuse the envelope and stopwatch used in the program as the icon for autosms
Thank you for testing and the reply!
fatso485 said:
now im just being picky with the following wishlist:
-but why did the size grow from 25k to 115k for the same thing. any way of making the cab smaller. maybe recompressing indivsual files?
Click to expand...
Click to collapse
Well, the size is mainly given by the exe and the dll and the bitmap I use and they need approx. 110 KB. My CAB builder does not compress, maybe he cannot or I havn't found the flag. I'll check it out these days.
-not important but also can you somehow make it work as single portable executable (like pimBackup 2.8 that everybody loved to just keep in the SD card)
Click to expand...
Click to collapse
Beside the need to deliver some dlls the single-file-solution means to give up with saving the parameters like "Cellphone No" or "Message Text" who need at least a file for storage and I'd like to avoid the registry.
-also the red square icon is a bit on the plane side how about you just reuse the envelope and stopwatch used in the program as the icon for autosms
Click to expand...
Click to collapse
[/QUOTE]
Indeed, that's a todo right done after making my own offical program icon.
Let's see what the weeks brings...
so short
snoman

Titanium Plugin Development (API?)

Hi all, I seem to be having trouble finding any sort of documentation on how to develop Titanium Plugins for the WM6.5 home screen... Is there any information out there that someone could point me to? My plan is to use Visual Studio 2008 (3.5 .Net) if that makes any difference... Thanks for any help.
Well it's all about interaction with registry. You could also use mortscript. even tho Visual Studio can do it too. You just need to write the needed keys to the registry, and point to them in your .cpr file.
larbke666 said:
Well it's all about interaction with registry. You could also use mortscript. even tho Visual Studio can do it too. You just need to write the needed keys to the registry, and point to them in your .cpr file.
Click to expand...
Click to collapse
Thanks for the tip. Are there any places where this is documented...? Seems a bit strange to keep this information so well hidden...
I'll continue the search...
Wigmund said:
Thanks for the tip. Are there any places where this is documented...? Seems a bit strange to keep this information so well hidden...
I'll continue the search...
Click to expand...
Click to collapse
It's not hidden just search for it, for example:
http://forum.xda-developers.com/showpost.php?p=3601164&postcount=2
http://forum.xda-developers.com/showthread.php?t=509492
and there are more
I started documenting my journey on CHome development.
http://brunolauze.spaces.live.com/blog/cns!8827D2F13B317CBF!427.entry
CHome Documentation
I started documenting my journey on CHome development. I hope to add more in days to come.
http://brunolauze.spaces.live.com/blog/cns!8827D2F13B317CBF!427.entry
blauze said:
I started documenting my journey on CHome development. I hope to add more in days to come.
http://brunolauze.spaces.live.com/blog/cns!8827D2F13B317CBF!427.entry
Click to expand...
Click to collapse
Even though I'm logged in on Windows Live I have no access to your live space ...
Thanks for the pointers... and as far as official documentation goes, it doesn't seem that forth coming... btw, I can't view blauze space either.
I was trying to figure out a similar thing.
I manually added a panel to Titanium called "Battery". What I wanted was a little tool that put the latest battery charge percentage as the panel name.
After a bit of digging I realised the following code kind of works:
Code:
Dim key As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Software\Microsoft\CHome\battery\Page1", True)
key.SetValue("TEXT1", Status.SystemState.GetValue(Status.SystemProperty.PowerBatteryStrength) & "%")
key.Close()
It does successfully change the name of the first page of the panel to the latest battery charge.
Only problem now is, I can't figure out how to get Titanium to refresh... in other words, how to get it to re-read the registry keys. At the moment, it only works by soft-resetting the phone!
digital_elysium said:
Only problem now is, I can't figure out how to get Titanium to refresh... in other words, how to get it to re-read the registry keys. At the moment, it only works by soft-resetting the phone!
Click to expand...
Click to collapse
Simply change "HKLM\Software\Microsoft\CHome\battery\Updated" from its current value to another.
Has anyone figured out a way to do a registry update or execute a script when a panel/page is selected in Titanium without having to "click" it to update?
Here's what I'd like to do... let's say I have a Twitter panel that retrieves my unread tweets every NN minutes. Sliding left/right switches between the tweets, but as I slide onto a tweet, I want to mark it from UnRead to Read in a registry setting. I currently can "click" it to update the status to Read, but havn't found anyway to do it otherwise.
I asked this awhile ago, the thread sat and went stale with no responses. Just wondering if someone ran across a new trick.
-Daryel
Okay, I have no ability to create panels and such, However I have 2 ideas for panels. One, the BAF Gps Toggle panel and a notes panel where a new page is created for each note (similar to taskanium) Anyone think they could do these?? Attached is the .cab for the GPS toggle if needed.

Categories

Resources