How get string from same dialog box for Artist and album Artist

Hello everybody,
I have create 2 separate button for update selected files Artist and album Artist metadata from 2 dlgstring
Button no 1:
SetAttr META "artist:{dlgstring|গানের আর্টিস্ট/ শিল্পীর নাম লিখুন.\nThen click OK.}"
for update Artist Metadata

Button no 2:

SetAttr META "albumartist:{dlgstring|গানের অ্যালবাম আর্টিস্ট/ শিল্পীর নাম লিখুন.\nThen click OK.}"

for update Album Artist Metadata.
Now I want them marge into 1 Button. So How can I do that? How can I get the same string from Artist Dialog string for the Album Artist Dialog string?

@set artist={dlgstring|গানের অ্যালবাম আর্টিস্ট/ শিল্পীর নাম লিখুন.\nThen click OK.}
SetAttr META "artist:{$artist}" "albumartist:{$artist}"
1 Like

Thanks Leo, Can you help me to find $artist this kinds of keywords in documentation, When should I use the $ sign?

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Other_codes.htm