%_username% as placeholder

It would be nice to have the ability to write in an export or action the username.

For: https://docs.mp3tag.de/export

e.g. (First line of an export file)
$filename(C:\Users\%_username%\Desktop\filename.txt,utf-8)

I'm guessing from the topic request Mp3Tag doesn't support environment variables? As otherwise it would be possible to use %userprofile% to complete the path up to and including the username.

You can use $getenv(USERPROFILE) (and $getenv(USERNAME) if you only need the user name).

4 Likes

Yes!
$filename($getenv(USERPROFILE)\Desktop\Description.txt,utf-8)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.