Hello,
I've put together a script that starts by creating a project. After doing all sorts of things within the project, I get a variable name that want to use to name/save the project.
I've tried using a global namespace to transfer the variable from inside the project to no avail.
Any suggestion would be very appreciated
Names Default To Here( 1 );
Clear Log();
project = New Project();
project << run script(
dt = New Table( "test table for project", add rows( 1 ) );
dt << save( "$DOCUMENTS/test delete.jmp" );
if(isnamespace("trans")==0, trans = new namespace("trans"));
trans:pjname = "blogus project.jmpprj";
);
name=trans:pjname;
show(name);
project << Save As( "$DOCUMENTS/" || name );