
05-15-2009, 07:18 PM
|
 |
PPCGeeks Regular
Offline
Location: WYO
|
|
Join Date: Jan 2007
Posts: 194
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
|
Re: Weather Watcher Mobile (version 1.0.17)
This is a very nice weather program it's very comprehensive and has detailed weather alert information. The problem is that on most of our devices Opera is the default HTML viewer. Rather than switch to IE, this person on Singer's Creations forum has found the way to keep Opera as the default viewer and just open IE for Weather Watcher. It's a good hack and worked on my Touch Pro.
Thanks goes to WMM on http://www.singerscreations.com/Foru...49c9d&start=15
QUOTE:
I've managed to get Weather Watcher to function on my AT&T HTC Fuze (HTC Touch Pro) with Opera still installed as the default browser. This is a really cool app -- thanks! -- so I wanted to share what I've learned in hopes that it will help someone else. (This assumes that you're at least passingly familiar with editing the Windows registry.)
It appears that Weather Watcher just creates .html files for the various views and then launches them. That relies on the normal file association mechanism, i.e., it uses the value of the registry key HKCR\.html\Default as an indirect to another key in HKCR to determine the launch action. With Opera as the default browser, that value is _htmlfile_Opera, so Windows executes the command given in HKCR\_htmlfile_Opera\Shell\Open\Command\Default to launch the .html file.
The simplest edit would be to change the value of that key, HKCR\_htmlfile_Opera\Shell\Open\Command\Default, from its default value of "\Windows\OperaL.exe" "%1" to
iexplore.exe file: %1
However, making just that change would leave the icon for the various files in File Explorer as the Opera icon instead of the Internet Explorer icon. It also changes the file associations for several other suffixes, not just .html files. Also, it just "feels wrong" to change the application referred to in a key named _html_Opera to be something other than Opera. I wanted to make the change with the smallest impact possible and also to be consistent, so what I did was:
1) Clone the HKCR\_html_Opera subtree to a new subtree named _html_iexplore (this is really easy in Total Commander's registry editor, I don't know about others).
2) Change HKCR\_html_iexplore\DefaultIcon\Default to have the value iexplore.exe,-1003.
3) Change HKCR\_html_iexplore\Shell\Open\Command\Default to have the value "iexplore.exe file: %1" (without the quotes).
4) Change HKCR\.html\Default to have the value _html_iexplore.
This still leaves the file associations for .htm and .xml using Opera instead of Internet Explorer.
Anyhow, Weather Watcher now works, and Opera is still the default browser for everything except local .html files.
Hope this helps.
:QUOTE
It would be great to get an update to this app so that it played nice with Opera.
[pt]
|