View Single Post
  #222 (permalink)  
Old 07-26-2007, 09:50 PM
Twinsen's Avatar
Twinsen
Regular 'Geeker
Offline
Location: Memphis, TN
 
Join Date: Jul 2007
Posts: 308
Reputation: 55
Twinsen is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to Twinsen Send a message via AIM to Twinsen Send a message via Yahoo to Twinsen
Re: Change ringtone/vibrate/LED flash characteristics

Quote:
Originally Posted by stroths
Taken from XDA

Change ringtone/vibrate/LED flash characteristics

If you would like more control over how your device rings/vibrates/flashes its LEDs on events, you can can change the Script values of these events. For example, for an incoming call performing 'activate device, play ringtone, wait 3 seconds, repeat':

HKCU\ControlPanel\Sounds\RingTone0\Script = "apw3r" (REG_SZ string, no quotes)

For performing 'active device, set volume to 33%, play ringtone, set volume to 67%, play ringtone, set volume to 100%, play ringtone (no repeat)':

HKCU\ControlPanel\Sounds\RingTone0\Script = "ac33pc67pc100p" (REG_SZ string, no quotes)

The following are the full codes available to you. Please note that all the codes are executed simultaneously except after a ringtone play / wait code. E.g. 'v1p' will vibrate and play at the same time, while vibrating for 1 second. But 'pv1' will play the ringtone through all the way first, then start vibrating for 1 second.

a = activate device
cN = set volume to N in percentage max volume
fN = flash notification LED for N seconds
p = play ringtone. Note that this will play the ringtone all the way through before continuing with the next code.
r = repeat. Note that this should be the last code in your Script string, if used at all.
vN = vibrate for N seconds
wN = wait for N seconds. Note that the device will wait this long before continuing with the next code.

NOTE: I tried this on my 6800 and changed the v0 to v1 and now it doesn't have just one long vibrate. v0 sets it to vibrate always.
I got this hack to work, but it looks to me like you have to do this for every single custom ringtone that you have. There isn't a way to make this a "global ringtone" setting so it works on ALL ringtones?
__________________
--Twinsen--
Reply With Quote