Pages: 1
RSS
variable % for one computer, need a variable for User Name on specific PC
 
Hello,

I've a problem. many users have configured the same mailbox contact@domain.com
The folder of this mailbox is shared on a network share and the reply template configuration is the same for all user.
Is it possible to have a variable ( %USER_NAME) that we can customize in general configuration of TheBat ?
Or obtain login Windows User Name in a variable.

For "Isabelle " user, we could have a end template like

" %USER_NAME ( %ACCOUNTNAME )" => "Isabelle ( contact@domain.com )"

Thank's.
  Olivier
 
Yes, there are macros %AccFromName% and %AccFromAddr% that return person's name and email of the current account. Unfortunately, there is no macro to obtain login Windows User Name. There are the following macros that you may also find useful:


ACCOUNTNAME
AccountConnectionType
AccountId
AccountCheckOnStartup
AccountAutoCheck
AccountPeriodCheck
AccountPeriodCheckT
AccountDir
AccountAttachDir
AccFromName
AccFromAddr
AccReplName
AccReplAddr
AccMemo
Pages: 1