Re: iGuidance MortScript to get around TTS not always working
I found out that instead of trying to close all of the apps that use tmail.exe that you can actually CLOSE (not kill) tmail.exe. This way you dont have to try and close 9 apps that use it =)
Same thing for AudioManager_eng.exe - you can close it.
I am about to test this out:
RegWriteDword("HKLM","Software\Microsoft\Today\Ite ms\HTC Sense","Enabled",0)
RedrawToday
While ( ProcExists("manila.exe") )
Sleep(500)
EndWhile
RegWriteDword ("HKLM","Software\Microsoft\Today\Items\HTC Sense","Enabled",1)
ErrorLevel("syntax")
# Close ActiveSync
While ( WndExists( "ActiveSync" ) )
Close("ActiveSync")
Sleep(500)
EndWhile
While ( ProcExists("repllog.exe") )
Kill("repllog.exe")
Sleep(500)
EndWhile
# Close text messageing, SMS / MMS, Outlook E-mail, guilette.net, etc...
If ( ProcExists( "tmail.exe" ) )
Close("tmail.exe")
Sleep(500)
EndIf
While ( ProcExists("tmail.exe") )
Kill("tmail.exe")
Sleep(500)
EndWhile
# Close HTC Music Player
If ( ProcExists( "AudioManager_eng.exe" ) )
Close("AudioManager_eng.exe")
Sleep(500)
EndIf
While ( ProcExists("AudioManager_eng.exe") )
Kill("AudioManager_eng.exe")
Sleep(500)
EndWhile
# Close Album & AlbumSearcher
While ( WndExists( "Album" ) )
Close("Album")
Sleep(500)
EndWhile
While ( ProcExists("HTCAlbum.exe") )
Kill("HTCAlbum.exe")
Sleep(500)
EndWhile
While ( ProcExists("AlbumSearcher.exe") )
Kill("AlbumSearcher.exe")
Sleep(500)
EndWhile
# Close Contacts
While ( WndExists( "Contacts" ) )
Close("Contacts")
Sleep(500)
EndWhile
While ( ProcExists("poutlook.exe") )
Kill("poutlook.exe")
Sleep(500)
EndWhile
# Close Wi-Fi Router
While ( WndExists( "Mobile Wi-Fi Router" ) )
Close("Mobile Wi-Fi Router")
Sleep(500)
EndWhile
While ( ProcExists("CMInternetSharing.exe") )
Kill("CMInternetSharing.exe")
Sleep(500)
EndWhile
# Close Communications Manager
While ( WndExists( "Comm Manager" ) )
Close("Comm Manager")
Sleep(500)
EndWhile
While ( ProcExists("CommManager.exe") )
Kill("CommManager.exe")
Sleep(500)
EndWhile
# Close Opera
While ( WndExists( "VZW Today" ) )
Close("VZW Today")
Sleep(500)
EndWhile
While ( ProcExists("Opera9.exe") )
Kill("Opera9.exe")
Sleep(500)
EndWhile
# Close Task Manager
While ( WndExists( "Task Manager" ) )
Close("Task Manager")
Sleep(500)
EndWhile
While ( ProcExists("TaskMgr.exe") )
Kill("TaskMgr.exe")
Sleep(500)
EndWhile
# Close File Explorer
While ( WndExists( "File Explorer" ) )
Close("File Explorer")
Sleep(500)
EndWhile
While ( ProcExists("fexplore.exe") )
Kill("fexplore.exe")
Sleep(500)
EndWhile
# Close Excel
While ( WndExists( "Excel Mobile" ) )
Close("Excel Mobile")
Sleep(500)
EndWhile
While ( ProcExists("pxl.exe") )
Kill("pxl.exe")
Sleep(500)
EndWhile
RunWait("\Storage Card\IGO8\iGO8.exe")
While ( ProcExists("iGO8.exe") )
Sleep(500)
EndWhile
RedrawToday
Last edited by nayr1482; 01-30-2010 at 03:26 PM.
|