[Q] Looking for Mort Script Help - Windows Mobile Software Development

Okay, I'm trying to write a script to send Left, Right, Up or Down to my music player, Pocket Tunes.
I've got the command right to send the keystrokes, but the problem I have is that Pocket Tunes is playing in the background and after I send the command, it moves to the selected app. I want the app to stay in the back ground, or at the very least restore whatever app is currently the focus to being in front.
Any ideas?

Hmm...Maybe you can get in contact with the developer of Pocket Tunes and ask about PostMessaging their program. If you could use SendMessage or PostMessage with the correct WM_ID (Message ID), and lParam and wParam, then you could accomplish this quite easily. I am not so sure how open the dev. will be to releasing this data. it is worth a shot tho.

RedRamage said:
Okay, I'm trying to write a script to send Left, Right, Up or Down to my music player, Pocket Tunes.
I've got the command right to send the keystrokes, but the problem I have is that Pocket Tunes is playing in the background and after I send the command, it moves to the selected app. I want the app to stay in the back ground, or at the very least restore whatever app is currently the focus to being in front.
Any ideas?
Click to expand...
Click to collapse
The long way there would be to check the current active window first and save that name. Then run the rest of your script. At the end show the previous window. Problem could be some windows do not have names. Also, this will not stop PT from showing for a moment. I think the send command above would work better, but you need the right values.

Chances are the WM_ID would be WM_COMMAND (For Command Bar, or SoftKeys, etc.) and the code to that is 273 (0x0111) ... However WM_COMMAND requires a specific identified for the lParam i think (or wParam, gosh I can never remember haha) which would be what you need the dev. to tell you.
Best of luck

Related

How to repeat Text Message Notification

Is there a way to repeat "Play Sound" until you acknowledge the incoming text message? Repeat is grayed out in the notification area. Any help would be appreciated.
Thanks, Allen
Hi Allen
I use DontForget for this and its a pretty good freeware/donationware program
http://blog.softimage.cz/?page_id=83
Its designed for WM5 smart phones but will work on any WM5 with a small registry tweak:
quote from developer Hujer:
However, you are running DF on the PocketPC device and it is intended for Smartphones in this version.
The next release version will run on PocketPCs as well (even this is not "real" PPC version).
For now you can try to "fix" it by adding following registry entries.
Please add following keys to you device registry:
Create the key HKCU\ControlPanel\Profiles
Create the key HKCU\ControlPanel\Profiles\Silent
Create the key HKCU\ControlPanel\Profiles\Loud
Create the key HKCU\ControlPanel\Profiles\Normal
Create the key HKCU\ControlPanel\Profiles\Meeting
Now you should be able to run the DontForgetAdmin and set up all parameters.
Please note that due to missing Profiles on PocketPCs you have to switch off following options in the Admin:
- deactivate in following profile:
- switch to following profile (in both deactivation and re-activation section)
Click to expand...
Click to collapse
Enjoy!
"Dontforget" "dont" work for me...
I installed it and made the reg entries. But never have been able to get it to work. When I start the admin app I get...
"An unexpected error had occured in DontForgetAdmin.exe.
Select Quit and then restart this program, or select Details for more infomation."
For Details...
DontForgetAdmin.exe
Exception
MISC::HandleAr+0x5b
ComboBox::set_SelectedIndex+0x13
MainForm::MainForm_Load+0xa7f
Form::OnLoad+0x15
Form::_SetVisibleNotify+0x1d
Control::set_Visible+0x1f
Application::Run+0x7
MainForm::Main+0xa
Oh well... I guess I'll have to wait for the upgraded version unless someone has any idea about this???
Thanks,
-Pad
Found this hack on another website, which seems to do the trick (and yes, I did try it first ) - only problem is, the notification seems to carry on "for a while" after you've read/deleted the text message.
Give it a go, see what you think.
Mark.
Repeat notifications for text and email messages
Under HKCU/ControlPanel/Notifications find the following keys for Email and Text messages:
A877d65Axxxxxxx
A877d65Bxxxxxxx
Also find Key 15F11F90xxxx for reminders.
Copy the Options value from the Reminders key and overwrite the options value in both email and text message keys with this value (1073741853)
Once you do this, go to start - settings - sounds and notifications - notifications.
Under events, select new email message OR new text message and you'll notice that the repeat option that was greyed out is now enabled and can be selected.
You need to power off (NOT Soft Reset!!) your device to ensure that the HKCU registry hive is written away correctly.
Click to expand...
Click to collapse
I personally use phoneAlarm. Don't use this feature, but it can do the trick.
Great. But how do I...
Mark, Great reg hack but I have a question...
How do I tell which key is for what message applet?
Email ?
SMS ?
Palm SMS ?
Etc.
You have listed them for email and sms but is there a way to tell from within the key which one is for which msg applet?
Also, does anyone know where the value of "1073741853" is derived from?
@Padawan,
Each of the keys has a description field - just click on it in PHM RegEdit (or whatever you're using) and you can see what type of message action it relates to; e.g. A877d65B-xxxx-xxxx has "Messaging: New Text Message" as the value of the "Default" key.
The value "1073741853" is equivalent to 0x4000001D, and it's obviously some sort of bit mask - don't ask me what each bit means, coz I ain't found that out yet!
One other thing - the "Duration" key seems to be the length of time (in minutes) you want the notification repeated for - as I said earlier, it keeps going even if you've read/deleted the message, so it might be prudent to set it to 5 minutes in the Start | Settings | Sounds & Notifications | Notifications screen (it's the "Flash light for" setting). Setting it to zero/ seems to keep it going forever (well, I got bored of listening to it after 15 minutes and did a soft reset to shut it up ). You can also change it to another value (mine's set to 2 at the moment) using the registry editor.
Bit of a long reply, hope this explains everything in a bit more detail
Cheers,
Mark.
Repeat notifications for text and email messages
Under HKCU/ControlPanel/Notifications find the following keys for Email and Text messages:
A877d65Axxxxxxx
A877d65Bxxxxxxx
Also find Key 15F11F90xxxx for reminders.
Copy the Options value from the Reminders key and overwrite the options value in both email and text message keys with this value (1073741853)
Once you do this, go to start - settings - sounds and notifications - notifications.
UNder events, select new email message OR new text message and you'll notice that th repeat option that was greyed out is now enabled and can be selected.
Read, read, read and read again......
I already posted that...about 8 hours ago.....if you'd bothered to read the thread, you would have known that.....
sigh
ok you're right, 1 unuseful post on 237 is acceptable... excuse me :emb:
Fair enough....apology accepted, you're free to go
Mark, Just got the "long reply"...
Outstanding! I thought it was probably a bit mask too.
I owe you a pint if your ever in Indiana.
WM6
Mark, I just realized you are running WM6.
I'm still using WM5 on a Wiz100.
Must be why these mods dont seem to work quite right for me.
Please excuse my momentary lapse of stupidity...
WM5 or WM6....shouldn't matter
@Padawan, I don't understand why these don't/aren't working with your WM5 device - I only upgraded to WM6 over the weekend and I had tried the registry changes before that (though I lost them after a soft reset and never bothered to put them back in) when my Hermes was running WM5.
I don't think the registry changes are the definitive answer - I'd like to find out what all the bits in the 0x4000001D value mean....that might help the solution be a little more elegant.
What is happening to you to make you say "these mods dont seem to work quite right for me" - do you get repeated notifications, or nothing at all??
Mark.
Testing...
Mark, I have not had time to do any real experimentation on what is working and what is not. I'll get some data in a couple of days.
For a little rant... I have tried apReminderPlus- joke, SuperAlert-joke, DontForget- didn't run, PhoneAlarm- bloated, slows my device. Why cant someone make a simple, small footprint, reminder config app that actually works? I love everything else about my Wiz100 except for the awful reminder/notifications disfunction. I would gladly pay for something that worked.
Rant over.
;-)
Don't Forget Does Work
But you have to use a small WAV file. I tried using a ring wav for it and it freaked out. When I used an Alarm1 -3 it's fine. It's working great.
What I don't understand is why do they have to Gray out the Repeat option thats already built into the OS? Seem's like that would be the easiest way for it to work.
Thanks, Allen
Original settings?
Mark, What were the original settings for the registry entries under:
HKCU/ControlPanel/Notifications find the following keys for Email and Text messages:
A877d65Axxxxxxx
A877d65Bxxxxxxx
Also find Key 15F11F90xxxx for reminders.
Copy the Options value from the Reminders key and overwrite the options value in both email and text message keys with this value (1073741853)
(Per your posting). I lost my notes. I thought it was "16". You were right... the notification seems to keep going after you have acknowledged it or dismissed it. Its a little annoying.
Anyway, I found this and am trying it out.
http://www.pocketmax.net/smf/index.php?PHPSESSID=6d01b99b3c3f6d40c466801ad6bee953&board=41.0
Found it on another posting on xda. Small footprint, lean app just for notifications.
Nice little app, will give it a try myself!
@Padawan,
Thanks for your response; as far as the original values for the Email/SMS registry keys go, I thought they were both set to "1" Theoretically, if you go back into the Sounds & Notifications applet, select the New email or New text event and turn off the repeat tick box, the values should revert to their default. I'll give that a try in a few minutes.....
EDIT: The above doesn't work!! What you need to do is to go into the registry keys again and rename "Options" to "XOptions" (or whatever). Then go back into Start|Settings|Sounds&Notifications again, select the Notifications tab and find the "New email" and "New text" events; you'll find that most of the options are un-ticked and that the repeat option is grayed out again - just tick the options you want and the "Options" key get re-created in the registry - mine was set to 13.
Hope this helps....post back with your experiences of the new app - I'd be interested to hear!
Cheers,
Mark.
alarmPal from Pocketmax
Mark, I have started a dialog with Penguin at pocketmax to add support for the PalmSMS and Emoze email inbox event. I'll keep you posted how it turns out. The "normal" sms and email event repeat notifications work fine so far with alarmPal. Give it a try and see what you think...
Pocketmax told be they'll try to get back to me by Monday.
Looks promising so far...
-Pad

WM6 Voice command

Hello, on wm5 I used to be able to assign a voice command to 2 set a voice command for varios applications. For example I have media player set to start media player.
I cant seem to get this to work on wm6
Anyone else ?
Figured it out
Ok, I feel like a tard.
instead of voice command needing to be trained, it reads the program name.
Wich is kind of lame because on wm5 I would jsut say media.
and now i have to say start media player.
...
any comments on this ?
Under WM5 voice command was the same as under 6, are you sure it wasn't voice commander you were using?
With voice command you can say "play [media|album|genre|artist|anything]" if you say "media" it'll ask you for which one you want to play, for album, artist & genre it'll prompt you from the ones in your library.
Finally, you could rename the short cut to "media" and then you'll be good to go
Voice Commander?
Well, it was something default from the tmobile wm5. I could click the right soft key when an application was highlited and say add voice command.
Im curious about this voice commander though, I use the phone media player when i snowboard and that sounds like something awesome to be able to choose genre, playlist etc.
Where can i download it ?
I broke it.
I dont know why , it voice command was working fine. I changed the registry key
HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\AudioGateway
from OEMAGW.dll to bthag.dll
and rebooted.
after doing this when i hold the home key down it brings up a recording menu to record voice notes I guess.
I changed the registry key back to OEMAGW.dll and rebooted.
The same thing happens . only opens up some record thing.
Can somone explain how to get his work again ?
Reloaded
Just said screw it after mucking with it for a few hours. Perfomed a factory reset and started over.
Wishing i had sprite or something. but its nice to have it all clean and a fresh load of apps....

Screen broken but need text messages!

I currently have a T-mobile dash and unfortunately the screen got cracked earlier today. The problem I am faced with is I am receiving text messages which I need to order to coordinate my graduate research at college but I am, obviously, unable to read them from the phone. Is there any application that I can download that will allow me to at least view the messages on my computer? I have been looking around for one but it seems many require you to download an application on the phone and seeing as I can make heads or tails of anything on the screen that's rather impossible at the moment. Any help is appreciated!
True connect:
True Connect is an exciting new way to control your Windows Mobile device when its plugged in! Simply drag your mouse off the side of your monitor, and it appears on your phone. Now you can click on the menus, controls and applications in an intuitive, natural way. It even works for non-touch screen devices! Of course, you can also use the PC keyboard to type, copy and paste information.
Can't see your device screen without holding it up? No problem - just use On-Screen Connect to show your device screen on your PC. It slides in when you need it, tucking neatly out of the way when you don't.
New to version 3.0 is SMS Text Messages in Microsoft Outlook. Read, send, forward and manage your text messages just like your email.
Download True Connect, and try it free for 14 days. You'll see for yourself how easy it can be to do your phone calls, text messages, applications and just about everything else on your mobile.
I personally used this to retrieve texts for a friend of mine who also broke his screen.. worked perfectly.
I couldn't figure out how to do anything other than navigate using true connect. Wait... realized you have to have outlook installed.
it seems like it's a pay version of My Mobile
The coolest version i think is mDesktop it even has an Excalibur on the site as the phone they use! You can view and copy the texts. it even has a "copy chat" with the options "plain text" and "formatted HTML"
the only other thing i think i would want to be able to do is use my computer headphones and mic to talk on the phone.
EternalSoil said:
it seems like it's a pay version of My Mobile
Click to expand...
Click to collapse
I'm not the OP but i had the same problem and a lot of ones i tried required being able to see the screen to install the cab/execute the program. this worked perfect for me since my screen was completely broken. Thanks for the link!

Bugs in TouchFlo & missing items

Going from a TyTnII to a Touch Pro 2 a few bug & short comings become obvious in the TouchFlo interface.
Home
The Date is only in US format, it ignores the region settings on the device
The alarm frequently doesn’t go off
The region settings if you change home city around midnight it will show day for original home city as yesterday but not as tomorrow
The calendar only shows today & tomorrow, the is no way to change this to the next 3 – 5 – 7 days
You can’t add tasks or anything else to the list
People
It’s fiddly to thumb through the contacts without accidently selecting one, & the side images are very fiddly
Go to All People find someone, select a number call them, but no answer. Go back to get another number & you have to start all over again, rather than still being on the same contact or even that same place in the list
Messages
It takes too long (5 seconds) for a message to change to read. Sending a contact by 3G it goes as MMS not SMS which it does when working just in Windows 6.1
If it’s a long message you can’t scroll up / down
The tab to enable the predictive 4 words is missing, only being enabled in the registry, possibly related but full querty keeps changing to a numbers only keypad or HKLM\Software\Tegic\eT9\Ime.change CurrentET9Style from 0 to 1
Internet
Once active it doesn’t time out after any time. Hence opening you up to extra data charges & lower battery life
(If you want to stop it auto connecting, just put a user name but now password in the connections setting)
Calendar
No week view
Music
Takes a long time to load
No ABC list at side (as in contacts) with 5GB of music it’s a lot of scrolling
Library only shows those on Device unless you change it in WMP.
Camera
Why isn’t the 5 MP like the touch HD?
Why isn’t the GPS location enabled to start, rather than having to go into the registry
Stocks
I don’t know as I don’t do them
Settings
This looks better in 2.5
Buttons
Only one can be remapped – I use Phone button long hold to get into Windows 6.1
A number of games, while in the game could be remapped for left right turn fire
Software
Record isn’t there – so no more voice memos / call record mid call
Also there wasn’t a radio, but thanks to http://forum.xda-developers.com/showthread.php?t=521356 there is & it even has RDS, but more than 6 memories would be nice.
Even if it has a radio it still needs TMC for the traffic update in the CoPilot 7 GPS
Why when you upgrade 6.0 to 6.1 & I guess to 6.5 the whole device gets wiped, you have to load all the software again and there is no way of keeping scores or levels.
I had a TREO & the software took a normal back up, then apply that to a replacement & you can’t see the difference. Why can’t Windows backup do this?
Voice Recorder & Radio : it all depends on where you get your device. Mine comes with both.
Upgrade ROM wipes everything : that has always been the case with Pocket PC, not just with wm6
Wow, that's a long rant. But a lot of the stuff can be addressed or will be in the next revision of TF3D.
cjatcti said:
The Date is only in US format, it ignores the region settings on the device
Click to expand...
Click to collapse
You can change the date format with Advanced Config tool.
cjatcti said:
The region settings if you change home city around midnight it will show day for original home city as yesterday but not as tomorrow
Click to expand...
Click to collapse
This is a little weak. You're deliberately doing something that a normal person would not normally do just to try to trick the device. I'm not buying this rant.
cjatcti said:
The calendar only shows today & tomorrow, the is no way to change this to the next 3 – 5 – 7 days
Click to expand...
Click to collapse
Really should search for such a common issue.
cjatcti said:
You can’t add tasks or anything else to the list
Click to expand...
Click to collapse
You can use Manila Today.
cjatcti said:
It’s fiddly to thumb through the contacts without accidently selecting one, & the side images are very fiddly
Click to expand...
Click to collapse
This will be fixed with Manila v2.5
cjatcti said:
Go to All People find someone, select a number call them, but no answer. Go back to get another number & you have to start all over again, rather than still being on the same contact or even that same place in the list
Click to expand...
Click to collapse
Use the phone app. IMHO, it's not as flashy but faster to search for a name in the phone app. Just type the person's name either with the dialpad or slideout keyboard.
cjatcti said:
Once active it doesn’t time out after any time. Hence opening you up to extra data charges & lower battery life
Click to expand...
Click to collapse
Opera does time out on me quite a bit. If it takes too long to read from a site, it gives the 500 error timeout. Anyway, you can choose to completely kill Opera from your running programs. Search for it if it really bothers you. I think someone from the Topaz forum figured it out.
cjatcti said:
No week view
Click to expand...
Click to collapse
Fixed in Manila v2.5
cjatcti said:
Takes a long time to load
No ABC list at side (as in contacts) with 5GB of music it’s a lot of scrolling
Library only shows those on Device unless you change it in WMP.
Click to expand...
Click to collapse
I have quite a bit of music on my SD card and it doesn't take an annoyingly amount of time to load. Besides, when it's loading, your device is still very much functional.
There should be a search function to find a particular song. But I think it fine as long as all your music are tagged appropriately so that you can search via album or artist.
The library shows all music in your SD card and in your My Music folder in main memory. I don't see anything wrong with this setup. Where else would you want the library to look?
cjatcti said:
Record isn’t there – so no more voice memos / call record mid call
Click to expand...
Click to collapse
Record is still there. It just no longer has a dedicated program link. Just go to Notes. Go to menu-view recording toolbar.
cjatcti said:
Why when you upgrade 6.0 to 6.1 & I guess to 6.5 the whole device gets wiped, you have to load all the software again and there is no way of keeping scores or levels.
Click to expand...
Click to collapse
This a little annoying. But I take this as an opportunity to clean out my device. I put organize all files into their respective folders, decide whether or not a particular app is useful enough to be reinstalled, etc.
Thank you for the reply & the links, I wasn’t trying to rant, just list the easily fixable short comings in one place & possibly HTC might get them fixed in a future release. I know it can be fun tinkering to improve, but I believe it should work out of the box.
Kitchens should be for extras
Time Zone Bug in the touch flow interface.
To avoid Outlook moving the times of my flights as the time zones change, I tell the phone not to auto update time zone & just change the time in my home town.
So when I arrived in Poland, I set my home town Cheltenham time on an hour. Later I discovered that the Phone had added GMT +1 Berlin & ignored the Warszawa time zone I had set.
When I came back to the US, turned on my phone looked later & it was asking me to select a city.
1) The problem with Outlook changing appointment times to suit time zones is just plane wrong.
2) Yet again Touch flow ignores a windows interface setting
3) It should at least ask you if it wants to change
4) It should look to see if you have a city in country you are in already selected instead of just adding more World Clock entries
you are saying that the week view is fixed in 2.5? is this out now or coming soon?
ty
frozenbutt said:
you are saying that the week view is fixed in 2.5? is this out now or coming soon?
ty
Click to expand...
Click to collapse
Of course, not officially released by HTC yet. But then, Windows Mobile 6.5 isn't officially released either and that didn't stop people from getting it on our devices...

[Q] Problem with Voice Actions/Vlingo???

I am quite frustrated, and wondering if there is a problem with my phone, or if I could have made some sort of unintentional setting change for my SGS2. I have had the phone for 2 weeks with no problems, but all of a sudden today my Google Voice Actions and Vlingo will not work. From my best assessment, it is not hearing my voice or not hearing it well enough to make anything out. Whenever I speak something into the phone -- and I have done this on this phone and my HD2 so I'm not new to speaking my requests -- it will sometimes immediately come back and say "No Matches Found". Once in a while it will open a browser window, and try to searc for 1 or two or three letter gibberish words: i.e. "bh", or "fns", or "g". It certainly does NOT recognize ANYTHING it used to! Just for fun, I downloaded JEANNIE, which seems to be another voice-action-type program. That also does not work. The microphone icon doesn't seem to light up much (which further makes me think it cannot "hear" me, and the program responds with, "pardon?" Phone calls I make are ok -- people can hear me -- just not these programs!! IS there a setting that I could have changed that prevents the programs from hearing my voice?? BTW, I did try to go to the Voice Actions app in MANAGE PROGRAMS and erased data, but that didn't help.
Any help would be greatly appreciated, otherwise I'll take it back to the store and see if they'll exchange it or know what's going on!
Thank you all for your reading this and for your help!
Wingmann
Did you reboot or at least kill and restart the app?
uninstall it and then reintall it i just tested mines and i hav no issuses but ive only had my sinse thursday plus i rooted mines and removed most of the carrier apps
dude vlingo sucks man, the galaxy version is so much better
Does anyone know how, when in car mode, to get VLingo to navigate to a contact (say Home, for example)? You would think this would be a basic function for a hands-free program in car mode, but I can't figure it out. Everytime I say "Navigate to Home", it tries to take me to some Home bakery or something like that. Can I even navigate to an address I give it with this thing?
I know it's been overhyped, but Siri is the one thing from that fruit phone I wish this phone had. Don't get me wrong. I was so close to getting the "other" phone, but opted for the Samsung instead. And after playing around with the iphone, I'm glad I did. But Vlingo seriously makes me want to punch it in the screen sometimes.
Well, I figured out how to get Vlingo to go home. Go to Vlingo->Settings->Voice talk Settings->Home address and type in your home address. Now you can say "Navigate to Home".
But after using it more, I see more problems with it. Vlingo can navigate to restaurants, but not contacts. It can call contacts, but not restaurants. WTF Vlingo?!? Can we get all of the above please in the near future?

Categories

Resources