General XMetaL Discussion
akheiljain August 25, 2015 at 3:36 pm
We have a macro for XMetal with Application.CurrentUserName which returned the logged in user in XMetal 8.0. Since we updated to XMetal 9.0, the Application.CurrentUserName return null. Wondering what has changed and how I can get the currentusrname in a XMetal Macro.Derek Read August 25, 2015 at 7:23 pm
This API returns the value set for the “Name” value in the “Current User” section in the Options dialog (Tools > Options).
The value is stored in the file %appdata%SoftQuadXMetaL9.0xmetal90.ini as follows:
user_name = [string]
If it is returning an empty string that suggests the value is not set.
- You must be logged in to reply to this topic.