Hi,
I'm trying to use the 'get script' function to grab information about a report that I can combine together to a .jrp file (similar to the details in this post except I'm going to add some extra components that will run on boot for the .jrp, hence why I'm not using the 'Save Report Window' function). The problem I'm having is that I need to grab the OutlineBox titles (which are named by the script, and are tracked in case of changes in my wider project) as well, otherwise I can't actually recreate the report. See the example below.
Am I missing something in the 'get script' function to bring in the OutlineBox titles as well?
names default to here(1);
report_win = New Window("Testwindow",
Outline Box("tester",
Textbox("Test")
)
);
report_win << Get Script;
//RESULT: V List Box( V List Box( Outline Box( Text Box( "Test" ) ) ) )
//If I were to take that same script and try to recreate as a jrp file works....
//New Window("test", V List Box( V List Box( Outline Box( Text Box( "Test" ) ) ) ))
//resulting failure: expected character arg 1 in access or evaluation of 'Outline Box' , Outline Box/*###*/(Text Box( "Test" ))