Background: See other threads on the need to close ActiveSync, such as Fake Server Trick, etc.
Usage: This is a method to gracefully close activesync when you are done with it.
If you have installed
Mortscript, then make a text file with notepad on your PC computer with exactly what's between the beer drinkers below:
:cheers:
If( WndExists( "ActiveSync" ) )
Close( "ActiveSync" )
EndIf
:cheers:
After saving it, change the extension from .txt to .mscr
Now using Activesync, copy this file to your \Windows\Start Menu\ somewhere.
Now you can access it using the start menu in windows. You can also assign it to a launcher in a today program from SBSH, SPB, etc. The attached image would be useful as an icon for one of these programs. The image is 64x64 for VGA usage, you may have to resize it to half the size if you want to use a smaller icon or have a QVGA device.
PERSONALLY, I have assigned it to the wireless button on my Axims. After I pick it up out of the cradle, I simply press this hardware button and Activesync is closed. It's become second nature. I never used the wireless button anyway.
You can set it to a button by using Start>Settings>Buttons
Advanced
If you like a audible confirmation whether it was closed. Choose your own sounds if you want. Mine makes a tumbling sound when it closes AS, or gives me the raspberries if it's already closed. If you have different system sounds, you will have to change them anyway.
If( WndExists( "ActiveSync" ) )
Close( "ActiveSync" )
Playsound( "\Windows\type.wav" )
Else
Playsound( "\Windows\Splat.wav" )
EndIf
I hope somebody finds this useful!