I have a set of working JSL scripts which take user input (part ID, test date, test limits, file format etc), loads the test data (from a database for the entered parameters), plots the graphs etc and then passes all of them to journal which is then saved as PDF (while the test data is saved in user specified file format). Currently, this works only for one given set of user input (part ID, test date, test limits, file format etc). As the partIDs change, the other user input parameters usually remain same.
In this view, I would like to change my script where the flow is
- A list, say an excel spreadsheet, consisting of part IDs is loaded via a dialog box (via File -->Open-->).
- User presses a button, say an OK button and one by one the part IDs are taken from the spreadsheet and JMP does its work, saves the PDF (and data file) in user specified location and moves on to the next part ID until the end of the list.
- A progress bar is displayed while the operations are underway.
Normally, I would do such a thing under a for loop but as I have only recently learnt JMP, I was wondering if there are functions already existing which I could use rather than writing my own?
Can I request a simple example of a JSL script for creating a dialog box for browsing an excel file, loading it and performing operation on each row (of the first column) and existing. This should get me started (status bar can come in the next iteration).
Thanks.
When it's too good to be true, it's neither