User name variable in a expression

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

User name variable in a expression

Postby 4StarGen » Sat Aug 30, 2025 6:39 am

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?
4StarGen
 
Posts: 1019
Joined: Sat Mar 08, 2014 6:58 am

Re: User name variable in a expression

Postby Flag_Hippo » Sun Aug 31, 2025 6:27 am

I don't have anything for that I'm afraid.
Flag_Hippo
Moderator
 
Posts: 17040
Joined: Tue Jan 31, 2012 7:50 am

Re: User name variable in a expression

Postby 4StarGen » Sun Aug 31, 2025 1:37 pm

Thanks for the reply anyway, I've found a viable workaround
4StarGen
 
Posts: 1019
Joined: Sat Mar 08, 2014 6:58 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 6 guests