**All Hail MortScript**
Sorry, just needed to get that out of my system.
As an old school programmer I am finding Mortscript pretty easy to learn and implement, so far I have a dozen scripts running and I'm almost looking forward to my next Hard reset so I can try out my Mortscript for rebuilding and setting up my touch pro 2.
Anyway, so far the only bit I am lacking is playing with graphics. I have seen the cimg.exe and the idea of using web pages for graphics but wondered if anyone else had any ideas as both of the above mentioned are tricky & restrictive etc.
Ideally I want a background and click-able images!
All suggestions welcome.
cheers
grymcent
Maybe you could knock up a UI in VB.Net using .Net CF and then use the Process.Start class in a button.click sub function to run the scripts. As long as the .mscr extension is registered in windows it should work. Just an idea.
If you give me the names and paths of the scripts i'll have a look at it over the weekend for you, seeing as i have Visual studio and all the WM SDK and DTK's.
Moving on, i just wanted to say thanks to everyone that helped with my little problem. I spoke to a .Net expert just after i posted earlier and it would appear that what i was trying to achieve is impossbile on windows mobile, atleast until microsoft include the System.ServiceProcess object in .Net CF or mortscript is updated to do something similar. I will look at the other methods posted but not for a little while as i have other things i need to attend to.
Again thank you all and i hope if i stick around not only can i learn something new but also become helpful
**All Hail MortScript**
Sorry, just needed to get that out of my system.
As an old school programmer I am finding Mortscript pretty easy to learn and implement, so far I have a dozen scripts running and I'm almost looking forward to my next Hard reset so I can try out my Mortscript for rebuilding and setting up my touch pro 2.
Anyway, so far the only bit I am lacking is playing with graphics. I have seen the cimg.exe and the idea of using web pages for graphics but wondered if anyone else had any ideas as both of the above mentioned are tricky & restrictive etc.
Ideally I want a background and click-able images!
All suggestions welcome.
Pretty much exactly what O was thinking of (Doh!, Can't believe I forgot Mort Buttons).
However how can I code to connect to it? I hope that's in the manual.... will spend time reading it and having a go.
---------
Nope can't see a way to sciipt with MortButtons!
cheers
grymcent
"Without tech we wouldn't even have fire, without imagination we wouldn't have cave art, without both we wouldn't have xda-developers!"
HTC Sensation Rooted ARHD Stock ROM, Turbo Boost.
Pretty much exactly what O was thinking of (Doh!, Can't believe I forgot Mort Buttons).
However how can I code to connect to it? I hope that's in the manual.... will spend time reading it and having a go.
---------
Nope can't see a way to sciipt with MortButtons!
cheers
grymcent
I could still do something in .net for you.
As for my origninal problem some news. I had a look at a couple of registry comparisons using WinCEregedit and found nothing that was useful relating to the messagingservice (registry service key name msg) nothing is changing in there when it's stopped running or paused. So i have no idea how the taskmanager is able to control it and as i said earlier the functions to do it in .net are missing.
I did, however, look at one of the cab files that is posted along side the messaging client and it seems to set the service to manual activation. I had a peek inside and it is just a single registry value called flags with a dword data value of 4 . Anyway, i got .net cf to edit the right value and with the inclusion of a magic soft reset button it seems to work ok.
I only have one last problem with this project and that is how to create a TreeView based file browser that can export a selected path and filename to box a textbox and a Process.Start call at the same time. If anyone has any ideas on that i'll gladly hear them although i do know this is the wrong place for that sort of question
Maybe you could knock up a UI in VB.Net using .Net CF and then use the Process.Start class in a button.click sub function to run the scripts. As long as the .mscr extension is registered in windows it should work. Just an idea.
If you give me the names and paths of the scripts i'll have a look at it over the weekend for you, seeing as i have Visual studio and all the WM SDK and DTK's.
I am interested, but do not understand VB.net etc much.
Here is what I want:
Is there a way of doing an image saet with about 4 layers
Background
Buttons
Text windows
extra image layer
Can all 4 layers be broken up into lots of small squares?
e.g. Layer 1 background image
layer 2 a series of icons, A small icon might be one square, a large might cover 4 squares
Layer 3 allows input boxes, buttons, and status message
Layer 4 image overlays, or button overlays
This gives me massive variation for everything from menu's to Cab selections programs and all sorts of stuff.
Is this possible? (feel free to PM me)
grymcent
"Without tech we wouldn't even have fire, without imagination we wouldn't have cave art, without both we wouldn't have xda-developers!"
HTC Sensation Rooted ARHD Stock ROM, Turbo Boost.
########################################################################################
# Replace individual iniread with a foreach loop
# this one does not save space unless you add more values to this ini file
########################################################################################
xMeteo = exe_path \ "meteo.ini"
ForEach xkey, xvalue in inikeys (xMeteo, Auj )
[xkey]=xvalue
EndForEach
########################################################################################
# Gets rid of this
########################################################################################
Meteo_Jour = IniRead( exe_path \ "meteo.ini", Auj ,"Meteo_DayIcon")
Meteo_Nuit = IniRead( exe_path \ "meteo.ini", Auj ,"Meteo_NightIcon")
MoonPhaseId = IniRead( exe_path \ "meteo.ini", Auj ,"MoonCycle")
########################################################################################
If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?