Variables including Conditions

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
Christof Schardt
Posts: 1
Joined: Sat Jan 19, 2019 10:00 am

Variables including Conditions

Unread post by Christof Schardt »

Scenario: Help source created for multiple variants of a program, e.g. BASIC, STANDARD, PRO. The Name of the program should be written according to the target, e.g. myprog basic, myprog pro and so on.
Of course this is possible using conditional output. But this is cluttering the editor-text for single words.
Much better: define a user variable <%PROG%> which hides the condition and does not clutter the editor.
Is that achievable and how?
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Variables including Conditions

Unread post by Tim Green »

Hi Christof,

You can't do this directly but you can achieve the same thing with the help of the Publishing Task Manager. This allows you to create publishing "jobs" called "actions" that include all your publishing settings, including custom definitions of your variables. In addition to this each action can also include the output format, output path and file name, include options and even external programs or batch files to be run before and after publishing. You can group any number of these actions into a "task", which then publishes all the actions in a single batch when you execute it.

See this chapter in the help for instructions:

https://helpandmanual.com/help/hm_worki ... tasks.html
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply