Re: iGuidance MortScript to get around TTS not always working
Hi, here is my latest...this seems to be working 100% of the time. I am still tweaking (notice I removed the while procexists after running igo8 - i found it isn't necessary - seems the RunWait command pauses there until you exit whatever app you call).
I took all of the kill commands out (for now). So far haven't had any issues...but of course have to keep testing.
If ( ProcExists("manila.exe") )
RegWriteDword("HKLM","Software\Microsoft\Today\Ite ms\HTC Sense","Enabled",0)
RedrawToday
While ( WndExists( "Start" ) )
Sleep(500)
EndWhile
RegWriteDword ("HKLM","Software\Microsoft\Today\Items\HTC Sense","Enabled",1)
EndIf
ErrorLevel("syntax")
If ( ProcExists("repllog.exe") )
Close("ActiveSync")
While ( WndExists( "ActiveSync" ) )
Sleep(500)
EndWhile
EndIf
If ( ProcExists( "tmail.exe" ) )
Close("Outlook E-mail")
While( WndExists( "Outlook E-mail") )
Sleep(500)
EndWhile
EndIf
If ( ProcExists( "tmail.exe" ) )
Close("Messaging")
While( WndExists( "Messaging") )
Sleep(500)
EndWhile
EndIf
If ( ProcExists("HTCAlbum.exe") )
Close("Album")
While ( WndExists( "Album" ) )
Sleep(500)
EndWhile
EndIf
If ( ProcExists("poutlook.exe") )
Close("Contacts")
While ( WndExists( "Contacts" ) )
Sleep(500)
EndWhile
EndIf
If ( ProcExists("CommManager.exe") )
Close("Comm Manager")
While ( WndExists( "Comm Manager" ) )
Sleep(500)
EndWhile
EndIf
If ( ProcExists("TaskMgr.exe") )
Close("Task Manager")
While ( WndExists( "Task Manager" ) )
Sleep(500)
EndWhile
EndIf
If ( ProcExists("fexplore.exe") )
Close("File Explorer")
While ( WndExists( "File Explorer" ) )
Sleep(500)
EndWhile
EndIf
RunWait("\Storage Card\IGO8\iGO8.exe")
RedrawToday
|