Show actual user name in XttGraph

More
1 day 21 hours ago #381 by Foxman
Hi all,

does anyone know a way to show the actual user in a XttGraph? 

/Martin

Please Log in or Create an account to join the conversation.

More
2 hours 33 minutes ago #383 by claes
Hi Martin,

It’s possible with the script function GetUser() and by using an extern declared variable.

Use a value field and add dynamics DigScript. Insert this text into DigScript.Script

extern string current_user;
current_user = GetUser();

To continuously execute the script create a Dv that is always true and connect DigScript.Attribute to this Dv. Also set DigScript.Level to 1.

Connect the Value dynamics to the extern variable by setting Value.Attribute to $ccm.current_user##String80.

/Claes

Please Log in or Create an account to join the conversation.

Time to create page: 1.099 seconds
Powered by Kunena Forum