Being that the "ok" button has no real purpose when you're on the today screen I'd like to set it to run the palm threaded messaging application only when on the today screen. I've created a script that will do this, but the only way I've been able to duplicate the "ok/close" command is to click in the upper right hand corner. This works, but it's a little bit slower when closing numerous applications. Does anyone know the actual "ok/close" command?

Here's the script I have now:
------------------------------------------------------------------------
# Ok button will launch Palm Messaging Application only on today screen. If any other program is running it minimizes the window.

If wndActive "Desktop"

Run( "\Windows\messaging.lnk" )

else

Mouseclick 230,12

EndIf
------------------------------------------------------------------------

Any help would be appreciated