Page 1 of 1

User name variable in a expression

PostPosted: Sat Aug 30, 2025 6:39 am
by 4StarGen
This code works
Code: Select all
'{'+format('IMG:C:\Users\fourstar\AppData\Local\PokerTracker 4\Themes\tryout\try.png}')


But I need the code to be dynamic based on the user name, so instead of 'fourstar', every user will have a different username and I'd like to change the code accordingly, how can I do that?

Re: User name variable in a expression

PostPosted: Sun Aug 31, 2025 6:27 am
by Flag_Hippo
I don't have anything for that I'm afraid.

Re: User name variable in a expression

PostPosted: Sun Aug 31, 2025 1:37 pm
by 4StarGen
Thanks for the reply anyway, I've found a viable workaround