cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Stefan_Moser
Level III

Prompt user to save as project at end of workflow

Similar post here for files but this solution didn't work for the project: https://community.jmp.com/t5/Discussions/Prompting-user-to-Save-As-at-the-end-of-workflow/td-p/91457... 

I'd like to prompt the user to save as a project since I have a workflow embedded in in a project for ease of use. Ideally the function is the same as if the user clicked File --> save project as. So a window pops up, they select a directory, and create a name for the project. 

The JSL below currently returns the following error

 

proj = Current Data Table() << Get Project();
proj << Save As("");

Stefan_Moser_0-1769805696636.png

This version runs without error but doesn't actually do anything:

proj = Current Data Table() << Get Project();
proj << Save As();
1 ACCEPTED SOLUTION

Accepted Solutions
hogi
Level XIII

Re: Prompt user to save as project at end of workflow


Is the current window  the project window?

Then 

@Stefan_Moser wrote:

the same as if the user clicked File --> save project as.


 can be implemented via

main menu("Save Project As")  

 

View solution in original post

2 REPLIES 2
hogi
Level XIII

Re: Prompt user to save as project at end of workflow


Is the current window  the project window?

Then 

@Stefan_Moser wrote:

the same as if the user clicked File --> save project as.


 can be implemented via

main menu("Save Project As")  

 

Stefan_Moser
Level III

Re: Prompt user to save as project at end of workflow

Awesome yes @hogi it will always be the current window since the workflow is executed in that window.

Recommended Articles