yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] howdykeith:
Hi.

Mortscript can only play wav files internally.

Can we play mp3/m4a/mid files using windows media player, but internally?

http://xdaforums.com/showthread.php?t=523845 .

o and does the image resizer have the option to keep aspect ratio? then maybe only give one width or a height? i guess u could also have a scale to %...

I may be behind in reading the documentation if yer apps r already doing that...

And I found this link about running apps minimized... http://xdaforums.com/showthread.php?t=633555
[Windows Mobile Software Development] Cyclonezephyrxz7:
1• Media 'Player' Added to my list of things to make (Very simple...will support other basic formats for now)

2•ImgResize DOES maintain aspect ratio (even when entering both) ... I have not tested with 1 ... but in the next release it should all work. I will also implement a % option.

SMALL UPDATE:

I have been working on a computer-smartphone 'suite' that I believe some may find pretty useful...So hold on tight for that one!
[Windows Mobile Software Development] dagosjt:
Sorry, now I'm too busy working on my WAD2 theme :D

Probably you're right, it's a HTC Album issue, and I've no interest in looking at thumbnails in HTC Album :D

Thanks a lot, waiting for your suite :)
[Windows Mobile Software Development] ironhead65:
I've been looking for a tool to output the headers of the e-mails that are on my phone.

Basically, I've got a system at home that can e-mail me when there are problems at the house (flooding, power outtage, whatever). I use Push mail, so it's as fast as texting (~4 seconds to get the message to my phone).

I'd like to have the ability to use Mortscript to look for a specific header, then buzz the vibrator on the phone if a certain header exists.

Looks like this was already asked, but I just wanted to toss my vote in for this feature!

Thanks!
[Windows Mobile Software Development] Cyclonezephyrxz7:
You are in luck! I am currently coding up a All2Reg app (based off of the Msg2Reg that put SMS messages in the registry). This app will support putting Appointments, SMS, (MMS?), E-Mail, Contacts, etc. etc. in the registry. Just hold tight!
[Windows Mobile Software Development] howdykeith:
I did implement this in my StatusTicker app and it works great. I think I only turned on the SMS version, but reading emails is exactly the same.

Probly will work greater with the new exe...
[Windows Mobile Software Development] howdykeith:
Purple face

ok i was thinking...

So for example with the Csorter.

If I took an array, and made it comma delimited, and then sent it to the "clipboard", then u could just grab the data from the clipboard... and return it to the clipboard sorted.

that is better than loading it from a file or getting data from reg. It's like 2 mortscript commands to do that, LongString = Join(Array, ",") and SetClipText( LongString ). That would be too good to be true...

i guess an important question would be, how much data can a clipboard hold?

my next question hinges on q1, cause we could split the array at 256 elements per line. or 250 to make it easier to renumerate.

That would be much cooler than doing read from registry files or data file.
[Windows Mobile Software Development] Cyclonezephyrxz7:
I am not aware of the limit of the Clipboard, so I cannot figure that out. However making a code for that is much easier! Added to my To-Do; Will work on it soon :D
[Windows Mobile Software Development] ironhead65:
Thanks Cyclone!

While you are at it, to keep the registry from exploding...

we should try to have a "selection" of what we are outputting. I.e. maybe I only need the subject...but someone else needs that and date.

Or, we could have it output to a memory space that mortscript could read? As in, the program takes in a command to read the mail information. It gets what you ask it to.

THEN you give it a command to tell you how many messages are there, and it returns that...which mortscript can get.

Finally, you can loop that many times asking for the data you gathered...after each read, the program will act like a FIFO and pop the item read off the list...

So, the first read is the first item read from the mail db. Then the next read is the second item...etc...etc...

What do you think?

--Ironhead65
[Windows Mobile Software Development] Cyclonezephyrxz7:
I assume you are talking about ExportStudio. Well, see...ExportStudio is involved with that Suite project i mentioned earlier...I don't want to make many changes to it for now because i dont want to fudge anything. As soon as i get the chance, I will ponder implementing the above recommendation :D

Thanks for the idea!

Small Info Update/Leak:

-I have postponed the Suite project i was working on b/c I ran into a dead-end, will resume when possible.

-I have commenced working on a new program that will help in MANY MANY ways :D (I don't want to say much more!)
[Windows Mobile Software Development] howdykeith:
Hi.

U know what else we dont know in mortscript? is the memory size of each running exe...

And u know, for that matter we can't set the priority of the running exe. Is there even a function like that on WM?
[Windows Mobile Software Development] Cyclonezephyrxz7:
Updates, updates, UPDATES!

So don't think I didn't do anything this whole week. (I was on vacation! [had lots of time]).

SO here is what i have for you all:

Update to ContactRetriever

: You can now find contacts by their phone numbers.

Update to ImgResize

: Bug with naming fixed, You can convert image files, and you can Crop them now. You can also define the size using PERCENTAGE.

Update to Appointmentor

: You can now delete appointments in a defined range! (Untested as of Feb 21st, 2010)

Update to CycloneSender

: MULTI-RECIPIENT! you can schedule multiple contacts to receive the SAME message in just one run-thru now! Also, i changed the way you enter contacts (Click on the contact textbox).

Update to CSort

: You can now sort data on the clipboard (separated by commas).

Smaller updates include:

-Work is progressing on the Suite i mentioned earlier, still hitting the same wall...hope to find a work-around soon.

-Work is progressing on new ideas that I have recently had! Hold tight for some releases on those.

-Working on making "Swiss-Army-Knife" like program combos. If anyone has any ideas of what apps i have made (or ones i can make in the future) should go together in one big program, please tell me :)

All suggestions and recommendations are GREATLY appreciated!
[Windows Mobile Software Development] frmariam:
Can't see the GUI in new version of ContactRetriever...
[Windows Mobile Software Development] Cyclonezephyrxz7:
Fixed: (Sorry, I left some Debug Code in there :-P )
[Windows Mobile Software Development] frmariam:
Thanks it's good now.

No news on the cancel issue... On "Cancel" or "X" there will still be some data output (that is deleted after a few seconds... ergo I can't find it in the registry... however my MortScript is still able to catch it!). Made a small video using MyMobiler (first I add/open/delete a contact and then I cancel adding a contact... if there was no output my script wouldn't add that random contact...)

Could you fix this please?
[Windows Mobile Software Development] Cyclonezephyrxz7:
It might just have been me, but I couldn't really see what was going on in that video. Is this a program that you made and you are using ContactRetriever with it? Code-Wise, if you run the GUI there should be NO way for data to be created.

ChooseContactDialog n = new ChooseContactDialog();
if (n.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
Contacts.findByName(n.SelectedContact.FirstName, n.SelectedContact.LastName, "all", outPut, wImage, asVCF, int.Parse(count));
}

See...if you don't press "OK" then it will never find the contact...(and never add the data).

If this is a program made by you, would you want to send me the code? It may be a bug in your program? In the meanwhile, I will continue to look at the code of my program to see if there are any other reasons this could occur...Sorry for the inconvenience...
[Windows Mobile Software Development] howdykeith:
Hi.

Maybe this will be interesting:

http://translate.google.com/translate?hl=en&sl=ru&tl=en&u=http://kvv.my1.ru/load/6-1-0-29
[Windows Mobile Software Development] ahlok_hk:
Hi,

Everyday I use the call forward to forward my call to home, office and other phone numbers. But I have to do it manually every time: phone > option > call forwarding (wait 10 seconds to retrieve call forwarding status) > type new call forwarding number (for unavailable and busy only) > click done. There are other call forwarding options such as "always forward call" "forward when unanswered". each option could have different number to be forwarded to. For details you may refer to :

http://www.theunwired.net/?item=how-to-diverting-voice-calls-by-using-ussd-codes

I tried vjdialer but failed because it does not support # as dailing code.

I would like to request a tool to change call forwarding by command line. So that I can use programs like mortscript or other tools to do call forward automatically.

Thanks in advance.
[Windows Mobile Software Development] ironhead65:
Cyclone, et. al,

Will the M$ Visual Studio Express Tools compile C# projects for Windows Mobile?

I've been thinking about my request, and I think that what I'm looking to do, won't work terribly well with your software.

I'm looking for a very specific modification to how your software works...which really would be a kludge if you added my feature to your software.

So, I've decided to try to write my own. I'd be more then happy to give the app / potentially code as well to you / the community.

I found a bunch of source which I'm going to start with. When I have something, I'll release it and a link to the source (for proper credit).

A little backround:

I have a home automation system. It is aware of all sorts of aspects of my house. There are loads of sensors all over. For flood, garage door control / door position, etc. The flood sensors, detect flooding! The Garage Door position sensor can tell me if the door is in a bad way. I.e. it's stuck in the middle, or can't open / close. As such, the system can e-mail me messages to let me know this. As I use Exchange, I get e-mails as fast as a text message (~4seconds).

My Mobile program will be similar to what you have. You register a set of "subject" keys to look for (i.e. "[error]" or "[flood]", etc.). Upon a new e-mail / text / whatever arriving, this program will check for those keys. Then, when it finds it, have it do a series of things (TB defined). One being, calling a mortscript, which can then have the information pushed to it (so we don't clutter up the registry). Calling the script, also allows users to "make" their system do whatever they want, when a "trigger" occurs.

This gives a more "push" control over what I'm looking to do, instead of a polling (which uses more battery, etc.). I'd have to poll using the software they way you would need to make it, to ensure your software did not become a kludge of non-flowing features. I think by doing a second tool, this will give a more targeted idea about the use of each tool.

I hope I didn't steal any thunder from your thread...but I'd like to try to help get a tool like this out sooner, as well as probably give this to you to include in the mass of "quick" little utilities you have going on here.

What are your thoughts?

--Ironhead65
[Windows Mobile Software Development] jaguaralani:
Weather Animation Toggle for Manila Home Tab..

I have been lookign for such a software for a long time .......

The Idea is to make a small EXE file that toggles the weather animation on manila home ON/OFF,

it is just a registry key to be changed

here is the address

HKCU\SOFTWARE\HTC\MANILA\HOME.WALLPAPERMODE

Thanx alot mate....

And I hope you could come up with a good outcome,

Thanx again
[Windows Mobile Software Development] ironhead65:
Why not just use a mortscript? you are talking 4-8 lines of code.

--Ironhead65
[Windows Mobile Software Development] frmariam:
You don't need an app for that (it's real easy to Mortscript it).

I don't use Manila. What are the values (and is it string or dword?)?

Something like:

If ( RegRead ("HKCU" , "SOFTWARE\HTC\MANILA" , "HOME.WALLPAPERMODE") = "[B][COLOR="Lime"]value for on[/COLOR][/B]" )
RegWrite[B][COLOR="Red"]Type[/COLOR][/B] ("HKCU" , "SOFTWARE\HTC\MANILA" , "HOME.WALLPAPERMODE") , "[B][COLOR="Lime"]value for off[/COLOR][/B]" )

Else
RegWrite[B][COLOR="Red"]Type[/COLOR][/B] ("HKCU" , "SOFTWARE\HTC\MANILA" , "HOME.WALLPAPERMODE") , "[B][COLOR="Lime"]value for on[/COLOR][/B]" )

EndIf
[Windows Mobile Software Development] howdykeith:
So if u were going to make a resident app, maybe u could store the recent .exe and other doc types in registry...
[Windows Mobile Software Development] ironhead65:
A way to get that data? I think being able to do different things based on appointment data would be really neat!

I have a script that can take the next two appointments (they are in the windows registry), but that really only works for those. What if I wanted to plan out a whole day?

--Ironhead
[Windows Mobile Software Development] Cyclonezephyrxz7:
I will add that code to the program (as an option) as soon as I can.

Sorry I have not been very prompt with releasing updates recently, but the wait should all pay off! I have three apps brewing that are all maybe between 40% - 50% done. They are taking some time... (most of my free time)...

[If you saw my post about transparent panels, any help with this would be very very greatly appreciated, and would allow me to push forward on two of the three apps!]
[Windows Mobile Software Development] frmariam:
I think I got reason of the issue I'm having with ContactRetriever and my scripts...

If you run the app with commands but without a name, it will always export a big portion of you contact list to the registry. Since the app won't export the image as a default behavior (that is when you run the app without commands) I need to use "-image -gui". Even after I cancel adding a contact there will be registry output!

Can you please fix this?
[Windows Mobile Software Development] Cyclonezephyrxz7:
I didn't have a chance to look specifically for any bugs, but I did look at the code again upon seeing this post.

So the way it works is that when you put "-image", it sets a boolean to TRUE , and in the image-function, it will do a for loop ONLY If the counter i (starting at 0) is LESS THAN the total number of FOUND MATCHING contacts. Even then, if the image is NULL, it will NOT proceed....

So i looked at the -gui aspect. That is a bit different...when you put -gui, it also sets a Boolean to TRUE, changing the method call...

So with -gui FALSE, the method call will

Find contacts by provided first and last name (if not provided, defaults are WILDCARD *)

Export (if as a FILE) to the provided output (default is ROOT)

Determine whether or not to call the IMAGE function

Determine whether or not to export as VCF

Set the limit for the first X # of contacts to look thru for the person.

with -GUI as true, it sets the FirstName and LastName to the corresponding first and last names of the SELECTED contact, and they are only set as such IF the OK button (or similar) is pressed on the Contact Selector (which in your case it is NOT).

IF ANYTHING, i would assume the logical error (looking at my code) would be that if the GUI aspect fails, it still continues with the code, assigning FIRST And LAST names to WILDCARD, and if the COUNT is not specified, then it will search EVERY CONTACT for WILDCARD (thus making all results apply!)

So I just added a simple addition of code (so that if the button clicked on the GUI is ANYTHING BUT OK, then it will exit immediately...) I have not uploaded this, as it is late here (HSPA's tomorrow!!!) but I will do so as soon as I can...
[Windows Mobile Software Development] ironhead65:
This one is probably more difficult...

How about being able to report what BlueTooth "things" are connected?

Maybe interrupt driven if possible...but more then likely it'll be something that will need to be polled...

THis might be hard, as I do not know if you can make "one" program to rule them all...as different BT stacks might need different code...

Just a thought...I was going to use this to figure out where I was (home, work, car). Then have the phone get setup appropriately.

I.e. if it detects my hands free device, setup for my car (brightest screen during the day, dimmer at night, highest ring volume). If it detects my home dongle, then setup for home (normal screen brightness, lower ring volume), work, well, probably set for vibrate for rings, but still the "tone" for e-mails *(unless I get an e-mail that has specific key words in them...then have my program...which I have not been able to compile yet...buzz the phone, loudly ring, etc.)*.

--Ironhead
[Windows Mobile Software Development] ironhead65:
Wow, all quiet on the home front?

--Ironhead
[Windows Mobile Software Development] Cyclonezephyrxz7:
:( Sorry about that. For the past month or two I have really been able to put in the very minimum time for Coding that I can fit into my schedule (If i did any more, I may have had to lose more sleep :-P )

Anywho, I was super-occupied for the past month and a half because I was running Lights and Stage for my school's musical, but that is all over now :) So I am going to start coding more again!

This is my 'desired' plan of action:

1) Learn more C++

2) Continue FIXING apps that have been coded already, or improving on them a little (but not too much...)

3) Port my apps over to C++ for better speed and memory usage!

4) Start new projects in C++. (Maybe an occasional project in C#).

So releases/updates probably won't be pouring in all too often, but I will be sure to keep updates here as often as I see fit.

As a little leak/hint of what I have been working on over the past month, I will tell you that I am making an app that will allow you to do virtually anything on your phone FROM another phone or from a computer (ANY computer) WITHOUT a data connection!!!!! I would say I am 60% done with a beta, I just have 3 more features to implement (2 new apps, and an XML Structure). If I do release the beta in the near future, then it will be sorta slow because it will be based on C#, not C++.

*If anyone is experienced, or knows a bit, of Windows Mobile C++ [to the level of doing GUIs , etc.] Help is GREATLY appreciated, as now I have only to look at the examples provided with the SDK for learning :( *

Post back soon!
[Windows Mobile Software Development] ironhead65:
Oh, don't take it as complaining! Nothing to appologize about!

I was only bumping the thread, as sometimes (in my experience) the forum servers sometimes forget to tell you when there is an update in a tracked thread.

Besides, I've still not been able to spend enough time to compile even some test code for my "branch" of the tools in this thread!

--Ironhead
[Windows Mobile Software Development] Cyclonezephyrxz7:
UPDATE

First update in a WHILE! Sorry for all the silence on my end, but I AM working on projects that I am super eager to release (but still only about <50% into) Anywho, there is an update to ImgResize (now V2.0)...As per request it now has a BATCH ability. The docs explain it.

I am open for requests from anyone who has them!
[Windows Mobile Software Development] frmariam:
Nice to read some news.

Hope you didn't forget the gui+command OK/Cancel issue in ContactRetriever. (You wrote you already have this fixed but you haven't yet released the update).

Also I recently dedicated some time to my contact page script and noticed there's an issue with the contatc images output by ContactRetriever. They fail to display in HS++ for some reason. If I edit the image in Paint (in my Win7 PC) those images will work. Seems like some other users had similar problems with ImgResize.

Noticed your apps use "/" instead of "\" in the directories commands... Is there any special reason for this?

PS: In the past I asked for the contacts regsubkeys being output with the same case as in Outlook... I found a very clumsy way to do this (there's got to be an easier way)... May be useful to others (code in green).

Guess Mort should have created a capitalize word function :p

PPS: Just managed to find a workaround for the Cancel issue (code in red):

#Add a contact icon to HS++

#Cleanup before run
If ( RegKeyExists( "HKCU" , "CYCLONEAPPS" ) = TRUE )
RegDeleteKey( "HKCU" , "CYCLONEAPPS" , TRUE , TRUE )
EndIf

#Run ContactRetriever
runwait( contactretriever , "-image -gui" )
sleep ( 1000 )

#Retrieve raw output
ForEach nameraw in regSubkeys ( "HKCU" , "CYCLONEAPPS\CONTACT_EXPORTS" )

[COLOR="Red"]#Cancel bug workaround
If (RegValueExists( "HKCU", "HS\Contacts", "ContactRaw" ))
RegDelete( "HKCU", "HS\Contacts", "ContactRaw" )
RegDeleteKey( "HKCU" , "CYCLONEAPPS" , TRUE , TRUE )
Exit
EndIf
RegWriteDword( "HKCU", "HS\Contacts", "ContactRaw", 1 )[/COLOR]

EndForEach

[COLOR="Red"]#Cleanup cancel bug workaround
RegDelete( "HKCU", "HS\Contacts", "ContactRaw" )[/COLOR]

#Delete ContactRetriever registry keys
RegDeleteKey( "HKCU" , "CYCLONEAPPS" , TRUE , TRUE )

#Treat raw output
name1 = Split( nameraw, "_", TRUE )
name2 = name1[2] & " " & name1[1]

[COLOR="Lime"]x = 1
ForEach name3 in split ( name2 , " ", TRUE )
name4 = CharAt( name3, 1 )
name5 = SubStr( name3, 2 )
name6 = ToLower ( name5 )
name7 = name4 & name6
name_part[x] = name7
x += 1
EndForEach

name_final = Join( name_part, " " )[/COLOR]

#Rename and move contact picture (when present)
If ( FileExists ( "\" & nameraw & ".png") = TRUE )
Rename( "\" & name_final & ".png", path & "dialer" & name & ".png", TRUE )
EndIf

#Write name to registry
RegWriteString ( "HKCU", "HS\Contacts" , contact_no , name_final )

EndIf

Just image issue remains the... One of the few things I need to finish my contacts page.
[Windows Mobile Software Development] Cyclonezephyrxz7:
@frmariam:

1) The file that is there should be the updated version...According to my computer, the file i uploaded was made around that time [ and since it matches in size, i presume it is the one i uploaded...]. I am working on another project at the moment (which I hope will be a big one!) so I will look at that when I catch a free moment (sorry :( )

2) In ImgResize, where do you see that it uses / instead of \? The code should only work if you use \ ...

@everyone else

As far as this new project is, here is a little info on it:

•It is a REMAKE of AutoSend....

-It will take on ALL the current functions of AutoSend, add more features, fix up potential bugs...

•Some features will include:

-Deletion of SPECIFIC auto-sends.

-Ability to program auto-replies to different events..

-What I like to call "Personalized Generic" messages [Don't want to say too much now]

So yeah, expect a release soon enough.
[Windows Mobile Software Development] frmariam:
Those new features of AutoSend sound cool :)

About the previous post:

1- That ContactRetriever version was attached prior your mention of the fix... I double checked and reproduced the Cancel issue (but it's not a big deal anymore since I have a workaround that bypasses it).

2- Not ImageResize... ContactRetriever. But nevermind that (seems like it accepts both "/" and "\" ).

Just hope that after you finish it you are able to find and fix the the images issues. Though it may be HS++ fault...

EDIT:

It seems to be related with the color info chunks. Here is a sample of the same image before and after I hexed the file (just replaced "sRGB" with "tRNS" and it worked...).
[Windows Mobile Software Development] Cyclonezephyrxz7:
Hey..if you can give me the position that the sRGB is (that should be replaced with tRNS), I can implement a -fix parameter that will hex-edit that for you (to save you the trouble)
[Windows Mobile Software Development] frmariam:
Will that position always be constant? In the sample I linked the row is 0020 (third row) and the text is in 05060708 (5 to 8). Sorry but I don't know how to phrase this correctly...