1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Phoebus server mode question |
From: | "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov> |
To: | tech-talk <tech-talk at aps.anl.gov>, Steve Kinder - STFC UKRI <steve.kinder at stfc.ac.uk> |
Date: | Wed, 1 Feb 2023 14:49:56 +0000 |
>
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
|