PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-21-2009, 11:08 AM
codearn's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
Threadstarter
 
Join Date: Nov 2008
Posts: 44
Reputation: 55
codearn is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: email notification changes

mortscript seems to be exactly what's needed. thanks a lot. any idea what registry key controls notifications?
Reply With Quote
  #2 (permalink)  
Old 04-21-2009, 11:13 AM
haus's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo Shift 4G
Carrier: Sprint
 
Join Date: Jan 2007
Posts: 711
Reputation: 765
haus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: email notification changes

If nobody knows / replies to you, the way I look for reg changes is to set the notifications to one state, export the registry using Resco Registry, then switch the notifications and export again (to a different filename). Then I transfer the .reg files to the desktop and do a comparison with pspad. You only need to export HKCU and HKLM (saves a lot of time), generally speaking.

Here's a sample mortscript I tried building to switch from normal to silent mode:

Code:
Choice( "Profile","Select Profile","Normal","Silent")
Case(1)
	# NORMAL MODE
    RegWriteString ("HKCU", "ControlPanel\Profiles\","ActiveProfile", "Normal")
    RegWriteString ("HKCU", "ControlPanel\Sounds\RingTone0\","Sound", "\Windows\Rings\Ring-Generic1.wma")
    RegWriteDword ("HKCU", "ControlPanel\SoundCategories\Ring\","InitVol", 2)
    RegWriteDword ("HKCU", "ControlPanel\Volume\","Ringer", 1717986918)
    RegWriteDword ("HKCU", "ControlPanel\Volume\","Volume", 2290649224)
    RegWriteDword ("HKCU", "ControlPanel\Notifications\ShellOverrides\","Mode", 0)

    exit
Case(2)
	# SILENT MODE
    RegWriteString ("HKCU", "ControlPanel\Profiles\","ActiveProfile", "Silent")
    RegWriteString ("HKCU", "ControlPanel\Sounds\RingTone0\","Sound", "*none*")
    RegWriteDword ("HKCU", "ControlPanel\SoundCategories\Ring\","InitVol", 0)
    RegWriteDword ("HKCU", "ControlPanel\Volume\","Ringer", 0)
    RegWriteDword ("HKCU", "ControlPanel\Volume\","Volume", 0)
    RegWriteDword ("HKCU", "ControlPanel\Notifications\ShellOverrides\","Mode", 2)

    exit
Case(0)
    exit
EndChoice
exit
Unfortunately it doesn't work because something about the TP volume applet undoes some of the changes moments after they are made. But it's a start. Once you figure out the registry changes, plug them in the script in place of mine and the mortscript should do what you want.

Last edited by haus; 04-21-2009 at 01:23 PM.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 04:06 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com