Input project settings

Table of contents


Description

Using the input parameters, you can enter the values you need for your project,
for correct template running in ZennoPoster or ZennoBox .

Input settings are read only at the start of the thread!
Changes to the input settings during the execution of the project will not be reflected in the latter in any way until a new execution begins.


Add "Input Settings" to the project

To do this, you need to click " Add " on the static blocks panel of the ProjectMaker project editor , and in the context menu that appears, select " Add input settings ", or by right-clicking in any area of the lower part, call the context menu.

A corresponding icon will appear on the panel, which opens with a double click of the mouse.

Please note that this block cannot be simultaneously present in the project with the " Bot interface " block. When adding "Input settings", the "BotUI" interface block is removed! The same happens and vice versa! Be careful and pre-save the input interface settings!


Form for editing input parameters

Each parameter has the following attributes:

Name

The name of the parameter displayed to the user.
Type

The type of the parameter.

Input settings support different data types. The selected type determines what data the user can enter and how this setting will be displayed to him.

Below each type is described in detail, as well as a screenshot of how the setting is displayed to the user.


Default value

Value is the initial value of the parameter, which, when the template starts, will be in the project variable , in case the user ignored this parameter.
Save to variable

The name of the project variable, into which the value entered by the user in the form will be written.
Help

Reference explanation for the field, in the form of a tooltip.

Preview

At any time you edit the settings, you can see how they will be displayed to the user. To do this, click on the button with the "magnifying glass" icon on the right side of the window.

 

Export

Allows you to save the current settings to a file.

Import

Allows you to load settings from a file that were saved using the "Export" button

Default

Resets settings to default values

Move settings up and down

To move a setting higher or lower in the list, select it and move it using the “up” and “down” buttons on the right.

Remove a setting

To delete, select the setting and click the "Remove" button on the right side of the window

Copy variable macro to clipboard

In order to copy the macro of a variable to the clipboard, you need to click on the corresponding button opposite the required setting

Available parameter types

Description of types

Label

Title. It can be used as a visual separation of logical sections.

Boolean

Checkbox (check mark). Can be True or False.

Number

A field where you can specify an integer.

Text

Text field. Can contain single line text (default) or multi line text. To insert multi-thread text, you need to specify additional settings in the parameter name in the form: {multi | height}. For example, if you need a multi-line "Post" field with a height of 200 pixels, specify in the parameter name: Post {multi | 200}.

Single line text

Editor

End view

 

Multiline text

Editor

End view

Select

A group of radio buttons representing a choice of several options. You need to specify all possible options in the parameter name, for example: Proxy type {HTTP | SOCKS4 | SOCKS5}.

Editor

 

End view

 

FileName

Input field for specifying the path to a file or directory in the file system. You can register the path manually, or select a file / directory through the file selection window by clicking on the [...] button.

You can change the type of the dialog box that will open when you click on [...]:

Open file

Standard behavior for this field. A dialog opens for selecting an existing file. It is convenient to use when you need to select a file from which data will be read.

Save file

To call the dialog to save the file by clicking on [...], you need to add a construction of the form {save} to the name of the setting

This dialog is convenient to use when you need to specify a file into which the result of work will be saved.

Directory path

To specify the path to the directory, add {folder}to the parameter name

Dropdown

Drop-down list with a choice of value. There are 2 options for setting DropDown.

Display Items As Is

The options in the drop-down list will be displayed to the user in the same way as you specify them in the settings editor.

  1. The syntax is as follows - Setting name {Option1 | Option2 | Option3}, respectively, the default value will be one of the options.

Named elements

Syntax - Setting name {Option1: Value1 | Option2: Value2 | Option3: Value3} The user will be shown the name (Option1, Option2, Option3), but the value (Value1, Value2, Value3) will be included in the template

DropdownMultiSelect

Dropdown list with multiple choice of values. Allows you to select several values at the same time by checkboxes. Several values can be entered in the default value field, separated by commas.

The syntax is the same as for the DropDown type - Setting Name {Option1 | Option2 | Option3} (As-is only, named values are not supported). If several options are selected, they will be saved to a variable separated by commas.

CaptchaModules

Selecting a “ captcha recognition ” service from the list available in ZennoPoster.

SmsServices

Select the “ Receive SMS ” service from the list available in ZennoPoster.

TranslateServices

Selection of the “ Text Translation ” service from the list of those available in ZennoPoster.

Tab

Add another tab to the settings window. For example, you can separate “basic” and “advanced settings” by tabs.

Comment

A field with a comment or description that allows you to insert text across the full width of the settings window. Can be used as a description for other settings.

Formatting

The displayed value in the Comment type can be slightly modified. Supported tags:

Description

Синтаксис

Description

Синтаксис

Thumbnail

<b>Text</b>

Font color

<color=red>Red font color</color>

<color=#00ff00>Font color green</color>

Text size

<size=6>Text size</size>

Example of formatted text

First line -<size=15><b><color=green>Green, bold text. Font size - 15</color></b></size>

The second line is - <size=13><color=#0E17C8>Blue text. Font size - 13</color></size>

Password

The data entered in the field of this format will be hidden from view (but will be included in the project in clear text)

Unicode characters

All fields can use Unicode characters. Example - ± ♻ 📞 💙 🚢 (note that the browser displays them in color, and in the settings these characters are displayed as shown in the screenshot below):


Overview of input settings in ZennoPoster

In order to open the “Input project settings”, you need to right-click on the project, in the context menu that appears, select “Settings” or double-click on the project in the list of projects.

Here is such a simple and at the same time understandable, the interface for the input settings turned out, it did not take much time or any special knowledge! Now we can easily transfer our project to another user of ZennoPoster, and he will not have any problems running the project!