A followup. Carbon Emacs has a command do-applescript that I was using to get the focus back to the email program alpine.
(defun return-to-terminal () "End emacs-clients session and return to terminal" (interactive) (server-edit) (do-applescript "tell application \"Terminal\" to activate") ) Is there something that corresponds to do-applescript in Emacs.app? Or some other way to change the focus like that? Gil ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emacs-app-dev- mailing list Emacs-app-dev-@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-