I’m trying to do the following:
I need a countdown loop that starts, for example, from page 100 and decreases until it reaches page 1.
I’ve been trying to adapt the code below, but it stays in a loop on page 100 and doesn’t decrease to 99, 98, etc.
Where is the error? Here’s the code below:
"{
"Name": "REGRESSIVE LOOP WEBSITE PAGES",
"CreationDate": "2024-3-23",
"Commands": [
{
"Command": "times",
"Target": "100",
"Value": "contador",
"Description": ""
},
{
"Command": "store",
"Target": "100",
"Value": "contador",
"Description": ""
},
{
"Command": "label",
"Target": "inicio",
"Value": "",
"Description": ""
},
{
"Command": "open",
"Target": "https://mysite.com/page/${contador}",
"Value": "",
"Description": ""
},
{
"Command": "store",
"Target": "${contador}-1",
"Value": "contador",
"Description": ""
},
{
"Command": "gotoIf_v2",
"Target": "${contador} > 1",
"Value": "inicio",
"Description": ""
},
{
"Command": "end",
"Target": "",
"Value": "",
"Description": ""
}
]
}