> Is there a way to specify a starting directory for File Selector in Display Editor?
The file selector widget in the display builder has a string-valued PV.
The value of that PV is either a directory, a full path of directory and file name, or just a file name depending on how it's configured.
When you activate the file selector, is opens a file dialog with the current directory resp. file when the value of the PV has a directory in it.
So once you select something and it sets the PV, the next time you open the file selector it's back where you left it.
Initially, if the value of the PV should be empty, the file selector will use the directory in which CSS was started
For the SNS script that starts css, we have a line
cd /the/beamline/directory
before launching CSS, so you'd then start out in that beamline directory.
-Kay
- Replies:
- RE: Starting Directory for File Selector in Display Editor Gregory, Ray
- References:
- Starting Directory for File Selector in Display Editor Gregory, Ray
- Navigate by Date:
- Prev:
Starting Directory for File Selector in Display Editor Gregory, Ray
- Next:
RE: Starting Directory for File Selector in Display Editor Gregory, Ray
- 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
- Navigate by Thread:
- Prev:
Starting Directory for File Selector in Display Editor Gregory, Ray
- Next:
RE: Starting Directory for File Selector in Display Editor Gregory, Ray
- 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
|