|
Hello!
I used the script in this topic to create the Outlook signature for my network. But I have a problem in understanding something.
The script skips null lines, but with this I have problems. The skipping is only working if I use kix32.exe, but not with wkix32.exe. That is my first problem.
The next, what I don't understand, is WHY the lines are skipped. The code for that is: If $ $ ? EndIf
Of for better understanding: If $ $ ? EndIf
Why are the lines skipped with this code? As example, my template contains the following line: &COMPANY&<br>
When &COMPANY& is replaced with an empty string, in the $-variable should remain: <br>
But when I execute the script with kix32.exe, the string is empty and so it will not be processed by the if-statement, but if I execute it with wkix32.exe, it contains <br>. Why?
The behaviour with wkix32.exe is logical, but with kix32.exe it's unlogical, but it does, what we want. Can someone explain me this behaviour?
I changed the script, that I can also process txt- and rtf-templates. It works, but there is the problem with empty lines much bigger.
Bye
Edited by Christof (2010-02-15 02:35 PM)
|