cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-744375%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EJMP%20Project%20-%20Run%20script%20on%20start%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-744375%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20script%20stored%20in%20jmp%20project's%20content.%20I%20want%20the%20script%20to%20run%20when%20the%20project%20starts.%20also%20if%20i%20have%20a%20script%20saved%20in%20datatble%20which%20is%20in%20project%20content%20how%20to%20run%20that%20also%20automatically.%3C%2FP%3E%3CP%3EAdditionally%20i%20want%20to%20dock%20the%20window%20generated%20by%20the%20script%20automatically%20where%20i%20specify.%20Is%20this%20possible%2C%20Kindly%20guide%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-744375%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomation%20and%20Scripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-744383%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20JMP%20Project%20-%20Run%20script%20on%20start%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-744383%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIn%20the%20project%20window%2C%20go%20to%20Project%3D%26gt%3BSettings%20and%20there%20you%20will%20see%20an%20On%20Open%20script%20box%20that%20you%20can%20place%20a%20script%20into.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EConcerning%20a%20Table%20Script%20that%20run%20when%20a%20data%20table%20is%20opened%2C%20create%20a%20table%20script%20and%20name%20it%20%22On%20Open%22%20and%20it%20will%20run%20when%20the%20data%20table%20is%20opened.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-745336%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20JMP%20Project%20-%20Run%20script%20on%20start%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-745336%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F2687%22%20target%3D%22_blank%22%3E%40txnelson%3C%2FA%3E%26nbsp%3BThank%20you%20it%20works%20fine..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20is%20there%20anz%20waz%20to%20lock%20the%20docking%20of%20the%20window%20that%20is%20opened%20bz%20this%20script.%20Like%20i%20want%20to%20dock%20this%20window%20alwazs%20to%20the%20right%20so%20that%20other%20componsents%20dosent%20get%20distrubed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-745370%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20JMP%20Project%20-%20Run%20script%20on%20start%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-745370%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIf%20there%20is%2C%20a%20way%20to%20lock%20the%20docking%20of%20the%20window%2C%20I%20am%20not%20aware%20of%20how%20to%20do%20that.%26nbsp%3B%20Possibly%20another%20member%20knows%20how%20to.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-783170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20JMP%20Project%20-%20Run%20script%20on%20start%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-783170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECan%20%22%3CSPAN%3EProject%3D%26gt%3BSettings%20-%20On%20Open%22%20be%20accessed%20through%20JSL%3F%20I%20have%20a%20(project%20specific%20-%20so%20can't%20do%20template)%20%22project%20setup%22%20script%20that%20I%20run%20with%20every%20new%20project%2C%20and%20I%20would%20like%20to%20populate%20the%20%22on%20open%22%20automatically%20when%20each%20new%20project%20is%20created...%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
ComplexNerd
Level III

JMP Project - Run script on start

Hello guys,

 

I have a script stored in jmp project's content. I want the script to run when the project starts. also if i have a script saved in datatble which is in project content how to run that also automatically.

Additionally i want to dock the window generated by the script automatically where i specify. Is this possible, Kindly guide 

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: JMP Project - Run script on start

In the project window, go to Project=>Settings and there you will see an On Open script box that you can place a script into.

 

Concerning a Table Script that run when a data table is opened, create a table script and name it "On Open" and it will run when the data table is opened.

Jim

View solution in original post

4 REPLIES 4
txnelson
Super User

Re: JMP Project - Run script on start

In the project window, go to Project=>Settings and there you will see an On Open script box that you can place a script into.

 

Concerning a Table Script that run when a data table is opened, create a table script and name it "On Open" and it will run when the data table is opened.

Jim
ComplexNerd
Level III

Re: JMP Project - Run script on start

@txnelson Thank you it works fine..

 

But is there anz waz to lock the docking of the window that is opened bz this script. Like i want to dock this window alwazs to the right so that other componsents dosent get distrubed.

txnelson
Super User

Re: JMP Project - Run script on start

If there is, a way to lock the docking of the window, I am not aware of how to do that.  Possibly another member knows how to.

Jim
Stefan
Level III

Re: JMP Project - Run script on start

Can "Project=>Settings - On Open" be accessed through JSL? I have a (project specific - so can't do template) "project setup" script that I run with every new project, and I would like to populate the "on open" automatically when each new project is created...

Recommended Articles