I need to add collecting user inputs to an existing older python script (it initially used fixed number and location for files) ... I can get it to somewhat work using the "jmp.run_jsl()" function - it displays the dialog, gets the input and can print it out - but doesn't actually return anything to Python. I've tried the Python Send and Get commands but the variable remains '0'.
I started off just using the sample script for a modal dialog and wrapping it in jmp.run_jsl() - and as noted it pops up the dialog but nothing comes back to Python.
I assume it would be more efficient to do it in Python but not sure if that is possible (of course the other option is to rewrite in JSL but need the core code portable for other uses). Am I missing something?