I suggest adding a new property ".picfile" for the identifier $toolbar()
that will return the path to the picture file used as the toolbar button icon.
Syntax: $toolbar(name/N).picfile
Return: images\ico\picfile.ico
Note: This can only work if the button was created/added by the user himself using the command /toolbar -a
, where he specified the path to the external picture file.