I’m new to UI.Vision and this is my first RPA macro. I have, as the topic says, the captureDesktopScreenshot step and it works perfectly when debugging (step or run macro from the UI), but fails when I have the macro scheduled and furthermore, I’m not finding the logs from the macro anywhere to check what was the issue.
This is the part that fails (last one)
{
“Command”: “storeEval”,
“Target”: “var d=new Date(); d.getDate()+’-’+((d.getMonth()+1))+’-’+d.getFullYear();”,
“Value”: “Date”
},
{
“Command”: “storeEval”,
“Target”: “(new Date().getHours()+” " + new Date().getMinutes() + " " + new Date().getSeconds()) ",
“Value”: “Time”
},
{
“Command”: “store”,
“Target”: “screen-{Date}-{Time}.png”,
“Value”: “Screen”
},
{
“Command”: “captureDesktopScreenshot”,
“Target”: “c:/temp/kuva_${Time}.png”,
“Value”: “”
},
{
“Command”: “pause”,
“Target”: “2000”,
“Value”: “”
},
Any ideas?
Thanks,
Jukka