Subscribe Bookmark RSS Feed

Open JMP scripts in Windows Explorer without executing them

gandi2223

Community Trekker

Joined:

Oct 1, 2014

In the past, when I double-clicked a JMP script in Windows Explorer, it would be opened in JMP. Recently, this functionality seems to have changed, and now the script is executed straight away. I've been trying to find a way to revert to the previous behaviour, but I don't seem to be able to find anything on this in the Preferences. This is on JMP®  12.1.0  (64-bit).

3 REPLIES
txnelson

Super User

Joined:

Jun 22, 2012

Go to

     Preferences==>Window Specific

and unselect

     JSL Scripts should be run only, not opened, when selected from Recent Files of a file browser

You can also stop this behavior by pressing down the CNTL key when selecting from your file browser

It may also be that someone has placed "//!" as the first line.  This will force the running of the script rather than opening it.  Pressing the CNTL key when opening this file will open it rather than running it

Jim
gandi2223

Community Trekker

Joined:

Oct 1, 2014

Hi Jim,

thanks for the prompt answer - that option would have been my first guess, but it is unchecked:

12989_pastedImage_3.png

I didn't place a "//!" at the start of the script either (good to know about this option, however!).

CTRL +  double-clicking in Windows Explorer works, so I will go with this approach. Still curious why the setting in the Preferences doesn't do what it's supposed to though...

Ryan

Community Member

Joined:

Nov 3, 2016

I have been using JMP7 for years and my scripts have always just open as well. Recently I also installed a newer version (JMP10) and suddenly all my scripts try to run when I double click them in Windows Explorer. The setting mentioned is unchecked in both versions, but I cannot get this to stop happening. Did you ever find a solution?