Framescript question: setting the FM workspace
Hi there!
I am on FM 2020 structured XML, with FrameScript 7. In order to address an apparent bug, we need to explicitly set the FM workspace. (This is because, if the Structure View is open, running a script on our books always launches a popup asking to save structure.fm. I don't want to save structure.fm and am not even sure if that is a file that exists. But this hangs the run. So I want to set the workspace right at the start to one that does not have the Structure View open.).
According to the FrameScript doc, the command is:
Set ret = eUtl.SetWorkSpace{fm_workspace};
where ret is the return code, and fm_workspace is the name of the workspace.
We have tried:
Set ret = eUtl.SetWorkSpace{Struct_noStructureView};
Set wrkName = eUtl.GetWorkSpace{};or just
Set FMWorkspace = eUtl.SetWorkSpace{Struct_noStructureView};
But we always get the error: "FrameScript: Run Error (Invalid Property) on command (SET) at Line (17) -- which always points to the eUtl.SetWorkSpace command. I think the syntax is correct according to the docs, and I don't know what the invalid property is. I thought it might be the custom workspace, so we also tried the built-in workspace "Authoring" so I don't think it's that.
Any ideas?
Thanks so much,
Shelley
