Logical
Logical –> IF
Logical operator IF is responsible for all conditional processes. By using ‚If’ we can make our projects more flexible. It helps with diversity of the task. For example registered by registration form with a variable number of fields to fill out, or a variable number of steps. More often this operator is used to confirm the success of the task – here you have sample template.
1. Select ‚Logical –> IF’ from the left menu.
2. Using greater than operator for digital values. If 3 is greater than 2 condition is fulfilled.
3. Condition is fulfilled – Alert ‚Good’.
It is good to remember couple of things when you are working with ‚If’ operator. If you use alphabetic values you need to use single quotation, but if you use digital values you don’t need to. ‚IF’ use Javascript, so you can use comparison operators:
— ‚==’ – equal to.
— ‚!=’ – not equal.
— ‚>’ – greater than.
— ‚>=’ – greater than or equal to.
— ‚<‚ – less than
— ‚<=’ – less than or equal to.
— ‚||’ – or.
— ‚&&’ – and.
1. Select ‚Logical –> IF’ from the left menu.
2. Two conditions (one condition fulfilled, one condition not fulfilled)
3. Values variables.
4. Because operator ‚||’ (or) has been used and one condition is fulfilled, the task has been done correctly.
Logical operator ‚IF’ is really good with counting, so you can safely use it with simple mathematical action like: multiplication, division, addition and subtraction.
Check out this on the movie.
Logical –> Switch
Switch allows diversified number of random variation of doing the task. For example if you use this function, when you have the template created already, which should initiating the activity on our or someones FanPage, you can let this template to do one of random activities like liking the post or liking the photo or sharing the photo for example. Doing this randomly makes your activities look more natural and should not arouse more suspicion.
1. Select ‚ Logic –> Switch’ from the left menu.
2. Set numerical ‚Random’ on range 0-5 and insert to variable.
3. Click to edit.
4. Select variable from point 2
5. In column ‚Value’ insert digital values, which can be randomly selected from already defined range from point 2. Column ‚#’ after completed by column ‚Value’ will be automatically filled. In this particular case values from column ‚#’ and ‚Value’ will be the same, but this is not always like that. You can check this out on the movie underneath.
And you can check the sample template.
Look on the movie.
Logical –> Alert
Define alerts from Zennoposter level.
1. Select ‚Logical –> Alert’ from the left menu.
2. Define alert.
3. Show in Zennoposter and automatically close after 10 seconds.
Logical –> GoodEnd, BadEnd, Pause.
Functions ‚BadEnd’ and ‚GoodEnd’ help you with additional actions with the project, if it will be successful or not. ‚GoodEnd’ is not really something extraordinary and you can replace that by binding another tasks to the project. ‚BadEnd’ gives you more opportunities, because the failure of the project can occur in many places.
1. Select ‚Logical –> Pause, GoodEnd, BadEnd’ from the left menu.
2. Insert numerical ‚Random’ in digital range 0-11.
3. Insert ‚Pause’ with a break in the range from 1 to 3 seconds.
4. Insert ‚IF’ with content ‚{-Variable.random-} > 5’.
5. ‚BadEnd’ in case, when something goes wrong will go on the page
l4.net.pl/zennoposter. It is not always like that, that ‚BadEnd’ ends only by one action. In case, when the project failed, you have an opportunity in every moment to do another project as well advanced as this previous. Underneath you have simple example:
6. ‚GoodEnd’ – alert.
Look on the template
Process mail –> Receive emails
This function connects with mailbox and pull out from the base of emails only precise information, which are needed to complete a specific task by using defined regex. This function is most commonly used to download the activation link.
1. Select ‚Receive emails’ from the left menu.
2. Fill data to login to mailbox (it could be variable).
3. Insert regex, which will find email by tittle.
4. Insert regex, which will search in the email only precise information.
5. Create and save to variable.
If you have problems with configuration, check how it should works on the ready template.