realbasic-nug
[Top] [All Lists]

Launching an external app and waiting for it to quit

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Launching an external app and waiting for it to quit
From: Frédéric Calendini <fcalendini at creativevalley dot tv>
Date: Thu, 31 Jan 2002 11:44:26 +0100
Hi,

I'd like to launch an external app from my main project made with RB. This
external app is a preferences module that will also be made with RB.
So I want to be able to launch the prefs modules from my main app, display
it in front of my general interface, and make my main app wait for the user
to close the prefs module. Moreover, I don't want the user to bring the main
interface to the front, over the prefs module (in other words, I want the
prefs GUI behave like a modal window).

I know the "launch" method of the folder item class, but I don't know how to
make my main app wait until the prefs module is closed. And I don't know how
to force the prefs module to always stay in front of the main app.

If someone can give me some tips, I'd be really grateful. Thank you in
advance.

F. Calendini

PS : I'm aware that I could merge the 2 RB projects, and call my prefs
module as a modal window, but that's not what I want to do. I want to keep
my prefs module as an external executable for various reasons.




<Prev in Thread] Current Thread [Next in Thread>