Word-Automation

Hi all,

I have a problem with automating Word (Using the REFramework).
I make a screenshot from another application, open a Word-Workbook with application scope, place the picture there and close the workbook.
After that, I take another screenshot and do the same like above.

My problem is, when I use a fixed path for the workbook, it perfectly works.
When i use a variable which I declared in the init state and give via argument to the process it always overwirtes the existing workbook with a new one and only one picture is saved. The varible has 1:1 the same value…

Can somebody explain, why this happens?

1 Like