I have a piece of code like the following, but when I try running it in debug mode line by line, it works, but when I run it, it says it doesn't work. Does anyone know what's wrong with it?
//my code
string path0 = replace($project_pathname(0), “/“, “\”)
string pathimage = $path0 + “test.png”
form tool;
form raise toolasspreviewform ;
export toolassemblypreview $pathsave
Yes\n
form cancle toolasspreviewform
tool accept