View Single Post
  #37 (permalink)  
Old 12-18-2009, 11:38 AM
Darkness231's Avatar
Darkness231
mmmm Freebirds
Offline
Location: Cedar Park, TX
 
Join Date: Mar 2007
Posts: 1,218
Reputation: 2543
Darkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Program to disable TF3D?

Quote:
Originally Posted by william_fold View Post
Works perfectly Darkness! Thx! I tried a couple things with mortscript and couldnt get it to work! Thx again!

I see what I did wrong, i missed a " on the "Windows Default" in my script
Yeah I had a problem with the fact that windows default had quotation marks around it. This is what worked for me

Code:
TouchFLO3DEXIST =RegValueExists("HKLM", "SOFTWARE\Microsoft\Today\Items\TouchFLO 3D", "Enabled")
HTCSENSEEXIST = RegValueExists("HKLM", "SOFTWARE\Microsoft\Today\Items\HTC Sense", "Enabled")
Titanium = RegRead( "HKLM", "SOFTWARE\Microsoft\Today\Items\""Windows Default""", "Enabled")


    If (Titanium = 1 )
    RegWriteDWord("HKLM", "SOFTWARE\Microsoft\Today\Items\""Windows Default""", "Enabled","0")
        If (TouchFLO3DEXIST)
        RegWriteDWord("HKLM", "SOFTWARE\Microsoft\Today\Items\TouchFLO 3D", "Enabled","1")
        Endif
        If (HTCSENSEEXIST)
        RegWriteDWord("HKLM", "SOFTWARE\Microsoft\Today\Items\HTC Sense", "Enabled","1")
        EndIf
    RedrawToday
    Show ( "Desktop" )

    Else
    If (Titanium = 0 )
        If (TouchFLO3DEXIST)
        RegWriteDWord("HKLM", "SOFTWARE\Microsoft\Today\Items\TouchFLO 3D", "Enabled","0")
        Endif
        If (HTCSENSEEXIST)
        RegWriteDWord("HKLM", "SOFTWARE\Microsoft\Today\Items\HTC Sense", "Enabled","0")
        EndIf
    RegWriteDWord("HKLM", "SOFTWARE\Microsoft\Today\Items\""Windows Default""", "Enabled","1")
    RedrawToday
    Show ( "Desktop" )
    Endif
__________________

Good things don't end in 'eum,' they end in 'mania'...or 'teria'
Easily switch between TouchFlo and Mobile Shell
If you like my work feel free to

Last edited by Darkness231; 12-18-2009 at 06:22 PM.
Reply With Quote
This post has been thanked 2 times.