It doesn’t happen with all macros, although I have had it happen before. Typically if I restart Kantu and run a different macro and come back to it it’ll work again but this one that trick didn’t work. Below is the code. It errors out on the first command.
{
“CreationDate”: “2018-6-1”,
“Commands”: [
{
“Command”: “csvRead”,
“Target”: “YT flag.csv”,
“Value”: “”
},
{
“Command”: “while”,
“Target”: “”${!csvReadStatus}" ==“OK”",
“Value”: “”
},
{
“Command”: “selectWindow”,
“Target”: “tab=open”,
“Value”: “${!COL1}”
},
{
“Command”: “click”,
“Target”: “css=#action-panel-overflow-button > span”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “css=#action-panel-overflow-menu > li:nth-child(1) > button > span”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=Z”,
“Value”: “Z”
},
{
“Command”: “click”,
“Target”: “id=Z”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “css=#action-panel-report > div > div.options-renderer-form > ul > li.options-renderer-category.clearfix.options-renderer-category-selected > p > span > select”,
“Value”: “”
},
{
“Command”: “select”,
“Target”: “css=#action-panel-report > div > div.options-renderer-form > ul > li.options-renderer-category.clearfix.options-renderer-category-selected > p > span > select”,
“Value”: “label=Scams / fraud”
},
{
“Command”: “click”,
“Target”: “css=#action-panel-report > div > div.options-renderer-form > ul > li.options-renderer-category.clearfix.options-renderer-category-selected > p > span > select”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “css=#action-panel-report > div > div.options-renderer-buttons.clearfix > button.yt-uix-button.yt-uix-button-size-default.yt-uix-button-primary.options-renderer-button-submit > span”,
“Value”: “”
},
{
“Command”: “storeEval”,
“Target”: “${!csvReadLineNumber}+1”,
“Value”: “!csvReadLineNumber”
},
{
“Command”: “csvRead”,
“Target”: “YT flag.csv”,
“Value”: “”
},
{
“Command”: “endWhile”,
“Target”: “”,
“Value”: “”
}
]
}