Hi folks!
Is there anyway to get the current loaded catalog's name?
Thanks!
Help - How to get the loaded catalog's name?
-
highend
- Posts: 15003
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Help - How to get the loaded catalog's name?
The file name + path?
Sure...
1. The path is relative to <xydata>
2. You need XY v17.80.0012 or later
Sure...
Code: Select all
$tmpIni = "%TEMP%\dummy.ini";
savesettings , $tmpIni;
$curCatalog = getkey("1", "mruCatalogs", $tmpIni);
delete 0, 0, $tmpIni;
text $curCatalog;
2. You need XY v17.80.0012 or later
One of my scripts helped you out? Please donate via Paypal
-
rebr
- Posts: 41
- Joined: 17 Nov 2013 20:30
Re: Help - How to get the loaded catalog's name?
Thank you soooo much!!highend wrote:The file name + path?
Sure...
1. The path is relative to <xydata>Code: Select all
$tmpIni = "%TEMP%\dummy.ini"; savesettings , $tmpIni; $curCatalog = getkey("1", "mruCatalogs", $tmpIni); delete 0, 0, $tmpIni; text $curCatalog;
2. You need XY v17.80.0012 or later
XYplorer Beta Club