>
If a particular bob file has already been used to start a GUI like this is there a way for following instances to pop that GUI up rather than starting a copy of it?
That's exactly what it does when I try it with
... -server 9876 -resource "/path/to/file.bob"
First time around it launches a new instance and opens that file.
Follow-up invocations direct the already running instance to open the file, or if it's already open, pop it to the front.
Details can vary if the resource is not recognized as being the same.
For example, if you already have it open as "/path/to/file.bob?MACRO=A" and then open "/path/to/file.bob?MACRO=B", that's a different thing.
And if you add special macros like "target=window", that might not be handled at this time.
-Kay
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Steve Kinder - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, February 1, 2023 9:06 AM
To: tech-talk <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] Phoebus server mode question
I am starting GUIs as separate windows via a server mode phoebus instance, as say the following example.
java -jar C:/phoebus/release/product.jar -server port -resource C:/path/to/file?target=window@widthxheight+x+y
If a particular bob file has already been used to start a GUI like this is there a way for following instances to pop that GUI up rather than starting a copy of it?
Thanks
Steve
|