Internet technologies and communication software



Environment-Variables in Templates?
Search  Users  Rules 
Close
Login:
Password:
Forgot your password?
Register
Login
 
Pages: 1
RSS
Environment-Variables in Templates?, How to retrieve e.g. USERNAME in macros?
 
Is there a way to get the values of the environment-variables, defined by SET or by Windows itself?

I want to create a generic signature-template for our workgroup and switch the phonenumbers and so on for every user - so I need something like:

IF %ENV_USERNAME="abc":"%_Phone='1234'":...

Best regards for any hint!
 
Use the %XMP_Envir macro from the extended macro plugin. You can download that from: http://www.gaijin.at/tbpxmp.php
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Thanks for the hint, but with this trick, I have to install the Plugin on all computers ...

Any other "build in"-solution?
 
You could use a common address book. Set all of your users in that AB and set their phone number in the business phone number field.
You can use that number with the %ABFromBusPhone macro.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
is there an English help for this plugin?
 
No, the extended macro plugin is a project by a German user of TB. Is there some specific item you don't understand or is your German totally negligable?
In the first case I'm willing to help, but I don't feel much for translating the complete help from one foreign language to another.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
Pages: 1
Users browsing this topic (1 guests)