Code: Select all
tagitems("label");
Thanks,
FH
Code: Select all
tagitems("label");
Code: Select all
$labels = regexmatches(readfile("<xydata>\tag.dat", , 2000), "^((.+?)\|\|(.+?)){7,}$");
$label = gettoken(gettoken($labels, tagitems(), ";"), 1, "||");
I am t r u l y spoiled, darn. I wasn't even thinking of doing it myself after I didn't find any straight SC command. :moronicon:highend wrote:Code: Select all
$labels = regexmatches(readfile("<xydata>\tag.dat", , 2000), "^((.+?)\|\|(.+?)){7,}$"); $label = gettoken(gettoken($labels, tagitems(), ";"), 1, "||");
Next version you can do this:Filehero wrote:only returns the ID. Currently there's no way to retrieve a label's caption using SC, right?Code: Select all
tagitems("label");
Thanks,
FH
Code: Select all
echo tagitems("label", 3:=2);
echo tagitems(3:=2); //"label" is default anyway
admin wrote:Next version you can do this:Code: Select all
echo tagitems("label", 3:=2); echo tagitems(3:=2); //"label" is default anyway