View Single Post
Old 12/27/2006, 04:05 PM   #5 (permalink)
hannip
Member
 
Join Date: Jan 2006
Location: Northern Virginia
Posts: 4,352
Thanks: 11
Thanked 93 Times in 33 Posts
Default Poutlook folder switching

Here is a simple script that you can assign to a button. I tried it assigned to the side button on my treo 700wx and it works great. If you have AE Button Plus you can assign it to any button.

What this script does is open the mail folders for selection. If tmail isn't active it will launch it first. Before this you had to whip out your stylus to switch folders unless you have WM5 AKU3.0 or later.

Code:
# FolderSwitch.mscr - launches or makes tmail active and sends a
#   screen tap to open mail folders.

callTmail = True
current = ActiveProcess()

If ( current eq "tmail.exe" )
     callTmail = False
EndIf

If ( callTmail )
   Run( "\Windows\tmail.exe" )
   Sleep( 5000 )
EndIf

activeWin = ActiveWindow()
MouseClick( activeWin, 10, 10 )
Attached Files
File Type: zip FolderSwitch.zip (349 Bytes, 463 views)
hannip is offline   Reply With Quote