Dear All,
Note: I am new to both Alarm Handler and EDM.
I am trying to understand the command options for EDM. I would like to make
Alarm Handler open appropriate EDM screens. Alarm Handler provides for
adding a button which will issue a command to the shell. However if I make
that command something like
edm_startup.sh my_screen.edl
Then each time one of the buttons is pushed you get a new instance of EDM
with its own little square top level window.
However if the first instance of EDM is launched with the -server option:
edm -server -display $DISPLAY -x &
Then I can issue subsequent commands in the form:
edm -display $DISPLAY -open my_screen.edl &
which will either
1) open the screen if it is not already open, without starting a new
instance of EDM
2) do nothing if the screen is already open
The problem is that if the screen is already open it is not raised to the
front in which case the Alarm Handler button appears to do nothing instead
of directing your attention to the intended screen.
Is there another way to go about this? Thanks.
John Dobbins
Lab for Elementary Particle Physics
Cornell University
Ithaca, NY