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 2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #51 (permalink)  
Old 12-25-2009, 09:43 PM
rmcsilva's Avatar
Lurker
Offline
Pocket PC: HTC Touch HD
Carrier: TMN
 
Join Date: Dec 2009
Posts: 5
Reputation: 0
rmcsilva is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Program to disable TF3D?

Quote:
Originally Posted by Darkness231 View Post
Are you running an english ROM?

Since the program uses mortscript to read certain registry and file locations. If it cant find them (because they are named different) then it wont work.

Hi, and thank you for your quick reply. I'm running the latest official Rom from HTC, but the language is set to portuguese. Does this affect the registry and file locations? If so, can your program be "translated"? Thanks again.

Best regards,
Rui
Reply With Quote
  #52 (permalink)  
Old 12-25-2009, 11:28 PM
Darkness231's Avatar
mmmm Freebirds
Offline
Pocket PC: HTC EVO (X2)
Carrier: Sprint
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 rmcsilva View Post
Hi, and thank you for your quick reply. I'm running the latest official Rom from HTC, but the language is set to portuguese. Does this affect the registry and file locations? If so, can your program be "translated"? Thanks again.

Best regards,
Rui

Here is the script. To make it work with other languages, we would need:

What is the path for the today values
For English it is
HKLM\SOFTWARE\Microsoft\Today\Items\TouchFLO 3D\Enabled
HKLM\SOFTWARE\Microsoft\Today\Items\HTC Sense\Enabled

The exact locations of the SPB mobile shell executable
For english it is
\Program Files\Spb Mobile Shell\MobileShell.exe

The location of the program folder in the start menu
For english it is
\Windows\Start Menu\Programs\


If anyone that is familiar mortscript has any suggestions, feel free to comment.


Code:
TouchFLO3DEXIST =RegValueExists("HKLM", "SOFTWARE\Microsoft\Today\Items\TouchFLO 3D", "Enabled")
HTCSENSEEXIST = RegValueExists("HKLM", "SOFTWARE\Microsoft\Today\Items\HTC Sense", "Enabled")
ShellStorage = FileExists( "\Storage Card\Program Files\Spb Mobile Shell\MobileShell.exe")
ShellDevice = FileExists( "\Program Files\Spb Mobile Shell\MobileShell.exe")
ShellInternalStorage = FileExists( "\Internal Storage\Program Files\Spb Mobile Shell\MobileShell.exe")    
shellrunning = ProcExists("MobileShell.exe")

If (shellrunning)
    If (ShellStorage)
        run("Storage Card\Program Files\Spb Mobile Shell\MenuLauncher.exe","-stop")
    EndIf
    If (ShellDevice)
        run("\Program Files\Spb Mobile Shell\MenuLauncher.exe","-stop")
    EndIf
    If (ShellInternalStorage)
        run("\Internal storage\Program Files\Spb Mobile Shell\MenuLauncher.exe","-stop")
    EndIf
    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 (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
    If (ShellStorage)
        run("Storage Card\Program Files\Spb Mobile Shell\MenuLauncher.exe")
    EndIf
    If (ShellDevice)
        run("\Program Files\Spb Mobile Shell\MenuLauncher.exe")
    EndIf
    If (ShellInternalStorage)
        run("\Internal storage\Program Files\Spb Mobile Shell\MenuLauncher.exe")
    EndIf
    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
Reply With Quote
This post has been thanked 1 times.
  #53 (permalink)  
Old 12-26-2009, 10:29 AM
rmcsilva's Avatar
Lurker
Offline
Pocket PC: HTC Touch HD
Carrier: TMN
 
Join Date: Dec 2009
Posts: 5
Reputation: 0
rmcsilva is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Program to disable TF3D?

Thank you again for your help. I have been looking at the registry, and it is exactly the same for today values.

The location of the SPB mobile shell executable, however, is different:
instead of: \Program Files\Spb Mobile Shell\MobileShell.exe
it is: \Programas\Spb Mobile Shell\MobileShell.exe

The location of the program folder in the start menu was also different, but I already corrected it.

I would very much appreciate if you could change the location of the SPB MS executable for the one above, and post the new file (I can't do it myself, don't know how to).

Thank you.

Best regards,
Rui
Reply With Quote
  #54 (permalink)  
Old 12-26-2009, 11:18 AM
Darkness231's Avatar
mmmm Freebirds
Offline
Pocket PC: HTC EVO (X2)
Carrier: Sprint
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 rmcsilva View Post
Thank you again for your help. I have been looking at the registry, and it is exactly the same for today values.

The location of the SPB mobile shell executable, however, is different:
instead of: \Program Files\Spb Mobile Shell\MobileShell.exe
it is: \Programas\Spb Mobile Shell\MobileShell.exe

The location of the program folder in the start menu was also different, but I already corrected it.

I would very much appreciate if you could change the location of the SPB MS executable for the one above, and post the new file (I can't do it myself, don't know how to).

Thank you.

Best regards,
Rui

Try this and let me know if it works
Reply With Quote
This post has been thanked 1 times.
  #55 (permalink)  
Old 12-26-2009, 12:02 PM
rmcsilva's Avatar
Lurker
Offline
Pocket PC: HTC Touch HD
Carrier: TMN
 
Join Date: Dec 2009
Posts: 5
Reputation: 0
rmcsilva is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Program to disable TF3D?

It works just fine!

Thank you. You are a genius and a gentleman!

Best regards,
Rui
Reply With Quote
  #56 (permalink)  
Old 12-27-2009, 08:22 PM
scabbard's Avatar
Lurker
Offline
Pocket PC: HTC Fuze
Carrier: ATT
 
Join Date: May 2009
Posts: 5
Reputation: 0
scabbard is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Program to disable TF3D?

Was wondering if you might consider making one for TF3D, Iphone Today and Titanium? Thanks.
Reply With Quote
  #57 (permalink)  
Old 12-27-2009, 08:44 PM
Darkness231's Avatar
mmmm Freebirds
Offline
Pocket PC: HTC EVO (X2)
Carrier: Sprint
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 scabbard View Post
Was wondering if you might consider making one for TF3D, Iphone Today and Titanium? Thanks.
sure, just point me towards the iphone today plug in that you have installed

Last edited by Darkness231; 12-27-2009 at 08:47 PM.
Reply With Quote
  #58 (permalink)  
Old 12-27-2009, 08:52 PM
scabbard's Avatar
Lurker
Offline
Pocket PC: HTC Fuze
Carrier: ATT
 
Join Date: May 2009
Posts: 5
Reputation: 0
scabbard is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Program to disable TF3D?

Wow, thanks for the quick reply. Here is the link.

http://forum.xda-developers.com/showthread.php?t=508429
Reply With Quote
  #59 (permalink)  
Old 12-27-2009, 10:54 PM
Darkness231's Avatar
mmmm Freebirds
Offline
Pocket PC: HTC EVO (X2)
Carrier: Sprint
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 scabbard View Post
Wow, thanks for the quick reply. Here is the link.

http://forum.xda-developers.com/showthread.php?t=508429

Try this

EDIT: I made the choice font larger, and added the Androkkid option

Last edited by Darkness231; 12-28-2009 at 12:12 AM.
Reply With Quote
This post has been thanked 1 times.
  #60 (permalink)  
Old 12-27-2009, 11:14 PM
scabbard's Avatar
Lurker
Offline
Pocket PC: HTC Fuze
Carrier: ATT
 
Join Date: May 2009
Posts: 5
Reputation: 0
scabbard is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Program to disable TF3D?

Works like a charm. Will do a little more testing. Thanks. Two minor suggestions, though I kinda feel guilty for any suggestions because it works so well.

#1- Make Text larger so it's more finger friendly

#2- Make the program so that people may add or delete all available options as they need. For example, I am hoping that Androkkid will make a Today plugin for that program. If so, I would like that option included as well and I hate to ask you to do this again.

Again, truly one of the coolest programs. Thanks.
Reply With Quote
Reply

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


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 07:29 PM.


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