all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Open existing instance of app from Emacs lisp?
@ 2008-08-09  0:29 David Wolff
  2008-08-09 12:42 ` B. T. Raven
  0 siblings, 1 reply; 5+ messages in thread
From: David Wolff @ 2008-08-09  0:29 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

I used "w32-shell-execute" to open apps, documents, and folders in a
very nice little menu, eg:

     (w32-shell-execute "open" "C:/WINDOWS/System32/calc.exe")

Then I discovered that, for applications, this always opens a new
instance instead of switching to an existing copy.  Just what I need, 14
copies of Calculator running.  :-)

So okay, I can use w32-window-exists-p to see if the app is already
running.  Now is there a way to activate the app from lisp?

Thanks --

David

(Remove "xx" to reply.)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-13  0:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-09  0:29 Open existing instance of app from Emacs lisp? David Wolff
2008-08-09 12:42 ` B. T. Raven
2008-08-12  2:25   ` David Wolff
2008-08-12  2:56     ` Ian Swainson
     [not found]     ` <mailman.16433.1218509611.18990.help-gnu-emacs@gnu.org>
2008-08-13  0:53       ` David Wolff

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.