How to which tag database is currently active?
I often switch tag databases and it seems there is no visual clue of which tag database is currently in use.
How to check which tag database is currently active?
Re: How to check which tag database is currently active?
Only idea...
Put it on a toolbar button and use it to load / reload or see the current one (does only work if you've used it at least once to load a db^^)
Requires:
Configuration | General | Refresh, Icons, History | Scripting | [x] Remember permanent variables
Put it on a toolbar button and use it to load / reload or see the current one (does only work if you've used it at least once to load a db^^)
Requires:
Configuration | General | Refresh, Icons, History | Scripting | [x] Remember permanent variables
Code: Select all
perm $P_TAG_DB;
$menu = "";
if (exists($P_TAG_DB) == 1) { $menu = $P_TAG_DB . <crlf> . "-" . <crlf>; }
$menu .= "Load Tags Database|load" . <crlf> . "Reload Tags Database|reload";
$sel = popupmenu($menu, 6:=<crlf>, 7:="|");
end (!$sel);
if ($sel == "load") {
$path = ($P_TAG_DB) ? gpc($P_TAG_DB, "path") : <xydata>;
$db = inputfile($path, ".dat", "Select your tag database file...");
if ($db) { $P_TAG_DB = tagload($db, 3); }
} elseif ($sel == "reload") {
#887;
} else {
tagload($P_TAG_DB, 0);
}
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 64886
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How to check which tag database is currently active?
1) It is listed at the bottom of Help | Various Information.
2) It is shown in the tooltip of the label right of the Options button here: Configuration | Information | Tags | Currently 894 items are tagged.
3) It's in the variable
2) It is shown in the tooltip of the label right of the Options button here: Configuration | Information | Tags | Currently 894 items are tagged.
3) It's in the variable
<xytagdat>.FAQ | XY News RSS | XY X
Re: How to check which tag database is currently active?
Then you should use it in the titlebar template 
One of my scripts helped you out? Please donate via Paypal
-
GreetingsFromPoland
- Posts: 283
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: How to check which tag database is currently active?
i updated my title bar template and it is quite useful; however, when using , is there a way to only show the file (right now it shows full path and file) ?
Code: Select all
<xytagdat>-
admin
- Site Admin
- Posts: 64886
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How to check which tag database is currently active?
Next beta:
Code: Select all
+ New variable:
<xytagdatfile> = XYplorer tags database file (without path)
FAQ | XY News RSS | XY X
Re: How to check which tag database is currently active?
Thank you all!
XYplorer Beta Club