FAQ

(Back to overview)

Product:
WinOLS

Topic:
Scripting

Question:
I would like to use both absolute and relative (or percentual) replacements in a script. But WinOLS always executes only one type.

Answer:
Normally WinOLS regards "replace" instructions with different modes as alternatives. The user may decide which mode should be used when replacing and the other instructions will be ignored. You can instruct WinOLS to execute all "replace" instructions by putting the instruction "replace_mode all" (requires WinOLS 1.088 or higher) at the beginning of the script. Of course, the user cannot choose a mode for execution for this kind of script.