Help - How to get the loaded catalog's name?
Posted: 24 Apr 2017 19:38
Hi folks!
Is there anyway to get the current loaded catalog's name?
Thanks!
Is there anyway to get the current loaded catalog's name?
Thanks!
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Code: Select all
$tmpIni = "%TEMP%\dummy.ini";
savesettings , $tmpIni;
$curCatalog = getkey("1", "mruCatalogs", $tmpIni);
delete 0, 0, $tmpIni;
text $curCatalog;
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