This is not possible yet. But there are two options:
-
Change the start value of the loop button in the loop dialog box.
-
Or, instead of using the loop button, you can use a while… end loop inside the macro. This allows you to easily set the start and end value:
{
"Name": "loop test",
"CreationDate": "2021-3-25",
"Commands": [
{
"Command": "store",
"Target": "3",
"Value": "current"
},
{
"Command": "store",
"Target": "5",
"Value": "end"
},
{
"Command": "while_v2",
"Target": "${current} <= ${end}",
"Value": ""
},
{
"Command": "echo",
"Target": "current loop=${current}",
"Value": ""
},
{
"Command": "executeScript_Sandbox",
"Target": "return Number (${current}) +1 ;",
"Value": "current"
},
{
"Command": "end",
"Target": "",
"Value": ""
}
]
}